RPM Packaging: update and cleanup tdelibs

pull/3/head
François Andriot 10 years ago
parent 91c51c0c2b
commit 207150b44f

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,44 +0,0 @@
Index: b/admin/cvs.sh
===================================================================
--- a/admin/cvs.sh 2013-05-22 17:34:41.870203477 +0200
+++ b/admin/cvs.sh 2013-05-22 17:35:08.553206290 +0200
@@ -68,7 +68,7 @@
echo "*** KDE requires automake $required_automake_version"
exit 1
;;
- automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.10* | automake*1.11* | automake*1.12*)
+ automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.10* | automake*1.11* | automake*1.12* | automake*1.13* )
echo "*** $AUTOMAKE_STRING found."
UNSERMAKE=no
;;
@@ -128,7 +128,7 @@
echo "*** Creating configure"
call_and_fix_autoconf
-if egrep "^AM_CONFIG_HEADER" configure.in >/dev/null 2>&1; then
+if egrep "^A[MC]_CONFIG_HEADER" configure.in >/dev/null 2>&1; then
echo "*** Creating config.h template"
$AUTOHEADER || exit 1
touch config.h.in
@@ -184,7 +184,7 @@
fi
fi
$ACLOCAL $ACLOCALFLAGS
-if egrep "^AM_CONFIG_HEADER" configure.in >/dev/null 2>&1; then
+if egrep "^A[MC]_CONFIG_HEADER" configure.in >/dev/null 2>&1; then
echo "*** Creating config.h template"
$AUTOHEADER || exit 1
touch config.h.in
Index: b/admin/configure.in.min
===================================================================
--- a/admin/configure.in.min 2013-05-22 17:34:41.878202494 +0200
+++ b/admin/configure.in.min 2013-05-22 17:34:43.385704000 +0200
@@ -41,7 +41,7 @@
KDE_SET_PREFIX
dnl generate the config header
-AM_CONFIG_HEADER(config.h) dnl at the distribution this done
+AC_CONFIG_HEADER(config.h) dnl at the distribution this done
dnl Checks for programs.
AC_PROG_CC

@ -1,27 +0,0 @@
diff -Nuar tde-i18n/tde-i18n-fr/messages/tdebase/kcmscreensaver.po.ori tde-i18n/tde-i18n-fr/messages/tdebase/kcmscreensaver.po
--- tde-i18n/tde-i18n-fr/messages/tdebase/kcmscreensaver.po.ori 2014-06-07 15:53:13.977782717 +0200
+++ tde-i18n/tde-i18n-fr/messages/tdebase/kcmscreensaver.po 2014-06-07 16:44:38.180796311 +0200
@@ -362,3 +362,9 @@
msgid "Hide all active windows from the screen saver and use the desktop background as the screen saver input."
msgstr "Masquer toutes les fenêtres actives et afficher le fond d'écran lorsque l'économiseur d'écran est déclenché."
+
+msgid "&Vibrate unlock dialog box on failure"
+msgstr "&Vibrer en cas d'échec de déverrouillage"
+
+msgid "Makes the unlock dialog box vibrate when entering an incorrect password."
+msgstr "Faire vibrer la fenêtre de déverrouillage lorsqu'un mauvais mot de passe est saisi."
diff -Nuar tde-i18n/tde-i18n-fr/messages/tdebase/kdesktop.po.ori tde-i18n/tde-i18n-fr/messages/tdebase/kdesktop.po
--- tde-i18n/tde-i18n-fr/messages/tdebase/kdesktop.po.ori 2014-06-07 15:49:50.020212889 +0200
+++ tde-i18n/tde-i18n-fr/messages/tdebase/kdesktop.po 2014-06-07 16:44:58.546329306 +0200
@@ -250,6 +250,10 @@
msgid "Open Terminal Here..."
msgstr "Ouvrir un Terminal..."
+#: krootwm.cc:135 (Trinity Specific)
+msgid "Open Terminal..."
+msgstr "Ouvrir un Terminal..."
+
#: krootwm.cc:137
msgid "Configure Desktop..."
msgstr "Configurer le bureau..."

@ -1,341 +0,0 @@
diff --git a/tde-i18n-fr/messages/tdebase/kcmbackground.po b/tde-i18n-fr/messages/tdebase/kcmbackground.po
index 34c18a6..808f1d8 100644
--- a/tde-i18n-fr/messages/tdebase/kcmbackground.po
+++ b/tde-i18n-fr/messages/tdebase/kcmbackground.po
@@ -920,3 +920,9 @@ msgstr "&Descendre"
#, no-c-format
msgid "Move &Up"
msgstr "Mon&ter"
+
+msgid "Cross-fading background"
+msgstr "Affichage progressif du fond d'écran"
+
+msgid "Enables a smooth fading effect when changing background image."
+msgstr "Activer un effet de fondu lors du changement de fond d'écran."
diff --git a/tde-i18n-fr/messages/tdebase/kcmenergy.po b/tde-i18n-fr/messages/tdebase/kcmenergy.po
index f6e05b4..91d0ee8 100644
--- a/tde-i18n-fr/messages/tdebase/kcmenergy.po
+++ b/tde-i18n-fr/messages/tdebase/kcmenergy.po
@@ -102,3 +102,12 @@ msgstr ""
"Choisissez la période d'inactivité après laquelle l'affichage doit être éteint. "
"Ceci est le plus haut niveau d'économie d'énergie qui puisse être utilisé "
"lorsque l'écran est physiquement allumé."
+
+msgid "&Enable specific display power management"
+msgstr "&Activer la gestion spécifique de l'énergie"
+
+msgid "Configure KPowersave..."
+msgstr "Configurer KPowersave..."
+
+msgid "Configure TDEPowersave..."
+msgstr "Configurer TDEPowersave..."
diff --git a/tde-i18n-fr/messages/tdebase/kcmkonq.po b/tde-i18n-fr/messages/tdebase/kcmkonq.po
index e59de78..7015bde 100644
--- a/tde-i18n-fr/messages/tdebase/kcmkonq.po
+++ b/tde-i18n-fr/messages/tdebase/kcmkonq.po
@@ -877,3 +877,43 @@ msgstr ""
#: rootopts.cpp:276
msgid "Confirmation Required"
msgstr "Confirmation requise"
+
+# TDE
+msgid "Download path:"
+msgstr "Dossier des téléchargements :"
+
+msgid "This folder will be used by default to load or save downloads from or to."
+msgstr "Ce dossier sera utilisé par défaut pour télécharger des fichiers."
+
+msgid "Music path:"
+msgstr "Dossier des musiques :"
+
+msgid "This folder will be used by default to load or save music from or to."
+msgstr "Ce dossier sera utilisé par défaut pour lire ou enregistrer de la musique."
+
+msgid "Pictures path:"
+msgstr "Dossier des images :"
+
+msgid "This folder will be used by default to load or save pictures from or to."
+msgstr "Ce dossier sera utilisé par défaut pour lire en enregistrer des images."
+
+msgid "Public Share path:"
+msgstr "Dossier des partages publics :"
+
+msgid "This folder will be used by default to load or save public shared files from or to."
+msgstr "Ce dossier sera utilisé par défaut pour ouvrir ou enregistrer les fichiers partagés publiquement."
+
+msgid "Templates path:"
+msgstr "Dossier des modèles :"
+
+msgid "This folder will be used by default to load or save templates from or to."
+msgstr "Ce dossier sera utilisé par défaut pour ouvrir ou enregistrer des modèles."
+
+msgid "Videos path:"
+msgstr "Dossier des vidéos :"
+
+msgid "This folder will be used by default to load or save videos from or to."
+msgstr "Ce dossier sera utilisé par défaut pour lire en ouregistrer des vidéos."
+
+msgid "&Show free space overlay on device icons"
+msgstr "&Afficher l'espace libre sur les icônes"
diff --git a/tde-i18n-fr/messages/tdebase/kcmkonsole.po b/tde-i18n-fr/messages/tdebase/kcmkonsole.po
index 0da666d..0cf24ae 100644
--- a/tde-i18n-fr/messages/tdebase/kcmkonsole.po
+++ b/tde-i18n-fr/messages/tdebase/kcmkonsole.po
@@ -160,14 +160,14 @@ msgstr "&Permettre aux programmes de redimensionner le terminal"
#. i18n: file kcmkonsoledialog.ui line 174
#: rc.cpp:36
#, no-c-format
-msgid "Use Ctrl+S/Ctrl+Q flow control"
-msgstr "Utiliser les séquences de touches Ctrl+S/Ctrl+Q"
+msgid "&Use Ctrl+S/Ctrl+Q flow control"
+msgstr "&Utiliser les séquences de touches Ctrl+S/Ctrl+Q"
#. i18n: file kcmkonsoledialog.ui line 199
#: rc.cpp:39
#, no-c-format
-msgid "Enable bidirectional text rendering"
-msgstr "Activer le rendu bidirectionnel de texte"
+msgid "E&nable bidirectional text rendering"
+msgstr "Activer le re&ndu bidirectionnel de texte"
#. i18n: file kcmkonsoledialog.ui line 215
#: rc.cpp:42
@@ -184,8 +184,17 @@ msgstr "Espacement des &lignes :"
#. i18n: file kcmkonsoledialog.ui line 297
#: rc.cpp:48
#, no-c-format
-msgid "Set tab title to match window title"
-msgstr "Définir le titre de l'onglet correspondant au titre de la fenêtre"
+msgid "Set &tab title to match window title"
+msgstr "Définir le &titre de l'onglet correspondant au titre de la fenêtre"
+
+msgid "Cycle tabs &with mouse wheel"
+msgstr "Faire défiler les onglets en &utilisant la molette de la souris"
+
+msgid "Enable main &menu accelerator keys"
+msgstr "Activer les touches d'accélération dans le &menu principal"
+
+msgid "Handle Meta &key as Alt Key"
+msgstr "Considérer la t&ouche Meta comme la touche Alt"
#. i18n: file kcmkonsoledialog.ui line 309
#: rc.cpp:51
diff --git a/tde-i18n-fr/messages/tdebase/kicker.po b/tde-i18n-fr/messages/tdebase/kicker.po
index c8fe511..abfdbf1 100644
--- a/tde-i18n-fr/messages/tdebase/kicker.po
+++ b/tde-i18n-fr/messages/tdebase/kicker.po
@@ -889,6 +889,18 @@ msgstr "Dossier personnel"
msgid "My Documents"
msgstr "Mes Documents"
+msgid "My Images"
+msgstr "Mes Images"
+
+msgid "My Music"
+msgstr "Ma Musique"
+
+msgid "My Videos"
+msgstr "Mes Vidéos"
+
+msgid "My Downloads"
+msgstr "Mes Téléchargements"
+
msgid "Switch to Kickoff Menu Style"
msgstr "Utiliser le menu Kickoff"
diff --git a/tde-i18n-fr/messages/tdebase/konsole.po b/tde-i18n-fr/messages/tdebase/konsole.po
index fc40788..7074527 100644
--- a/tde-i18n-fr/messages/tdebase/konsole.po
+++ b/tde-i18n-fr/messages/tdebase/konsole.po
@@ -203,8 +203,8 @@ msgid "New Sess&ion"
msgstr "Nouvelle sess&ion"
#: konsole.cpp:739 konsole_part.cpp:476
-msgid "S&ettings"
-msgstr "Config&uration"
+msgid "Se&ttings"
+msgstr "Configura&tion"
#: konsole.cpp:794 konsole.cpp:1076
msgid "&Detach Session"
diff --git a/tde-i18n-fr/messages/tdebase/libtaskbar.po b/tde-i18n-fr/messages/tdebase/libtaskbar.po
index dc2c448..033023c 100644
--- a/tde-i18n-fr/messages/tdebase/libtaskbar.po
+++ b/tde-i18n-fr/messages/tdebase/libtaskbar.po
@@ -445,3 +445,22 @@ msgstr "Demande votre attention"
#: taskcontainer.cpp:1598
msgid "Has unsaved changes"
msgstr "Possède des modifications non enregistrées"
+
+# TDE R14
+# taskbarcontainer.cpp
+msgid "Move to Beginning"
+msgstr "Déplacer en premier"
+
+msgid "Move Left"
+msgstr "Déplacer à gauche"
+
+msgid "Move Right"
+msgstr "Déplacer à droite"
+
+msgid "Move to End"
+msgstr "Déplacer en dernier"
+
+# taskrmbmenu.cpp:
+msgid "Move Task Button"
+msgstr "Déplacer l'icone"
+
diff --git a/tde-i18n-fr/messages/tdebase/tderandr.po b/tde-i18n-fr/messages/tdebase/tderandr.po
index 5be8618..d3c3cb1 100644
--- a/tde-i18n-fr/messages/tdebase/tderandr.po
+++ b/tde-i18n-fr/messages/tdebase/tderandr.po
@@ -305,9 +305,12 @@ msgstr "%1 Hz"
### TDE 3.5.13 ###
#: tderandrtray.cpp:237
-msgid "Global Configuation"
+msgid "Global Configuration"
msgstr "Configuration Globale"
+msgid "Color Profile"
+msgstr "Profil de couleurs"
+
#: tderandrtray.cpp:239
msgid "Configure Color Profiles..."
msgstr "Configurer les profils de couleurs ..."
@@ -354,4 +357,8 @@ msgstr "Sortie Vidéo suivante"
msgid "%1 (Active)"
msgstr "%1 (Active)"
+msgid "%1 (Connected, Inactive)"
+msgstr "%1 (Connectée, Inactive)"
+msgid "%1 (Disconnected, Inactive)"
+msgstr "%1 (Déconnectée, Inactive)"
diff --git a/tde-i18n-fr/messages/tdelibs/tdelibs.po b/tde-i18n-fr/messages/tdelibs/tdelibs.po
index 507dd8f..ccdafe8 100644
--- a/tde-i18n-fr/messages/tdelibs/tdelibs.po
+++ b/tde-i18n-fr/messages/tdelibs/tdelibs.po
@@ -5557,24 +5557,34 @@ msgstr "Liste déroulante et automatique"
#: tdeui/tdeabouttde.cpp:34
msgid ""
-"The <b>Trinity Desktop Environment</b> is a fork of the "
+"The <b>Trinity Desktop Environment</b> was born as a fork of the "
"K Desktop Environment version 3.5, which was originally written by the KDE Team, "
"a world-wide network of software engineers committed to <a "
"href=\"http://www.gnu.org/philosophy/free-sw.html\">Free Software</a> "
-"development.<br><br>No single group, company or organization controls the "
+"development. The name <i>Trinity</i> was chosen because the word means "
+"<i>Three</i> as in <i>continuation of KDE 3</i>.<br>Since then, TDE has evolved to be "
+"an indipendent and standalone computer desktop environment project. The developers "
+"have molded the code to its own identity without giving up on the efficiency, "
+"productivity and traditional user interface experience characteristic of the "
+"original KDE 3 series.<br><br>No single group, company or organization controls the "
"Trinity source code. Everyone is welcome to contribute to Trinity.<br><br>Visit <A "
-"HREF=\"http://www.trinitydesktop.org/\">http://www.trinitydesktop.org</A> for more information "
-"about Trinity, and <A HREF=\"http://www.kde.org/\">http://www.kde.org</A> "
+"HREF=\"http://www.trinitydesktop.org\">http://www.trinitydesktop.org</A> for more information "
+"about Trinity, and <A HREF=\"http://www.kde.org\">http://www.kde.org</A> "
"for more information on the KDE project. "
msgstr ""
-"L'<b>Environnement Bureautique Trinity</b> est un clone de l'environnement "
-"TDE version 3.5, originellement écrit par l'équipe KDE, des informaticiens "
-"du monde entier travaillant sur Internet au développement de <a "
-"href=\"http://www.gnu.org/philosophy/free-sw.fr.html\">logiciels libres</a>."
-"<br><br>Aucune société ni organisation ne contrôle le code source de Trinity, et chacun "
-"est invité à y contribuer.<br><br>Visitez <A HREF=\"http://www.trinitydesktop.org/\">"
-"http://www.trinitydesktop.org</A> pour plus d'informations sur Trinity, et <a "
-"href=\"http://www.kde.org/fr\">http://www.kde.org/fr</A> "
+"L'<b>Environnement Bureautique Trinity</b> est né par un fork de "
+"l'environnement KDE version 3.5, qui fut initialement créé par l'équipe KDE, "
+"des informaticiens du monde entier travaillant sur Internet au "
+"développement de <a href=\"http://www.gnu.org/philosophy/free-sw.fr.html\">"
+"logiciels libres</a>. Le nom <i>Trinity</i> a été choisi car ce mot signifie "
+"<i>trois</i>, indiquant la <i>continuité de KDE 3</i>.<br>Depuis, Trinity a évolué "
+"pour devenir un environnement de bureau indépendant. Les développeurs ont "
+"façonné le code pour lui donner une identité sans sacrifier les performances, "
+"la productivité, et l'expérience de l'interface utilisateur classique de "
+"KDE 3.<br>Aucune société ni organisation ne contrôle le code source de Trinity, "
+"et chacun est invité à y contribuer.<br><br>Visitez <a "
+"HREF=\"http://www.trinitydesktop.org\">http://www.trinitydesktop.org</A> pour plus d'informations "
+"sur Trinity, et <A HREF=\"http://www.kde.org/fr\">http://www.kde.org/fr</A> "
"pour plus d'informations sur le projet KDE."
#: tdeui/tdeabouttde.cpp:43
@@ -5583,7 +5593,7 @@ msgid ""
"do so. However, you - the user - must tell us when "
"something does not work as expected or could be done better.<br><br>"
"The Trinity Desktop Environment has a bug tracking system. Visit "
-"<A HREF=\"http://bugs.pearsoncomputing.net/\">http://bugs.pearsoncomputing.net</A> or "
+"<A HREF=\"http://bugs.pearsoncomputing.net\">http://bugs.pearsoncomputing.net</A> or "
"use the \"Report Bug...\" dialog from the \"Help\" menu to report bugs.<br><br>"
"If you have a suggestion for improvement then you are welcome to use "
"the bug tracking system to register your wish. Make sure you use the "
@@ -5593,9 +5603,9 @@ msgstr ""
"faire. Cependant, vous - l'utilisateur(trice) - devez nous signaler ce qui ne "
"fonctionne pas correctement ou pourrait être perfectionné.<br><br>"
"L'Environnement de Bureau Trinity possède un système de suivi des bogues. Allez "
-"sur <A HREF=\"http://bugs.pearsoncomputing.net/\">http://bugs.pearsoncomputing.net</A> "
-"ou utilisez la boîte de dialogue « Rapport de bogue » du menu « Aide » pour signaler les "
-"erreurs.<br><br>Si vous voulez suggérer une amélioration, vous êtes invité(e) à utiliser le "
+"sur <A HREF=\"http://bugs.pearsoncomputing.net/\">http://bugs.pearsoncomputing.net/</A> "
+"ou utilisez la boîte de dialogue « Rapport de bogue » du menu « Aide » pour signaler les erreurs.<br><br>"
+"Si vous voulez suggérer une amélioration, vous êtes invité(e) à utiliser le "
"système de suivi des bogues pour enregistrer votre souhait. Assurez-vous "
"d'avoir utilisé l'option « Souhait » (wish)."
@@ -5606,12 +5616,13 @@ msgid ""
"program interfaces. You can provide graphics, themes, sounds, and "
"improved documentation. You decide!"
"<br><br>"
-"Visit "
-"<A HREF=\"http://www.trinitydesktop.org/jobs/\">http://www.trinitydesktop.org/jobs/</A> "
-"for information on some projects in which you can participate."
+"Visit the "
+"<A HREF=\"http://www.trinitydesktop.org/jobs\">TDE Development</A> "
+"webpage to find out how you can contribute or mail us using one of the "
+"available <A HREF=\"http://www.trinitydesktop.org/mailinglist.php\">mailing lists</A>."
"<br><br>"
"If you need more information or documentation, then a visit to "
-"<A HREF=\"http://www.trinitydesktop.org/docs/\">http://www.trinitydesktop.org/docs/</A> "
+"<A HREF=\"http://www.trinitydesktop.org/docs\">http://www.trinitydesktop.org/docs</A> "
"will provide you with what you need."
msgstr ""
"Il n'est pas nécessaire d'être programmeur pour être membre de l'équipe de Trinity. "
@@ -5629,23 +5640,21 @@ msgstr ""
#: tdeui/tdeabouttde.cpp:67
msgid ""
-"Trinity is available free of charge, but making it is not free.<br><br>"
-"<br><br>"
-"The Trinity team does need financial support. Most of the money is used to "
-"reimburse members and others on expenses they experienced when "
-"contributing to Trinity. You are encouraged to support Trinity through a financial "
-"donation, using one of the ways described at "
+"TDE is available free of charge, but making it is not free.<br><br>"
+"The Trinity team <i>does need</i> financial support. The money is used to "
+"support the expenses incurred to keep the TDE servers running, so that you - "
+"the user - can access them at any time. You are encouraged to support Trinity "
+"through a financial or hardware donation, using one of the ways described at "
"<a href=\"http://www.trinitydesktop.org/donate.php\">http://www.trinitydesktop.org/donate.php</a>."
"<br><br>Thank you very much in advance for your support!"
msgstr ""
-"Trinity est disponible gratuitement, mais sa réalisation a un coût."
-"<br><br>"
-"<br>L'équipe de Trinity a besoin d'un appui financier. La majeure partie de ses "
-"fonds sert à rembourser les membres et d'autres intervenants des dépenses "
-"qu'ils ont engagées lors de leur contribution à Trinity. Pour apporter votre "
-"participation financière à Trinity, utilisez l'une des possibilités décrites à "
-"l'adresse <a href=\"http://www.trinitydesktop.org/donate.php\">http://www.trinitydesktop.org/donate.php</a>."
-"<br><br>Nous vous remercions vivement de votre soutien."
+"TDE est disponible gratuitement, mais sa réalisation a un coût.<br><br>"
+"L'équipe Trinity a <i>besoin</i> d'un appui financier. Cet argent permet "
+"de supporter les dépenses liées au fonctionnement des serveurs TDE, pour "
+"que vous puissiez y accéder à tout moment. Vous pouvez soutenir Trinity "
+"en faisant un don d'argent ou de matériel, d'une manière décrite à l'adresse "
+"<a href=\"http://www.trinitydesktop.org/donate.php\">http://www.trinitydesktop.org/donate.php</a>."
+"<br><br>Nous vous remercions vivement de votre soutien!"
#: tdeui/tdeabouttde.cpp:81
#, c-format

File diff suppressed because it is too large Load Diff

@ -1,21 +0,0 @@
--- branches/trinity/kdelibs/kdecore/fixx11h.h 2011/01/03 05:50:03 1211108
+++ branches/trinity/kdelibs/kdecore/fixx11h.h 2011/01/12 22:19:14 1214091
@@ -57,15 +57,18 @@
// template --->
// Affects: Should be without side effects.
+#ifndef _XTYPEDEF_BOOL
#ifdef Bool
#ifndef FIXX11H_Bool
#define FIXX11H_Bool
typedef Bool XBool;
#undef Bool
+#define _XTYPEDEF_BOOL
typedef XBool Bool;
#endif
#undef Bool
#endif
+#endif // _XTYPEDEF_BOOL
// template <---
// Affects: Should be without side effects.

@ -1,29 +0,0 @@
--- kdelibs/kdecore/kstandarddirs.cpp.ORI 2011-12-09 23:13:50.089238165 +0100
+++ kdelibs/kdecore/kstandarddirs.cpp 2011-12-09 23:16:23.133210143 +0100
@@ -839,7 +839,7 @@
}
// UGLY HACK - Chris CHeney
if (local && (!strcmp("config", type)))
- candidates->append("/etc/kde3/");
+ candidates->append("/etc/trinity/");
//
local = false;
}
@@ -1030,7 +1030,7 @@
if (!strcmp(type, "html-bundle"))
return "share/doc-bundle/HTML/";
if (!strcmp(type, "html"))
- return "share/doc/kde/HTML/";
+ return "share/doc/HTML/";
if (!strcmp(type, "icon"))
return "share/icons/";
if (!strcmp(type, "config"))
@@ -1336,7 +1336,7 @@
}
else
{
- localKdeDir = TQDir::homeDirPath() + "/.kde3/";
+ localKdeDir = TQDir::homeDirPath() + "/.trinity/";
}
if (localKdeDir != QString("-/"))

@ -1,369 +0,0 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.5.12
%endif
%define release 10
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.12 specific variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}
%define tde_libdir %{_libdir}/kde3
# Older RHEL/Fedora versions use packages named "qt", "qt-devel", ..
# whereas newer versions use "qt3", "qt3-devel" ...
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8
%define _qt_suffix 3
%endif
Name: trinity-kdelibs
Version: %{version}
Release: %{?release}%{?dist}%{?_variant}
License: GPL
Summary: TDE Libraries
Group: System Environment/Libraries
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdelibs-%{version}.tar.gz
# TDE 3.5.12 patches for RHEL/Fedora build
## [kdelibs/kio/kio] Removes the maximum line length detection
Patch0: kdelibs-3.5.13-maxlinelength.patch
## [kdecore] sets TDE 3.5.12 defaults directories
Patch1: kdelibs-3.5.12-kstandarddirs_trinity.patch
## [kdelibs/kdecore] fixed a conflict between fixx11h.h and Xdefs.h
Patch2: kdelibs-3.5.12-fixx11h.patch
BuildRequires: libtool
BuildRequires: tqtinterface-devel
BuildRequires: trinity-arts-devel
BuildRequires: avahi-devel
BuildRequires: lua-devel
BuildRequires: krb5-devel libxslt-devel cups-devel libart_lgpl-devel pcre-devel
BuildRequires: libutempter-devel
BuildRequires: bzip2-devel
BuildRequires: openssl-devel
BuildRequires: gcc-c++
BuildRequires: alsa-lib-devel
BuildRequires: libidn-devel
BuildRequires: qt%{?_qt_suffix}-devel
BuildRequires: avahi-qt3-devel
BuildRequires: jasper-devel
BuildRequires: libtiff-devel
BuildRequires: OpenEXR-devel
BuildRequires: libtool-ltdl-devel
BuildRequires: glib2-devel
Requires: tqtinterface
Requires: trinity-arts
Requires: avahi
Requires: qt%{?_qt_suffix}
Requires: avahi-qt3
#Provides: kdelibs%{?_qt_suffix} = %{version}
%if "%{?_prefix}" == "/usr"
Obsoletes: kdelibs%{?_qt_suffix} <= 3.5.10
%endif
%description
Libraries for the Trinity Desktop Environment:
KDE Libraries included: kdecore (KDE core library), kdeui (user interface),
kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking),
kspell (spelling checker), jscript (javascript), kab (addressbook),
kimgio (image manipulation).
%package devel
Summary: %{name} - Development files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Provides: kdelibs%{?_qt_suffix}-devel = %{version}
%if "%{?_prefix}" == "/usr"
Obsoletes: kdelibs%{?_qt_suffix}-devel <= 3.5.10
%endif
%description devel
This package includes the header files you will need to compile
applications for TDE.
%package apidocs
Group: Development/Libraries
Summary: %{name} - API documentation
Requires: %{name} = %{version}-%{release}
Provides: kdelibs%{?_qt_suffix}-apidocs = %{version}
%if "%{?_prefix}" == "/usr"
Obsoletes: kdelibs%{?_qt_suffix}-apidocs <= 3.5.10
%endif
%description apidocs
This package includes the TDE API documentation in HTML
format for easy browsing
%prep
%setup -q -n kdelibs
%patch0 -p1
%patch1 -p1
%patch2 -p3
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
%build
unset QTDIR || : ; . /etc/profile.d/qt.sh
export PATH="%{_bindir}:${PATH}"
export LD_LIBRARY_PATH="%{_libdir}"
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
# On older RHEL, libXrandr is too old so krandr cannot be compiled.
# Kspell2 does not compile either.
%if 0%{?rhel} && 0%{?rhel} <= 5
export DO_NOT_COMPILE="krandr"
%endif
%configure \
--disable-rpath \
--enable-new-ldflags \
--disable-dependency-tracking \
--disable-debug --disable-warnings --enable-final \
--disable-fast-malloc \
--enable-cups \
--enable-mitshm \
--enable-pie \
--enable-sendfile \
--with-distribution="$(cat /etc/redhat-release 2>/dev/null)" \
--with-alsa \
--without-aspell \
--without-hspell \
--disable-libfam \
--enable-dnotify \
--enable-inotify \
--with-utempter \
--with-jasper \
--with-openexr \
--with-xinerama \
--enable-closure \
--with-extra-includes=%{_includedir}/tqt
# Do NOT use %{?_smp_mflags} for this package, or it will fail to build !
%__make
%install
%__rm -rf %{?buildroot}
%__make install DESTDIR=%{?buildroot}
%if "%{?_prefix}" != "/usr"
%__mkdir_p "%{?buildroot}%{_sysconfdir}/ld.so.conf.d"
cat <<EOF >"%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf"
%{_libdir}
EOF
%endif
# Moves the XDG configuration files to TDE directory
%if "%{_prefix}" != "/usr"
%__install -p -D -m644 \
"%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \
"%{?buildroot}%{_prefix}/etc/xdg/menus/kde-applications.menu"
%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg"
%else
%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu"
%endif
%clean
%__rm -rf %{?buildroot}
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING* README TODO
%{_bindir}/artsmessage
%{_bindir}/cupsdconf
%{_bindir}/cupsdoprint
%{_bindir}/dcop
%{_bindir}/dcopclient
%{_bindir}/dcopfind
%{_bindir}/dcopobject
%{_bindir}/dcopquit
%{_bindir}/dcopref
%{_bindir}/dcopserver
%{_bindir}/dcopserver_shutdown
%{_bindir}/dcopstart
%{_bindir}/filesharelist
%{_bindir}/fileshareset
%{_bindir}/imagetops
%{_bindir}/kab2kabc
%{_bindir}/kaddprinterwizard
%{_bindir}/kbuildsycoca
%{_bindir}/kcmshell
%{_bindir}/kconf_update
%{_bindir}/kcookiejar
%{_bindir}/kde-config
%{_bindir}/kde-menu
%{_bindir}/kded
%{_bindir}/kdeinit
%{_bindir}/kdeinit_shutdown
%{_bindir}/kdeinit_wrapper
%{_bindir}/kdesu_stub
%{_bindir}/kdontchangethehostname
%{_bindir}/kdostartupconfig
%{_bindir}/kfile
%{_bindir}/kfmexec
%{_bindir}/khotnewstuff
%{_bindir}/kinstalltheme
%{_bindir}/kio_http_cache_cleaner
%{_bindir}/kio_uiserver
%{_bindir}/kioexec
%{_bindir}/kioslave
%{_bindir}/klauncher
%{_bindir}/kmailservice
%{_bindir}/kmimelist
%attr(4755,root,root) %{_bindir}/kpac_dhcp_helper
%{_bindir}/ksendbugmail
%{_bindir}/kshell
%{_bindir}/kstartupconfig
%{_bindir}/ktelnetservice
%{_bindir}/ktradertest
%{_bindir}/kwrapper
%{_bindir}/lnusertemp
%{_bindir}/make_driver_db_cups
%{_bindir}/make_driver_db_lpr
%{_bindir}/meinproc
%{_bindir}/networkstatustestservice
%{_bindir}/start_kdeinit
%{_bindir}/start_kdeinit_wrapper
%attr(4755,root,root) %{_bindir}/kgrantpty
%{_libdir}/lib*.so.*
%{_libdir}/libkdeinit_*.so
%{_libdir}/lib*.la
%{tde_libdir}/
%{_datadir}/applications/kde/*.desktop
%{_datadir}/autostart/kab2kabc.desktop
%{_datadir}/applnk/kio_iso.desktop
%{_datadir}/apps/*
%exclude %{_datadir}/apps/ksgmltools2/
%config(noreplace) %{_datadir}/config/*
%{_datadir}/emoticons/*
%{_datadir}/icons/default.kde
%{_datadir}/mimelnk/magic
%{_datadir}/mimelnk/*/*.desktop
%{_datadir}/services/*
%{_datadir}/servicetypes/*
%{_datadir}/icons/crystalsvg/
%{tde_docdir}/HTML/en/kspell
# remove conflicts with kdelibs-4
%if "%{?_prefix}" != "/usr"
%{_bindir}/checkXML
%{_bindir}/ksvgtopng
%{_bindir}/kunittestmodrunner
%{_bindir}/preparetips
%{_datadir}/icons/hicolor/index.theme
%{_datadir}/locale/all_languages
%{tde_docdir}/HTML/en/common/*
%else
%exclude %{_bindir}/checkXML
%exclude %{_bindir}/ksvgtopng
%exclude %{_bindir}/kunittestmodrunner
%exclude %{_bindir}/preparetips
%exclude %{_datadir}/config/colors
%exclude %{_datadir}/config/kdebug.areas
%exclude %{_datadir}/config/kdebugrc
%exclude %{_datadir}/config/ksslcalist
%exclude %{_datadir}/config/ui/ui_standards.rc
%exclude %{_datadir}/icons/hicolor/index.theme
%exclude %{_datadir}/locale/all_languages
%exclude %{tde_docdir}/HTML/en/common/*
%endif
# ld.so.conf needed only if installed under '/opt/trinity'
%if "%{?_prefix}" != "/usr"
%{_sysconfdir}/ld.so.conf.d/trinity.conf
%endif
# Avoid conflict with 'redhat-menus' package
%if "%{_prefix}" == "/usr"
%{_sysconfdir}/xdg/menus/kde-applications.menu
%else
%{_prefix}/etc/xdg/menus/kde-applications.menu
%endif
%files devel
%defattr(-,root,root,-)
%{_bindir}/dcopidl*
%{_bindir}/kconfig_compiler
%{_bindir}/makekdewidgets
%{_datadir}/apps/ksgmltools2/
%{_includedir}/
%{_libdir}/lib*.so
%{_libdir}/lib*.a
%exclude %{_libdir}/libkdeinit_*.so
%files apidocs
%defattr(-,root,root,-)
%{_docdir}/%{name}-%{version}/
%{tde_docdir}/HTML/en/kdelibs*
%changelog
* Fri Dec 09 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-10
- Fix conflict with distro-provided KDE
- Fix HTML directory location
- Change defaults TDE directory to '/etc/trinity' and '~/.trinity'
- Removes 'ld.so.conf.d' when installed under '/usr'
* Sun Nov 29 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-9
- Moves XDG files in TDE prefix to avoid conflict with distro-provided KDE
- Disable 'max line length' detection
- Add missing BuildRequires
* Fri Sep 16 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-8
- Add support for RHEL 5.
* Thu Sep 15 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-7
- Add missings 'BuildRequires'
- Re-add lost 'ld.so.conf' file
* Mon Sep 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-6
- Add "Group" field
* Sun Sep 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-5
- Import to GIT
- Removes cmake stuff, build with autotools only
* Tue Aug 23 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-4
- Add missing BuildRequires
* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-3
- Correct macro to install under "/opt", if desired
* Sun Dec 19 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
- Rebuilt
* Fri Dec 17 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/trinity)
- Add '--with-extra-includes=%{_includedir}/tqt'
* Wed Dec 14 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-0
- Initial version

@ -1,139 +0,0 @@
commit 3c75231601fb35f0c91022abeee5117c81f70a62
Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: 1339293731 -0500
Add dynamic label support to kpassworddialog
diff --git a/kdeui/kpassdlg.cpp b/kdeui/kpassdlg.cpp
index a9625b8..489e14d 100644
--- ./kdeui/kpassdlg.cpp.orig 2011-08-11 04:30:26.000000000 +0200
+++ ./kdeui/kpassdlg.cpp 2012-06-19 20:10:16.766136524 +0200
@@ -32,6 +32,7 @@
#include <tqhbox.h>
#include <tqwhatsthis.h>
#include <tqptrdict.h>
+#include <tqtimer.h>
#include <kglobal.h>
#include <kdebug.h>
@@ -305,7 +306,7 @@
KPasswordDialog::KPasswordDialog(Types type, bool enableKeep, int extraBttn,
TQWidget *parent, const char *name)
: KDialogBase(parent, name, true, "", Ok|Cancel|extraBttn,
- Ok, true), m_Keep(enableKeep? 1 : 0), m_Type(type), d(new KPasswordDialogPrivate)
+ Ok, true), m_Keep(enableKeep? 1 : 0), m_keepWarnLbl(0), m_Type(type), d(new KPasswordDialogPrivate)
{
d->iconName = "password";
init();
@@ -314,7 +315,7 @@
KPasswordDialog::KPasswordDialog(Types type, bool enableKeep, int extraBttn, const TQString& icon,
TQWidget *parent, const char *name )
: KDialogBase(parent, name, true, "", Ok|Cancel|extraBttn,
- Ok, true), m_Keep(enableKeep? 1 : 0), m_Type(type), d(new KPasswordDialogPrivate)
+ Ok, true), m_Keep(enableKeep? 1 : 0), m_keepWarnLbl(0), m_Type(type), d(new KPasswordDialogPrivate)
{
if ( icon.stripWhiteSpace().isEmpty() )
d->iconName = "password";
@@ -326,7 +327,7 @@
KPasswordDialog::KPasswordDialog(int type, TQString prompt, bool enableKeep,
int extraBttn)
: KDialogBase(0L, "Password Dialog", true, "", Ok|Cancel|extraBttn,
- Ok, true), m_Keep(enableKeep? 1 : 0), m_Type(type), d(new KPasswordDialogPrivate)
+ Ok, true), m_Keep(enableKeep? 1 : 0), m_keepWarnLbl(0), m_Type(type), d(new KPasswordDialogPrivate)
{
d->iconName = "password";
init();
@@ -393,12 +394,20 @@
m_pGrid->setRowStretch(8, 12);
TQCheckBox* const cb = new TQCheckBox(i18n("&Keep password"), m_pMain);
cb->setFixedSize(cb->tqsizeHint());
- if (m_Keep > 1)
+ m_keepWarnLbl = new TQLabel(m_pMain);
+ m_keepWarnLbl->setAlignment(AlignLeft|AlignVCenter|WordBreak);
+ if (m_Keep > 1) {
cb->setChecked(true);
- else
+ m_keepWarnLbl->show();
+ }
+ else {
m_Keep = 0;
+ m_keepWarnLbl->hide();
+ }
connect(cb, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotKeep(bool)));
m_pGrid->addWidget(cb, 9, 2, (TQ_Alignment)(AlignLeft|AlignVCenter));
+// m_pGrid->addWidget(m_keepWarnLbl, 13, 2, (TQ_Alignment)(AlignLeft|AlignVCenter));
+ m_pGrid->addMultiCellWidget(m_keepWarnLbl, 13, 13, 0, 3);
} else if (m_Type == NewPassword) {
m_pGrid->addRowSpacing(8, 10);
lbl = new TQLabel(m_pMain);
@@ -475,6 +484,13 @@
m_pHelpLbl->setFixedSize(275, m_pHelpLbl->heightForWidth(275));
}
+void KPasswordDialog::setKeepWarning(TQString warn)
+{
+ if (m_keepWarnLbl) {
+ m_keepWarnLbl->setText(warn);
+ }
+}
+
TQString KPasswordDialog::prompt() const
@@ -550,9 +566,24 @@
void KPasswordDialog::slotKeep(bool keep)
{
+ if (m_keepWarnLbl->text() != "") {
+ if (keep) {
+ m_keepWarnLbl->show();
+ }
+ else {
+ m_keepWarnLbl->hide();
+ }
+ TQTimer::singleShot(0, this, SLOT(slotLayout()));
+ }
+
m_Keep = keep;
}
+void KPasswordDialog::slotLayout()
+{
+ resize(sizeHint());
+}
+
// static . antlarr: KDE 4: Make it const TQString & prompt
int KPasswordDialog::getPassword(TQCString &password, TQString prompt,
diff --git a/kdeui/kpassdlg.h b/kdeui/kpassdlg.h
index de83bb3..2d124b0 100644
--- a/kdeui/kpassdlg.h
+++ b/kdeui/kpassdlg.h
@@ -246,6 +246,11 @@ public:
TQString prompt() const;
/**
+ * Sets the text to be dynamically displayed when the keep checkbox is checked
+ */
+ void setKeepWarning(TQString warn);
+
+ /**
* Adds a line of information to the dialog.
*/
void addLine(TQString key, TQString value);
@@ -380,6 +385,7 @@ protected slots:
void slotOk();
void slotCancel();
void slotKeep(bool);
+ void slotLayout();
protected:
@@ -399,6 +405,7 @@ private:
int m_Keep, m_Type, m_Row;
TQLabel *m_pHelpLbl;
+ TQLabel *m_keepWarnLbl;
TQGridLayout *m_pGrid;
TQWidget *m_pMain;
KPasswordEdit *m_pEdit, *m_pEdit2;

@ -1,67 +0,0 @@
commit 24f144faf98249012e7b1657a5dfe93750f0dfde
Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: 1326095653 -0600
Add inotify CMake support to tdelibs
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e26c252..ede0a3a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -76,6 +76,7 @@
OPTION( WITH_UTEMPTER "Use utempter for utmp management" OFF )
OPTION( WITH_AVAHI "Enable AVAHI support" OFF )
OPTION( WITH_PCRE "Enable pcre regex support for kjs" ON )
+OPTION( WITH_INOTIFY "Enable inotify support for kio" ON )
OPTION( WITH_ASPELL "Enable aspell support" OFF )
OPTION( WITH_HSPELL "Enable hspell support" OFF )
@@ -726,6 +727,26 @@ if( WITH_GCC_VISIBILITY )
set( HAVE_PCREPOSIX 1 )
endif( )
+##### check for inotify ###########################
+
+if( WITH_INOTIFY )
+ check_include_file( "inotify.h" INOTIFY_FOUND )
+ check_include_file( "sys/inotify.h" INOTIFY_SYS_FOUND )
+ if( NOT INOTIFY_FOUND )
+ if( NOT INOTIFY_SYS_FOUND )
+ message(FATAL_ERROR "\ninotify support was requested, but inotify was not found on your system" )
+ endif( NOT INOTIFY_SYS_FOUND )
+ endif( NOT INOTIFY_FOUND )
+ if( INOTIFY_FOUND )
+ set( HAVE_INOTIFY 1 )
+ endif( INOTIFY_FOUND )
+ if( INOTIFY_SYS_FOUND )
+ set( HAVE_INOTIFY 1 )
+ set( HAVE_SYS_INOTIFY 1 )
+ endif( INOTIFY_SYS_FOUND )
+endif( )
+
+
##### check for aspell ##########################
# we need ASPELL_DATADIR too
diff --git a/config.h.cmake b/config.h.cmake
index 1893270..d9b0ef5 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -234,7 +234,7 @@
#cmakedefine HAVE_INITGROUPS_PROTO 1
/* Define if your system has Linux Inode Notification */
-#undef HAVE_INOTIFY
+#cmakedefine HAVE_INOTIFY 1
/* Define to 1 if you have the <inttypes.h> header file. */
#cmakedefine HAVE_INTTYPES_H 1
@@ -555,7 +555,7 @@
#cmakedefine HAVE_SYS_FILIO_H 1
/* Define if your system has glibc support for inotify */
-#undef HAVE_SYS_INOTIFY
+#cmakedefine HAVE_SYS_INOTIFY 1
/* Define to 1 if you have the <sys/mman.h> header file. */
#cmakedefine HAVE_SYS_MMAN_H 1

@ -1,79 +0,0 @@
commit 2b035349c31fe64c31d2c050892b117a3a807179
Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: 1326668093 -0600
Add fam/gamin support to tdelibs CMake
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5ce186b..a1a6429 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -77,6 +77,7 @@ OPTION( WITH_ELFICON "Enable ELF embedded icon support" ${WITH_ALL_OPTIONS} )
OPTION( WITH_AVAHI "Enable AVAHI support" OFF )
OPTION( WITH_PCRE "Enable pcre regex support for kjs" ON )
OPTION( WITH_INOTIFY "Enable inotify support for kio" ON )
+OPTION( WITH_GAMIN "Enable FAM/GAMIN support" OFF )
OPTION( WITH_ASPELL "Enable aspell support" OFF )
OPTION( WITH_HSPELL "Enable hspell support" OFF )
@@ -786,6 +787,23 @@ if( WITH_INOTIFY )
endif( )
+##### check for FAM/GAMIN ##########################
+
+if( WITH_GAMIN )
+ check_include_file( "fam.h" HAVE_FAM_H )
+ if( HAVE_FAM_H )
+ pkg_search_module( GAMIN gamin )
+ if( GAMIN_FOUND )
+ set( HAVE_FAM 1 )
+ else( GAMIN_FOUND )
+ message(FATAL_ERROR "\nfam/gamin support was requested, but gamin was not found on your system" )
+ endif( GAMIN_FOUND )
+ else( HAVE_FAM_H )
+ message(FATAL_ERROR "\nfam/gamin support was requested, but fam was not found on your system" )
+ endif( HAVE_FAM_H )
+endif( WITH_GAMIN )
+
+
##### check for aspell ##########################
# we need ASPELL_DATADIR too
diff --git a/config.h.cmake b/config.h.cmake
index d9b0ef5..4e4bd18 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -120,7 +120,7 @@
#undef HAVE_FADVISE
/* Define if your system has libfam */
-#undef HAVE_FAM
+#cmakedefine HAVE_FAM 1
/* Define to 1 if you have the <float.h> header file. */
#cmakedefine HAVE_FLOAT_H 1
diff --git a/kio/kio/CMakeLists.txt b/kio/kio/CMakeLists.txt
index 9d8790f..25d4fad 100644
--- a/kio/kio/CMakeLists.txt
+++ b/kio/kio/CMakeLists.txt
@@ -25,8 +25,12 @@ include_directories(
${CMAKE_SOURCE_DIR}/kio
${CMAKE_SOURCE_DIR}/kio/kssl
${CMAKE_SOURCE_DIR}/interfaces
+ ${GAMIN_INCLUDEDIR}
)
+link_directories(
+ ${GAMIN_LIBDIR}
+)
##### headers ###################################
@@ -112,4 +116,5 @@
tde_add_library( ${target} STATIC_PIC AUTOMOC
SOURCES ${${target}_SRCS}
+ LINK ${GAMIN_LIBRARIES}
)

@ -1,67 +0,0 @@
Index: kjs/CMakeLists.txt
===================================================================
--- kjs/CMakeLists.txt (revision 1261450)
+++ kjs/CMakeLists.txt (working copy)
@@ -15,10 +15,12 @@
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/kdecore
+ ${LIBPCRE_INCLUDEDIR}
)
link_directories(
${TQT_LIBRARY_DIRS}
+ ${LIBPCRE_LIBDIR}
)
@@ -59,6 +61,6 @@
tde_add_library( ${target} SHARED
SOURCES ${${target}_SRCS}
VERSION 1.2.0
- LINK kdecore-shared
+ LINK kdecore-shared ${LIBPCRE_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt (revision 1261450)
+++ CMakeLists.txt (working copy)
@@ -75,6 +75,7 @@
OPTION( WITH_OPENEXR "Enable openexr support" OFF )
OPTION( WITH_UTEMPTER "Use utempter for utmp management" OFF )
OPTION( WITH_AVAHI "Enable AVAHI support" OFF )
+OPTION( WITH_PCRE "Enable pcre regex support for kjs" ON )
OPTION( WITH_ASPELL "Enable aspell support" OFF )
OPTION( WITH_HSPELL "Enable hspell support" OFF )
@@ -715,6 +716,16 @@
endif( WITH_QT3 )
endif( )
+##### check for pcre ###########################
+
+if( WITH_PCRE )
+ pkg_search_module( LIBPCRE libpcre )
+ if( NOT LIBPCRE_FOUND )
+ message(FATAL_ERROR "\npcre support are requested, but not found on your system" )
+ endif( NOT LIBPCRE_FOUND )
+ set( HAVE_PCREPOSIX 1 )
+endif( )
+
##### check for aspell ##########################
# we need ASPELL_DATADIR too
Index: config.h.cmake
===================================================================
--- config.h.cmake (revision 1261450)
+++ config.h.cmake (working copy)
@@ -366,7 +366,7 @@
#cmakedefine HAVE_PATHS_H 1
/* Define if you have pcreposix libraries and header files. */
-#undef HAVE_PCREPOSIX
+#cmakedefine HAVE_PCREPOSIX 1
/* Define to 1 if you have the `poll' function. */
#cmakedefine HAVE_POLL 1

@ -1,45 +0,0 @@
From 1f37c9cdb9bb47f8453cf26af8006c7c8d4ca3b3 Mon Sep 17 00:00:00 2001
From: Thorsten Glaser <t.glaser@tarent.de>
Date: Tue, 27 Dec 2011 14:28:27 +0100
Subject: [PATCH] fix UTF-8 encoding for WebDAV directories
idea derived from KIO slave http.cpp from KDE 4; reimplemented
on top of Qt3/KDE3 APIs
Bug: http://bugs.kde.org/show_bug.cgi?id=127251
Signed-off-by: Thorsten Glaser <t.glaser@tarent.de>
---
kioslave/http/http.cc | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/kioslave/http/http.cc b/kioslave/http/http.cc
index a1495d7..16b785d 100644
--- a/kioslave/http/http.cc
+++ b/kioslave/http/http.cc
@@ -45,6 +45,7 @@
#include <tqregexp.h>
#include <tqdatetime.h>
#include <tqstringlist.h>
+#include <tqurl.h>
#include <kurl.h>
#include <kidna.h>
@@ -750,9 +751,14 @@ void HTTPProtocol::davStatList( const KURL& url, bool stat )
entry.clear();
TQString urlStr = href.text();
+#if 0
int encoding = remoteEncoding()->encodingMib();
if ((encoding == 106) && (!KStringHandler::isUtf8(KURL::decode_string(urlStr, 4).latin1())))
encoding = 4; // Use latin1 if the file is not actually utf-8
+#else
+ TQUrl::decode(urlStr);
+ int encoding = 106;
+#endif
KURL thisURL ( urlStr, encoding );
--
1.7.2.3

@ -1,20 +0,0 @@
commit 87201a3741bd9d4b4638be7b3d8c44a737115b0f
Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: 1325899796 -0600
Fix make_driver_db_cups path
This closes Bug 383
diff --git a/kdeprint/cups/kmcupsmanager.cpp b/tdeprint/cups/kmcupsmanager.cpp
index 635cfd5..4a64248 100644
--- a/kdeprint/cups/kmcupsmanager.cpp
+++ b/kdeprint/cups/kmcupsmanager.cpp
@@ -95,7 +95,7 @@ KMCupsManager::~KMCupsManager()
TQString KMCupsManager::driverDbCreationProgram()
{
- return TQString::tqfromLatin1("/opt/trinity/bin/make_driver_db_cups");
+ return TQString(__KDE_BINDIR).append(TQString::fromLatin1("/make_driver_db_cups"));
}
TQString KMCupsManager::driverDirectory()

@ -1,20 +0,0 @@
--- kdelibs/kdecore/CMakeLists.txt.ORI 2012-08-09 21:10:26.125863261 +0200
+++ kdelibs/kdecore/CMakeLists.txt 2012-08-09 21:12:08.928750681 +0200
@@ -73,7 +73,8 @@
##### other data ################################
-tde_install_empty_directory( ${LOCALE_INSTALL_DIR}/all_languages )
+install( FILES all_languages.desktop
+ DESTINATION ${LOCALE_INSTALL_DIR} RENAME all_languages )
install( FILES 40.colors Web.colors Royal.colors Rainbow.colors
DESTINATION ${CONFIG_INSTALL_DIR}/colors )
@@ -87,7 +88,6 @@
install( FILES eventsrc
DESTINATION ${DATA_INSTALL_DIR}/knotify )
-
##### libkdecore ################################
set( target kdecore )

@ -1,27 +0,0 @@
commit 3e284fadb9110cdd2a2dcf9c2e960c74f15e0360
Author: Slávek Banko <slavek.banko@axis.cz>
Date: 1339570958 +0200
Fix FTBFS - incomplete build kspell2
This closes Bug 657
diff --git a/kspell2/ui/CMakeLists.txt b/kspell2/ui/CMakeLists.txt
index 65ea158..a83774d 100644
--- a/kspell2/ui/CMakeLists.txt
+++ b/kspell2/ui/CMakeLists.txt
@@ -54,12 +54,14 @@ tde_add_library( ${target} STATIC_PIC AUTOMOC
set( target kspell2 )
set( ${target}_SRCS
+ configwidget.cpp highlighter.cpp configdialog.cpp
+ kspell2ui.ui configui.ui
dialog.cpp
)
tde_add_library( ${target} SHARED AUTOMOC
SOURCES ${${target}_SRCS}
VERSION 1.0.0
- LINK kspell2-static kspell2base-static kutils-shared
+ LINK kspell2base-static kutils-shared
DESTINATION ${LIB_INSTALL_DIR}
)

@ -1,159 +0,0 @@
commit 41ea89f79d28c456b296e8ddcce0a12c21e13f94
Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: 1337872714 -0500
Fix composition extension detection
diff --git a/kdecore/kapplication.cpp b/kdecore/kapplication.cpp
index 5c60e6f..b4caefc 100644
--- a/kdecore/kapplication.cpp
+++ b/kdecore/kapplication.cpp
@@ -1804,9 +1804,7 @@ bool KApplication::isCompositionManagerAvailable() {
// Now that we did all that by way of introduction...read the file!
FILE *pFile;
- char buffer[255];
pFile = fopen(filename, "r");
- int kompmgrpid = 0;
if (pFile) {
have_manager = true;
fclose(pFile);
@@ -1840,18 +1838,23 @@ bool KApplication::detectCompositionManagerAvailable(bool force_available, bool
compositing_manager_available = false;
}
else {
- Window root_window = XDefaultRootWindow(dpy);
- XCompositeRedirectSubwindows(dpy, root_window, CompositeRedirectManual);
- XSync(dpy, false);
- if (x11_composite_error_generated == true) {
- compositing_manager_available = true;
+ if (available) { // FIXME This variable does double duty to avoid breaking the ABI for R14.0. In reality it should be called perform_deep_check
+ Window root_window = XDefaultRootWindow(dpy);
+ XCompositeRedirectSubwindows(dpy, root_window, CompositeRedirectManual);
+ XSync(dpy, false);
+ if (x11_composite_error_generated == true) {
+ compositing_manager_available = true;
+ }
+ else {
+ XCompositeUnredirectSubwindows(dpy, root_window, CompositeRedirectManual);
+ compositing_manager_available = false;
+ }
+ XSetErrorHandler(NULL);
+ XCloseDisplay(dpy);
}
else {
- XCompositeUnredirectSubwindows(dpy, root_window, CompositeRedirectManual);
- compositing_manager_available = false;
+ compositing_manager_available = true;
}
- XSetErrorHandler(NULL);
- XCloseDisplay(dpy);
}
}
@@ -1913,7 +1916,7 @@ Qt::HANDLE KApplication::getX11RGBAVisual(Display *dpy) {
return argb_x11_visual;
}
else {
- return NULL;
+ return (Qt::HANDLE)NULL;
}
}
@@ -1923,7 +1926,7 @@ Qt::HANDLE KApplication::getX11RGBAColormap(Display *dpy) {
return argb_x11_colormap;
}
else {
- return NULL;
+ return (Qt::HANDLE)NULL;
}
}
@@ -1997,8 +2000,20 @@ bool KApplication::detectCompositionManagerAvailable(bool force_available) {
strcat(filename, home);
strcat(filename, configfile);
- /* now that we did all that by way of introduction...remove the file! */
- unlink(filename);
+ /* now that we did all that by way of introduction...create or remove the file! */
+ if (force_available) {
+ FILE *pFile;
+ char buffer[255];
+ sprintf(buffer, "available");
+ pFile = fopen(filename, "w");
+ if (pFile) {
+ fwrite(buffer,1,strlen(buffer), pFile);
+ fclose(pFile);
+ }
+ }
+ else {
+ unlink(filename);
+ }
free(filename);
filename = NULL;
@@ -2886,12 +2901,15 @@ void KApplication::invokeMailer(const TQString &_to, const TQString &_cc, const
TQString error;
// TODO this should check if cmd has a .desktop file, and use data from it, together
// with sending more ASN data
- if (kdeinitExec(cmd, cmdTokens, &error, NULL, startup_id ))
- if (Tty != kapp->type())
+ if (kdeinitExec(cmd, cmdTokens, &error, NULL, startup_id )) {
+ if (Tty != kapp->type()) {
TQMessageBox::critical(kapp->mainWidget(), i18n("Could not Launch Mail Client"),
i18n("Could not launch the mail client:\n\n%1").arg(error), i18n("&OK"));
- else
+ }
+ else {
kdWarning() << "Could not launch mail client:\n" << error << endl;
+ }
+ }
}
#endif
@@ -3597,7 +3615,9 @@ void KApplication::sigpipeHandler(int)
#ifndef NDEBUG
char msg[1000];
sprintf(msg, "*** SIGPIPE *** (ignored, pid = %ld)\n", (long) getpid());
- write(2, msg, strlen(msg));
+ if (write(2, msg, strlen(msg)) < 0) {
+ // ERROR
+ }
#endif
// Do nothing.
diff --git a/kdecore/kdetcompmgr.cpp b/kdecore/kdetcompmgr.cpp
index bfc3ac6..8b9b480 100644
--- a/kdecore/kdetcompmgr.cpp
+++ b/kdecore/kdetcompmgr.cpp
@@ -84,7 +84,6 @@ int main(int argc, char **argv)
if (lSize > 254)
lSize = 254;
rewind (pFile);
- size_t result = fread (buffer, 1, lSize, pFile);
fclose(pFile);
kompmgrpid = atoi(buffer);
}
@@ -97,9 +96,7 @@ int main(int argc, char **argv)
}
}
-// app.detectCompositionManagerAvailable();
-
-// if (!app.isCompositionManagerAvailable()) {
+ if (app.detectCompositionManagerAvailable(false, false)) { // Perform a shallow check for the composite extension (a deep check would cause noticeable flicker)
KConfig config2("kwinrc", true);
config2.setGroup( "Notification Messages" );
if (config2.readBoolEntry("UseTranslucency",false)) {
@@ -110,6 +107,10 @@ int main(int argc, char **argv)
app.detectCompositionManagerAvailable(true, false);
return 0;
}
-// }
+ }
+ else {
+ app.detectCompositionManagerAvailable(true, false);
+ return 1;
+ }
}

@ -1,12 +0,0 @@
--- ./kdecore/kconfigbackend.cpp.orig 2011-08-11 04:30:15.000000000 +0200
+++ ./kdecore/kconfigbackend.cpp 2012-06-18 23:27:20.034671093 +0200
@@ -255,8 +255,7 @@
mLocalFileName = KGlobal::dirs()->saveLocation(resType) + mfileName;
if (useKDEGlobals)
- mGlobalFileName = KGlobal::dirs()->saveLocation("config") +
- TQString::tqfromLatin1("kdeglobals");
+ mGlobalFileName = KGlobal::dirs()->saveLocation("config", TQString(), false) + TQString::fromLatin1("kdeglobals");
else
mGlobalFileName = TQString::null;

@ -1,22 +0,0 @@
--- a/dcop/dcoptypes.h.ORI 2012-04-24 16:24:05.448308109 -0400
+++ a/dcop/dcoptypes.h 2012-04-24 16:43:55.299809919 -0400
@@ -22,6 +22,9 @@
#ifndef DCOPTYPES_H
#define DCOPTYPES_H
+// generic template fallback for unknown types
+template <class T> inline const char* dcopTypeName( const T& ) { return "<unknown>"; }
+
#include <dcopref.h>
// standard c/c++ types
@@ -70,9 +73,6 @@
// And some KDE types
class KURL; inline const char* dcopTypeName( const KURL& ) { return "KURL"; }
-// generic template fallback for unknown types
-template <class T> inline const char* dcopTypeName( const T& ) { return "<unknown>"; }
-
// type initialization for standard c/c++ types
inline void dcopTypeInit(bool& b){b=false;}
inline void dcopTypeInit(char& c){c=0;}

@ -1,20 +0,0 @@
commit 0536f0b707bf86636096c962e9bb32adf3bb8112
Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: 1341041394 -0500
Export kdemain symbol in iso kioslave
This closes Bug 465
diff --git a/kioslave/iso/iso.cpp b/kioslave/iso/iso.cpp
index 5865139..4bd128e 100644
--- a/kioslave/iso/iso.cpp
+++ b/kioslave/iso/iso.cpp
@@ -56,7 +56,7 @@ static const unsigned char zisofs_magic[8] = {
using namespace KIO;
-extern "C" { int kdemain(int argc, char **argv); }
+extern "C" { KDE_EXPORT int kdemain(int argc, char **argv); }
int kdemain( int argc, char **argv )
{

@ -1,171 +0,0 @@
commit b4bba7b553995a6b13214dbbabe18ff311007eea
Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: 1341113466 -0500
Fix iso kioslave not parsing large images properly
diff --git a/kioslave/iso/kiso.cpp b/kioslave/iso/kiso.cpp
index c6faa65..6403f62 100644
--- a/kioslave/iso/kiso.cpp
+++ b/kioslave/iso/kiso.cpp
@@ -188,7 +188,7 @@ KIso::~KIso()
}
/* callback function for libisofs */
-static int readf(char *buf, int start, int len,void *udata) {
+static int readf(char *buf, long start, long len,void *udata) {
TQIODevice* dev = ( static_cast<KIso*> (udata) )->device();
@@ -212,7 +212,7 @@ static int mycallb(struct iso_directory_record *idr,void *udata) {
bool special=false;
KArchiveEntry *entry=NULL,*oldentry=NULL;
char z_algo[2],z_params[2];
- int z_size=0;
+ long long z_size=0;
if ((idr->flags[0] & 1) && !iso->showhidden) return 0;
if (iso->level) {
@@ -289,7 +289,8 @@ static int mycallb(struct iso_directory_record *idr,void *udata) {
void KIso::addBoot(struct el_torito_boot_descriptor* bootdesc) {
- int i,size;
+ int i;
+ long long size;
boot_head boot;
boot_entry *be;
TQString path;
diff --git a/kioslave/iso/kisofile.cpp b/kioslave/iso/kisofile.cpp
index afac16b..ffae0d3 100644
--- a/kioslave/iso/kisofile.cpp
+++ b/kioslave/iso/kisofile.cpp
@@ -20,7 +20,7 @@
KIsoFile::KIsoFile( KArchive* archive, const TQString& name, int access,
int date, int adate,int cdate, const TQString& user, const TQString& group,
- const TQString& symlink,int pos, int size) :
+ const TQString& symlink,long long pos, long long size) :
KArchiveFile(archive, name, access, date, user, group, symlink, pos, size) {
@@ -32,7 +32,7 @@ KIsoFile::KIsoFile( KArchive* archive, const TQString& name, int access,
KIsoFile::~KIsoFile(){
}
-void KIsoFile::setZF(char algo[2],char parms[2],int realsize) {
+void KIsoFile::setZF(char algo[2],char parms[2],long long realsize) {
m_algo[0]=algo[0];m_algo[1]=algo[1];
m_parms[0]=parms[0];m_parms[1]=parms[1];
m_realsize=realsize;
diff --git a/kioslave/iso/kisofile.h b/kioslave/iso/kisofile.h
index 193509c..696a8c1 100644
--- a/kioslave/iso/kisofile.h
+++ b/kioslave/iso/kisofile.h
@@ -29,9 +29,9 @@ class KIsoFile : public KArchiveFile {
public:
KIsoFile( KArchive* archive, const TQString& name, int access, int date,
int adate,int cdate, const TQString& user, const TQString& group,
- const TQString& symlink, int pos, int size);
+ const TQString& symlink, long long pos, long long size);
~KIsoFile();
- void setZF(char algo[2],char parms[2],int realsize);
+ void setZF(char algo[2],char parms[2],long long realsize);
int adate() const { return m_adate; }
int cdate() const { return m_cdate; }
long long realsize() const { return m_realsize; }
diff --git a/kioslave/iso/libisofs/isofs.c b/kioslave/iso/libisofs/isofs.c
index ab13d9e..e599450 100644
--- a/kioslave/iso/libisofs/isofs.c
+++ b/kioslave/iso/libisofs/isofs.c
@@ -122,8 +122,8 @@ void FreeBootTable(boot_head *boot) {
boot->defentry=NULL;
}
-int BootImageSize(int media,int len) {
- int ret;
+int BootImageSize(int media,long len) {
+ long long ret;
switch(media & 0xf) {
case 0:
@@ -158,7 +158,7 @@ static boot_entry *CreateBootEntry(char *be) {
return entry;
}
-int ReadBootTable(readfunc *read,int sector, boot_head *head, void *udata) {
+int ReadBootTable(readfunc *read,long sector, boot_head *head, void *udata) {
char buf[2048], *c, *be;
int i,end=0;
@@ -221,7 +221,7 @@ err:
/**
* Creates the linked list of the volume descriptors
*/
-iso_vol_desc *ReadISO9660(readfunc *read,int sector,void *udata) {
+iso_vol_desc *ReadISO9660(readfunc *read,long sector,void *udata) {
int i;
struct iso_volume_descriptor buf;
@@ -577,10 +577,10 @@ int level=0,joliet=0,dirs,files;
iconv_t iconv_d;
int fd;
-int readf(char *buf, int start, int len,void *udata) {
+int readf(char *buf, long start, long len,void *udata) {
int ret;
- if ((ret=lseek(fd, start << 11, SEEK_SET))<0) return ret;
+ if ((ret=lseek64(fd, start << 11, SEEK_SET))<0) return ret;
ret=read(fd, buf, len << 11);
if (ret<0) return ret;
return (ret >> 11);
diff --git a/kioslave/iso/libisofs/isofs.h b/kioslave/iso/libisofs/isofs.h
index 52190e6..b8971a4 100644
--- a/kioslave/iso/libisofs/isofs.h
+++ b/kioslave/iso/libisofs/isofs.h
@@ -50,7 +50,7 @@ typedef struct _rr_entry {
int re; /* relocated */
char z_algo[2]; /* zizofs algorithm */
char z_params[2]; /* zizofs parameters */
- int z_size; /* zizofs real_size */
+ long z_size; /* zizofs real_size */
} rr_entry;
typedef struct _iso_vol_desc {
@@ -78,7 +78,7 @@ typedef struct _boot_head {
/**
* this callback function needs to read 'len' sectors from 'start' into 'buf'
*/
-typedef int readfunc(char *buf,int start, int len,void *);
+typedef int readfunc(char *buf,long start, long len,void *);
/**
* ProcessDir uses this callback
@@ -107,7 +107,7 @@ time_t isodate_84261(char * p, int hs);
* If the function fails, returns NULL
* Don't forget to call FreeISO9660 after using the volume descriptor list!
*/
-iso_vol_desc *ReadISO9660(readfunc *read,int sector,void *udata);
+iso_vol_desc *ReadISO9660(readfunc *read,long sector,void *udata);
/**
* Frees the linked list of volume descriptors
@@ -140,7 +140,7 @@ int JolietLevel(struct iso_volume_descriptor *ivd);
/**
* Returns the size of the boot image (in 512 byte sectors)
*/
-int BootImageSize(int media,int len);
+int BootImageSize(int media,long len);
/**
* Frees the boot catalog entries in 'boot'. If you ever called ReadBootTable,
@@ -151,7 +151,7 @@ void FreeBootTable(boot_head *boot);
/**
* Reads the boot catalog into 'head'. Don't forget to call FreeBootTable!
*/
-int ReadBootTable(readfunc *read,int sector, boot_head *head, void *udata);
+int ReadBootTable(readfunc *read,long sector, boot_head *head, void *udata);
#ifdef __cplusplus
} //extern "C"

@ -1,20 +0,0 @@
diff -urN tdelibs/kio/kio/kdirwatch.cpp tdelibs.new/kio/kio/kdirwatch.cpp
--- tdelibs/kio/kio/kdirwatch.cpp 2012-04-05 13:26:08.000000000 -0500
+++ tdelibs.new/kio/kio/kdirwatch.cpp 2012-04-08 17:51:15.000000000 -0500
@@ -1155,6 +1155,7 @@
if(!e->dirty) return NoChange;
e->dirty = false;
}
+ if (e->isDir) return Changed;
#endif
// Shouldn't happen: Ignore "unknown" notification method
@@ -1184,6 +1185,8 @@
if (exists) {
if (e->m_status == NonExistent) {
+ // ctime is the 'creation time' on windows, but with qMax
+ // we get the latest change of any kind, on any platform.
e->m_ctime = stat_buf.st_ctime;
e->m_status = Normal;
e->m_nlink = stat_buf.st_nlink;

@ -1,83 +0,0 @@
commit 06b514847fffb79985e4bcde9f8dcc685c5d9ac5
Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: 1328040359 -0600
Fix konq filter in list view mode
Select all now only selects shown (filtered) items
diff --git a/tdeui/klistview.cpp b/tdeui/klistview.cpp
index e1c5811..b52fe68 100644
--- a/kdeui/klistview.cpp
+++ b/kdeui/klistview.cpp
@@ -2356,6 +2356,52 @@ void KListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column,
TQListViewItem::paintCell(p, _cg, column, width, tqalignment);
}
+/*!
+ If \a select is TRUE, all the items get selected; otherwise all
+ the items get unselected. This only works in the selection modes \c
+ Multi and \c Extended. In \c Single and \c NoSelection mode the
+ selection of the current item is just set to \a select.
+*/
+
+void KListView::selectAll( bool select )
+{
+ if ( selectionMode() == Multi || selectionMode() == Extended ) {
+ bool b = signalsBlocked();
+ blockSignals( TRUE );
+ bool anything = FALSE;
+ TQListViewItemIterator it( this );
+ while ( it.current() ) {
+ TQListViewItem *i = it.current();
+ if ( select == TRUE ) {
+ if ( (bool)i->isVisible() == TRUE ) {
+ i->setSelected( TRUE );
+ anything = TRUE;
+ }
+ if ( (bool)i->isVisible() == FALSE ) {
+ i->setSelected( FALSE );
+ anything = TRUE;
+ }
+ }
+ else {
+ if ( (bool)i->isSelected() != select ) {
+ i->setSelected( select );
+ anything = TRUE;
+ }
+ }
+ ++it;
+ }
+ blockSignals( b );
+ if ( anything ) {
+ emit selectionChanged();
+// d->useDoubleBuffer = TRUE;
+ triggerUpdate();
+ }
+ } else if ( currentItem() ) {
+ TQListViewItem * i = currentItem();
+ setSelected( i, select );
+ }
+}
+
void KListView::virtual_hook( int, void* )
{ /*BASE::virtual_hook( id, data );*/ }
diff --git a/tdeui/klistview.h b/tdeui/klistview.h
index ed10192..c8bb837 100644
--- a/kdeui/klistview.h
+++ b/kdeui/klistview.h
@@ -660,6 +660,14 @@ public slots:
*/
bool tabOrderedRenaming() const;
+ /**
+ * Override TQListView selectAll() so that filtered
+ * items are not selected
+ *
+ * @since 14.0
+ */
+ virtual void selectAll( bool select );
+
protected:
/**
* Determine whether a drop on position @p p would count as

@ -1,27 +0,0 @@
commit 9068fffdf82dc9cf60e83639b3a9b397761304cd
Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: 1338002515 -0500
Fix KTempFile not obeying special bits on file creation
This closes Bug 349
Add modem category to TDE hardware manager
diff --git a/tdecore/ktempfile.cpp b/tdecore/ktempfile.cpp
index 2c7b56e..4632f00 100644
--- a/kdecore/ktempfile.cpp
+++ b/kdecore/ktempfile.cpp
@@ -117,8 +117,12 @@ KTempFile::create(const TQString &filePrefix, const TQString &fileExtension,
// Success!
bOpen = true;
- // Set uid/gid (necessary for SUID programs)
- fchown(mFd, getuid(), getgid());
+ uid_t uid = getuid();
+ uid_t euid = geteuid();
+ if (uid != euid) {
+ // Set uid/gid (necessary for SUID programs)
+ fchown(mFd, getuid(), getgid());
+ }
// Set close on exec
fcntl(mFd, F_SETFD, FD_CLOEXEC);

@ -1,52 +0,0 @@
commit a1c30c142a7b631d6ff66f12d8b48c9aec07190f
Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: 1331881108 -0500
Fix slider drawing on external paint devices
diff --git a/tdefx/kstyle.cpp b/tdefx/kstyle.cpp
index d4cb9bd..0220840 100644
--- a/kdefx/kstyle.cpp
+++ b/kdefx/kstyle.cpp
@@ -1138,11 +1138,14 @@ void KStyle::drawComplexControl( TQ_ComplexControl control,
last = querySubControlMetrics(control, widget, SC_ScrollBarLast, opt);
subline2 = addline;
- if ( useThreeButtonScrollBar )
- if (horizontal)
+ if ( useThreeButtonScrollBar ) {
+ if (horizontal) {
subline2.moveBy(-addline.width(), 0);
- else
+ }
+ else {
subline2.moveBy(0, -addline.height());
+ }
+ }
// Draw the up/left button set
if ((controls & SC_ScrollBarSubLine) && subline.isValid()) {
@@ -1238,7 +1241,14 @@ void KStyle::drawComplexControl( TQ_ComplexControl control,
}
p2.end();
- bitBlt((TQWidget*)widget, r.x(), r.y(), &pix);
+
+ TQPaintDevice* ppd = p->device();
+ if (ppd->isExtDev()) {
+ p->drawPixmap(0, 0, pix);
+ }
+ else {
+ bitBlt((TQWidget*)widget, r.x(), r.y(), &pix);
+ }
break;
}
@@ -2105,7 +2115,6 @@ TQImage TransparencyHandler::handleRealAlpha(TQImage img) {
for (int y = 0; y < h; ++y) {
TQRgb *ls = (TQRgb *)clearImage.scanLine( y );
for (int x = 0; x < w; ++x) {
- TQRgb l = ls[x];
ls[x] = tqRgba( 0, 0, 0, 0 );
}
}

@ -1,35 +0,0 @@
commit d1c71f692f5329dbfe817bbed41c5137be608efa
Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: 1341199632 -0500
Fix spinbox text entry when base is not 10
diff --git a/kdeui/knuminput.cpp b/kdeui/knuminput.cpp
index 27b86f9..118af6c 100644
--- a/kdeui/knuminput.cpp
+++ b/kdeui/knuminput.cpp
@@ -206,6 +206,7 @@ KIntSpinBox::KIntSpinBox(TQWidget *parent, const char *name)
{
editor()->tqsetAlignment(AlignRight);
val_base = 10;
+ setValidator(new KIntValidator(this, val_base));
setValue(0);
}
@@ -219,11 +220,16 @@ KIntSpinBox::KIntSpinBox(int lower, int upper, int step, int value, int base,
{
editor()->tqsetAlignment(AlignRight);
val_base = base;
+ setValidator(new KIntValidator(this, val_base));
setValue(value);
}
void KIntSpinBox::setBase(int base)
{
+ const KIntValidator* kvalidator = dynamic_cast<const KIntValidator*>(validator());
+ if (kvalidator) {
+ const_cast<KIntValidator*>(kvalidator)->setBase(base);
+ }
val_base = base;
}

@ -1,33 +0,0 @@
commit e131f10b84dbec07ad49d36c192777a72189a39e
Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: 1329026747 -0600
Fix tdesu internal pathing
This closes Bug 766
diff --git a/tdesu/stub.cpp b/tdesu/stub.cpp
index 7f083d7..5b222f5 100644
--- a/kdesu/stub.cpp
+++ b/kdesu/stub.cpp
@@ -121,11 +121,16 @@ int StubProcess::ConverseStub(int check)
TQCString path = getenv("PATH");
if (!path.isEmpty() && path[0] == ':')
path = path.mid(1);
- if (m_User == "root")
- if (!path.isEmpty())
- path = "/sbin:/bin:/usr/sbin:/usr/bin:" + path;
- else
- path = "/sbin:/bin:/usr/sbin:/usr/bin";
+ if (m_User == "root")
+ if (!path.isEmpty())
+ path = "/usr/local/sbin:/usr/sbin:/sbin:" + path;
+ else
+ if (strcmp(__KDE_BINDIR, "/usr/bin") == 0) {
+ path = "/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin";
+ }
+ else {
+ path = "/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:" __KDE_BINDIR ":/usr/bin:/bin";
+ }
writeLine(path);
} else if (line == "user") {
writeLine(m_User);

@ -1,20 +0,0 @@
commit 6c806af1c99890adecb42abf52f4d6dc8ae72899
Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: 1337556266 -0500
Initialize X11 threading when kinit is used to launch a program
This closes Bug 812
Thanks to Slávek Banko for the patch!
diff --git a/kinit/kinit.cpp b/kinit/kinit.cpp
index 2a74368..191757d 100644
--- a/kinit/kinit.cpp
+++ b/kinit/kinit.cpp
@@ -1615,6 +1615,7 @@ int tdeinit_x_errhandler( Display *dpy, XErrorEvent *err )
// another X connection for startup notification purposes
static void setupX()
{
+ XInitThreads();
XSetIOErrorHandler(kdeinit_xio_errhandler);
XSetErrorHandler(kdeinit_x_errhandler);
}

@ -1,987 +0,0 @@
--- kdelibs/kdefx/CMakeLists.txt.ORI 2012-09-05 14:49:17.332664590 -0400
+++ kdelibs/kdefx/CMakeLists.txt 2012-09-05 14:50:29.605179741 -0400
@@ -20,6 +20,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kstyles/keramik/CMakeLists.txt.ORI 2012-09-05 14:52:39.488511648 -0400
+++ kdelibs/kstyles/keramik/CMakeLists.txt 2012-09-05 14:52:46.135375114 -0400
@@ -26,6 +26,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kstyles/plastik/CMakeLists.txt.ORI 2012-09-05 14:55:52.184554103 -0400
+++ kdelibs/kstyles/plastik/CMakeLists.txt 2012-09-05 14:55:59.389406152 -0400
@@ -25,6 +25,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kstyles/asteroid/CMakeLists.txt.ORI 2012-09-05 14:57:14.714859423 -0400
+++ kdelibs/kstyles/asteroid/CMakeLists.txt 2012-09-05 14:57:25.833631121 -0400
@@ -23,6 +23,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kstyles/highcolor/CMakeLists.txt.ORI 2012-09-05 14:59:43.880796883 -0400
+++ kdelibs/kstyles/highcolor/CMakeLists.txt 2012-09-05 14:59:52.769614406 -0400
@@ -23,6 +23,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kstyles/highcontrast/CMakeLists.txt.ORI 2012-09-05 15:00:52.531387606 -0400
+++ kdelibs/kstyles/highcontrast/CMakeLists.txt 2012-09-05 15:00:59.908236179 -0400
@@ -26,6 +26,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kstyles/light/CMakeLists.txt.ORI 2012-09-05 15:02:37.873225343 -0400
+++ kdelibs/kstyles/light/CMakeLists.txt 2012-09-05 15:02:46.535047560 -0400
@@ -23,6 +23,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kdecore/CMakeLists.txt.ORI 2012-09-05 15:04:44.597624532 -0400
+++ kdelibs/kdecore/CMakeLists.txt 2012-09-05 15:04:58.009349300 -0400
@@ -37,6 +37,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
${LIBIDN_LIBRARY_DIRS}
+ ${XCOMPOSITE_LIBRARY_DIRS}
)
--- kdelibs/dcop/client/CMakeLists.txt.ORI 2012-09-05 15:09:40.211558975 -0400
+++ kdelibs/dcop/client/CMakeLists.txt 2012-09-05 15:09:46.973420255 -0400
@@ -19,6 +19,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kjs/CMakeLists.txt.ORI 2012-09-05 15:10:44.871247689 -0400
+++ kdelibs/kjs/CMakeLists.txt 2012-09-05 15:10:55.546035695 -0400
@@ -21,6 +21,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
${LIBPCRE_LIBDIR}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kio/misc/CMakeLists.txt.ORI 2012-09-05 15:11:50.982934593 -0400
+++ kdelibs/kio/misc/CMakeLists.txt 2012-09-05 15:11:59.380767769 -0400
@@ -40,6 +40,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kdecore/kconfig_compiler/CMakeLists.txt.ORI 2012-09-05 15:12:54.956663587 -0400
+++ kdelibs/kdecore/kconfig_compiler/CMakeLists.txt 2012-09-05 15:13:01.689529800 -0400
@@ -17,6 +17,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kwallet/client/CMakeLists.txt.ORI 2012-09-05 15:13:46.102647178 -0400
+++ kdelibs/kwallet/client/CMakeLists.txt 2012-09-05 15:13:54.441481441 -0400
@@ -19,6 +19,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kwallet/backend/CMakeLists.txt.ORI 2012-09-05 15:14:39.946576908 -0400
+++ kdelibs/kwallet/backend/CMakeLists.txt 2012-09-05 15:14:46.189452800 -0400
@@ -20,6 +20,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kunittest/CMakeLists.txt.ORI 2012-09-05 15:15:30.724567350 -0400
+++ kdelibs/kunittest/CMakeLists.txt 2012-09-05 15:15:37.191438762 -0400
@@ -18,6 +18,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kio/misc/kdesasl/CMakeLists.txt.ORI 2012-09-05 15:16:23.686514140 -0400
+++ kdelibs/kio/misc/kdesasl/CMakeLists.txt 2012-09-05 15:16:30.107386437 -0400
@@ -18,6 +18,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kdesu/CMakeLists.txt.ORI 2012-09-05 15:17:18.220429423 -0400
+++ kdelibs/kdesu/CMakeLists.txt 2012-09-05 15:17:25.132291924 -0400
@@ -19,6 +19,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kio/misc/kntlm/CMakeLists.txt.ORI 2012-09-05 15:18:10.203395218 -0400
+++ kdelibs/kio/misc/kntlm/CMakeLists.txt 2012-09-05 15:18:16.090278085 -0400
@@ -19,6 +19,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kdewidgets/CMakeLists.txt.ORI 2012-09-05 15:19:01.043383536 -0400
+++ kdelibs/kdewidgets/CMakeLists.txt 2012-09-05 15:19:08.404237043 -0400
@@ -29,6 +29,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kded/CMakeLists.txt.ORI 2012-09-05 15:19:53.290343643 -0400
+++ kdelibs/kded/CMakeLists.txt 2012-09-05 15:19:59.050228986 -0400
@@ -24,6 +24,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kinit/CMakeLists.txt.ORI 2012-09-05 15:20:56.013094954 -0400
+++ kdelibs/kinit/CMakeLists.txt 2012-09-05 15:21:01.877978180 -0400
@@ -26,6 +26,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kconf_update/CMakeLists.txt.ORI 2012-09-05 15:21:46.470090230 -0400
+++ kdelibs/kconf_update/CMakeLists.txt 2012-09-05 15:21:52.129977515 -0400
@@ -17,6 +17,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kabc/vcard/CMakeLists.txt.ORI 2012-09-05 15:22:33.653150519 -0400
+++ kdelibs/kabc/vcard/CMakeLists.txt 2012-09-05 15:22:39.350037047 -0400
@@ -21,6 +21,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kdeui/CMakeLists.txt.ORI 2012-09-05 15:23:43.705755018 -0400
+++ kdelibs/kdeui/CMakeLists.txt 2012-09-05 15:23:52.102587723 -0400
@@ -33,6 +33,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kimgio/CMakeLists.txt.ORI 2012-09-05 15:24:52.729379655 -0400
+++ kdelibs/kimgio/CMakeLists.txt 2012-09-05 15:24:59.825238243 -0400
@@ -20,6 +20,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kstyles/kthemestyle/CMakeLists.txt.ORI 2012-09-05 15:25:41.501407611 -0400
+++ kdelibs/kstyles/kthemestyle/CMakeLists.txt 2012-09-05 15:25:48.051277056 -0400
@@ -23,6 +23,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/libkmid/CMakeLists.txt.ORI 2012-09-05 15:26:30.215436548 -0400
+++ kdelibs/libkmid/CMakeLists.txt 2012-09-05 15:26:36.349314265 -0400
@@ -19,6 +19,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kioslave/http/kcookiejar/CMakeLists.txt.ORI 2012-09-05 15:27:21.689410284 -0400
+++ kdelibs/kioslave/http/kcookiejar/CMakeLists.txt 2012-09-05 15:27:28.281278845 -0400
@@ -22,6 +22,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kstyles/utils/installtheme/CMakeLists.txt.ORI 2012-09-05 15:28:14.233362491 -0400
+++ kdelibs/kstyles/utils/installtheme/CMakeLists.txt 2012-09-05 15:28:21.719213198 -0400
@@ -17,6 +17,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
##### kinstalltheme #############################
--- kdelibs/dnssd/CMakeLists.txt.ORI 2012-09-05 15:29:09.718255841 -0400
+++ kdelibs/dnssd/CMakeLists.txt 2012-09-05 15:29:15.350143500 -0400
@@ -20,6 +20,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
##### headers ###################################
--- kdelibs/kstyles/highcontrast/config/CMakeLists.txt.ORI 2012-09-05 15:30:26.325727548 -0400
+++ kdelibs/kstyles/highcontrast/config/CMakeLists.txt 2012-09-05 15:30:31.885616614 -0400
@@ -19,6 +19,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/libkscreensaver/CMakeLists.txt.ORI 2012-09-05 15:31:25.686543044 -0400
+++ kdelibs/libkscreensaver/CMakeLists.txt 2012-09-05 15:31:31.287431270 -0400
@@ -21,6 +21,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/pics/CMakeLists.txt.ORI 2012-09-05 15:33:15.116358829 -0400
+++ kdelibs/pics/CMakeLists.txt 2012-09-05 15:33:22.821205010 -0400
@@ -28,6 +28,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kdeprint/tools/escputil/CMakeLists.txt.ORI 2012-09-05 15:34:18.809087161 -0400
+++ kdelibs/kdeprint/tools/escputil/CMakeLists.txt 2012-09-05 15:34:24.838966757 -0400
@@ -19,6 +19,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/arts/message/CMakeLists.txt.ORI 2012-09-05 15:35:54.035185423 -0400
+++ kdelibs/arts/message/CMakeLists.txt 2012-09-05 15:35:59.572074829 -0400
@@ -18,6 +18,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kstyles/plastik/config/CMakeLists.txt.ORI 2012-09-05 15:37:59.047687962 -0400
+++ kdelibs/kstyles/plastik/config/CMakeLists.txt 2012-09-05 15:38:04.596577086 -0400
@@ -19,6 +19,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/networkstatus/CMakeLists.txt.ORI 2012-09-05 15:39:15.031169518 -0400
+++ kdelibs/networkstatus/CMakeLists.txt 2012-09-05 15:39:22.330023641 -0400
@@ -22,6 +22,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kio/CMakeLists.txt.ORI 2012-09-05 15:40:44.810374939 -0400
+++ kdelibs/kio/CMakeLists.txt 2012-09-05 15:40:54.052190177 -0400
@@ -30,6 +30,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kio/tests/CMakeLists.txt.ORI 2012-09-05 15:41:48.532100927 -0400
+++ kdelibs/kio/tests/CMakeLists.txt 2012-09-05 15:41:54.080989975 -0400
@@ -18,6 +18,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kio/kioexec/CMakeLists.txt.ORI 2012-09-05 15:42:48.434903055 -0400
+++ kdelibs/kio/kioexec/CMakeLists.txt 2012-09-05 15:42:54.144788864 -0400
@@ -22,6 +22,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kio/misc/kfile/CMakeLists.txt.ORI 2012-09-05 15:43:44.232787087 -0400
+++ kdelibs/kio/misc/kfile/CMakeLists.txt 2012-09-05 15:43:51.120649315 -0400
@@ -21,6 +21,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
@@ -36,4 +37,4 @@
SOURCES ${${target}_SRCS}
LINK kio-shared
DESTINATION ${BIN_INSTALL_DIR}
-)
\ No newline at end of file
+)
--- kdelibs/kdoctools/CMakeLists.txt.ORI 2012-09-05 15:44:33.205807471 -0400
+++ kdelibs/kdoctools/CMakeLists.txt 2012-09-05 15:44:39.466682225 -0400
@@ -25,6 +25,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kio/misc/ksendbugmail/CMakeLists.txt.ORI 2012-09-05 15:45:24.401783247 -0400
+++ kdelibs/kio/misc/ksendbugmail/CMakeLists.txt 2012-09-05 15:45:31.286645499 -0400
@@ -19,6 +19,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/interfaces/kscript/CMakeLists.txt.ORI 2012-09-05 15:46:39.496306960 -0400
+++ kdelibs/interfaces/kscript/CMakeLists.txt 2012-09-05 15:46:45.331193604 -0400
@@ -25,6 +25,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kparts/CMakeLists.txt.ORI 2012-09-05 15:47:41.529101602 -0400
+++ kdelibs/kparts/CMakeLists.txt 2012-09-05 15:47:47.294989542 -0400
@@ -25,6 +25,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kdeprint/CMakeLists.txt.ORI 2012-09-05 15:48:34.508071783 -0400
+++ kdelibs/kdeprint/CMakeLists.txt 2012-09-05 15:48:41.700931937 -0400
@@ -40,6 +40,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kdeprint/cups/cupsdconf2/CMakeLists.txt.ORI 2012-09-05 15:49:26.236065937 -0400
+++ kdelibs/kdeprint/cups/cupsdconf2/CMakeLists.txt 2012-09-05 15:49:31.824957243 -0400
@@ -24,6 +24,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kioslave/http/CMakeLists.txt.ORI 2012-09-05 15:50:45.284528209 -0400
+++ kdelibs/kioslave/http/CMakeLists.txt 2012-09-05 15:50:52.468388422 -0400
@@ -27,6 +27,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kioslave/file/CMakeLists.txt.ORI 2012-09-05 15:51:43.357398032 -0400
+++ kdelibs/kioslave/file/CMakeLists.txt 2012-09-05 15:51:50.506258876 -0400
@@ -26,6 +26,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kioslave/ftp/CMakeLists.txt.ORI 2012-09-05 15:52:39.615302790 -0400
+++ kdelibs/kioslave/ftp/CMakeLists.txt 2012-09-05 15:52:45.935179729 -0400
@@ -21,6 +21,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/arts/kde/CMakeLists.txt.ORI 2012-09-05 15:53:32.040281826 -0400
+++ kdelibs/arts/kde/CMakeLists.txt 2012-09-05 15:53:38.541155204 -0400
@@ -25,6 +25,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
${ARTS_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
# pkg-config stripping -I/usr/include
--- kdelibs/interfaces/kimproxy/library/CMakeLists.txt.ORI 2012-09-05 15:54:52.117721726 -0400
+++ kdelibs/interfaces/kimproxy/library/CMakeLists.txt 2012-09-05 15:55:02.693515629 -0400
@@ -23,6 +23,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kresources/CMakeLists.txt.ORI 2012-09-05 15:55:55.219491830 -0400
+++ kdelibs/kresources/CMakeLists.txt 2012-09-05 15:56:01.964360344 -0400
@@ -24,6 +24,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kioslave/iso/CMakeLists.txt.ORI 2012-09-05 15:57:00.178225273 -0400
+++ kdelibs/kioslave/iso/CMakeLists.txt 2012-09-05 15:57:06.535101301 -0400
@@ -24,6 +24,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kioslave/gzip/CMakeLists.txt.ORI 2012-09-05 15:58:24.363583139 -0400
+++ kdelibs/kioslave/gzip/CMakeLists.txt 2012-09-05 15:58:29.777477507 -0400
@@ -18,6 +18,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kioslave/bzip2/CMakeLists.txt.ORI 2012-09-05 15:59:29.076320316 -0400
+++ kdelibs/kioslave/bzip2/CMakeLists.txt 2012-09-05 15:59:34.117221927 -0400
@@ -19,6 +19,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kioslave/metainfo/CMakeLists.txt.ORI 2012-09-05 16:00:23.606255852 -0400
+++ kdelibs/kioslave/metainfo/CMakeLists.txt 2012-09-05 16:00:29.200146638 -0400
@@ -20,6 +20,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/krsync/CMakeLists.txt.ORI 2012-09-05 16:01:17.567202186 -0400
+++ kdelibs/krsync/CMakeLists.txt 2012-09-05 16:01:23.763081184 -0400
@@ -24,6 +24,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kio/misc/kssld/CMakeLists.txt.ORI 2012-09-05 16:02:12.759124170 -0400
+++ kdelibs/kio/misc/kssld/CMakeLists.txt 2012-09-05 16:02:19.426993911 -0400
@@ -23,6 +23,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kdeui/kdetrayproxy/CMakeLists.txt.ORI 2012-09-05 16:03:48.650271606 -0400
+++ kdelibs/kdeui/kdetrayproxy/CMakeLists.txt 2012-09-05 16:03:54.752156274 -0400
@@ -20,6 +20,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kio/misc/kwalletd/CMakeLists.txt.ORI 2012-09-05 16:04:55.631005088 -0400
+++ kdelibs/kio/misc/kwalletd/CMakeLists.txt 2012-09-05 16:05:03.666853065 -0400
@@ -24,6 +24,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/knewstuff/CMakeLists.txt.ORI 2012-09-05 16:05:51.805942029 -0400
+++ kdelibs/knewstuff/CMakeLists.txt 2012-09-05 16:05:57.713830182 -0400
@@ -23,6 +23,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kio/kpasswdserver/CMakeLists.txt.ORI 2012-09-05 16:06:46.686902706 -0400
+++ kdelibs/kio/kpasswdserver/CMakeLists.txt 2012-09-05 16:06:53.345776552 -0400
@@ -24,6 +24,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kio/misc/kpac/CMakeLists.txt.ORI 2012-09-05 16:07:43.907818289 -0400
+++ kdelibs/kio/misc/kpac/CMakeLists.txt 2012-09-05 16:07:49.444713316 -0400
@@ -26,6 +26,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
##### other data ################################
--- kdelibs/kabc/CMakeLists.txt.ORI 2012-09-05 16:08:49.154580815 -0400
+++ kdelibs/kabc/CMakeLists.txt 2012-09-05 16:08:57.154429020 -0400
@@ -36,6 +36,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/khtml/java/CMakeLists.txt.ORI 2012-09-05 16:09:55.224326707 -0400
+++ kdelibs/khtml/java/CMakeLists.txt 2012-09-05 16:10:02.194194348 -0400
@@ -28,6 +28,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kutils/CMakeLists.txt.ORI 2012-09-05 16:10:45.848365097 -0400
+++ kdelibs/kutils/CMakeLists.txt 2012-09-05 16:10:51.715253615 -0400
@@ -26,6 +26,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/interfaces/kscript/sample/CMakeLists.txt.ORI 2012-09-05 16:11:52.986088900 -0400
+++ kdelibs/interfaces/kscript/sample/CMakeLists.txt 2012-09-05 16:12:00.529945437 -0400
@@ -20,6 +20,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/khtml/kmultipart/CMakeLists.txt.ORI 2012-09-05 16:12:49.105021375 -0400
+++ kdelibs/khtml/kmultipart/CMakeLists.txt 2012-09-05 16:12:55.035908513 -0400
@@ -25,6 +25,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kcert/CMakeLists.txt.ORI 2012-09-05 16:13:43.686982413 -0400
+++ kdelibs/kcert/CMakeLists.txt 2012-09-05 16:13:51.788828139 -0400
@@ -26,6 +26,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/arts/knotify/CMakeLists.txt.ORI 2012-09-05 16:14:42.802856412 -0400
+++ kdelibs/arts/knotify/CMakeLists.txt 2012-09-05 16:14:50.217715126 -0400
@@ -24,6 +24,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
${ARTS_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/interfaces/kmediaplayer/CMakeLists.txt.ORI 2012-09-05 16:15:47.850616551 -0400
+++ kdelibs/interfaces/kmediaplayer/CMakeLists.txt 2012-09-05 16:15:53.805503001 -0400
@@ -26,6 +26,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kdeprint/management/CMakeLists.txt.ORI 2012-09-05 16:16:51.704398570 -0400
+++ kdelibs/kdeprint/management/CMakeLists.txt 2012-09-05 16:16:58.402270762 -0400
@@ -32,6 +32,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kdeprint/lpdunix/CMakeLists.txt.ORI 2012-09-05 16:18:05.348992771 -0400
+++ kdelibs/kdeprint/lpdunix/CMakeLists.txt 2012-09-05 16:18:13.274841407 -0400
@@ -28,6 +28,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kdeprint/ext/CMakeLists.txt.ORI 2012-09-05 16:19:06.696820851 -0400
+++ kdelibs/kdeprint/ext/CMakeLists.txt 2012-09-05 16:19:13.589689130 -0400
@@ -26,6 +26,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/interfaces/kmediaplayer/kfileaudiopreview/CMakeLists.txt.ORI 2012-09-05 16:20:09.255625011 -0400
+++ kdelibs/interfaces/kmediaplayer/kfileaudiopreview/CMakeLists.txt 2012-09-05 16:20:16.883479148 -0400
@@ -28,6 +28,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
${ARTS_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/khtml/CMakeLists.txt.ORI 2012-09-05 16:21:17.056328088 -0400
+++ kdelibs/khtml/CMakeLists.txt 2012-09-05 16:21:23.855197987 -0400
@@ -46,6 +46,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kspell2/ui/CMakeLists.txt.ORI 2012-09-05 16:22:21.155101145 -0400
+++ kdelibs/kspell2/ui/CMakeLists.txt 2012-09-05 16:22:28.929952270 -0400
@@ -25,6 +25,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kcmshell/CMakeLists.txt.ORI 2012-09-05 16:23:26.764844457 -0400
+++ kdelibs/kcmshell/CMakeLists.txt 2012-09-05 16:23:32.943726066 -0400
@@ -23,6 +23,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kmdi/kmdi/CMakeLists.txt.ORI 2012-09-05 16:24:30.703618985 -0400
+++ kdelibs/kmdi/kmdi/CMakeLists.txt 2012-09-05 16:24:36.946499290 -0400
@@ -25,6 +25,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kmdi/CMakeLists.txt.ORI 2012-09-05 16:25:27.631527239 -0400
+++ kdelibs/kmdi/CMakeLists.txt 2012-09-05 16:25:33.639411986 -0400
@@ -27,6 +27,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kspell2/plugins/ispell/CMakeLists.txt.ORI 2012-09-05 16:26:26.062406048 -0400
+++ kdelibs/kspell2/plugins/ispell/CMakeLists.txt 2012-09-05 16:26:31.159308217 -0400
@@ -19,6 +19,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kspell2/plugins/aspell/CMakeLists.txt.ORI 2012-09-05 16:27:38.670011962 -0400
+++ kdelibs/kspell2/plugins/aspell/CMakeLists.txt 2012-09-05 16:27:44.931891687 -0400
@@ -21,6 +21,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
${ASPELL_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kabc/formats/CMakeLists.txt.ORI 2012-09-05 16:28:38.501862464 -0400
+++ kdelibs/kabc/formats/CMakeLists.txt 2012-09-05 16:28:44.382749443 -0400
@@ -24,6 +24,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kabc/plugins/ldapkio/CMakeLists.txt.ORI 2012-09-05 16:29:38.283713293 -0400
+++ kdelibs/kabc/plugins/ldapkio/CMakeLists.txt 2012-09-05 16:29:44.129600887 -0400
@@ -27,6 +27,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kabc/plugins/file/CMakeLists.txt.ORI 2012-09-05 16:30:42.311481817 -0400
+++ kdelibs/kabc/plugins/file/CMakeLists.txt 2012-09-05 16:30:47.634379406 -0400
@@ -27,6 +27,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/interfaces/ktexteditor/CMakeLists.txt.ORI 2012-09-05 16:31:40.221367404 -0400
+++ kdelibs/interfaces/ktexteditor/CMakeLists.txt 2012-09-05 16:31:47.174233563 -0400
@@ -28,6 +28,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kabc/plugins/dir/CMakeLists.txt.ORI 2012-09-05 16:32:39.930217776 -0400
+++ kdelibs/kabc/plugins/dir/CMakeLists.txt 2012-09-05 16:32:45.775105207 -0400
@@ -27,6 +27,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kabc/plugins/net/CMakeLists.txt.ORI 2012-09-05 16:33:52.745814992 -0400
+++ kdelibs/kabc/plugins/net/CMakeLists.txt 2012-09-05 16:34:01.271650687 -0400
@@ -27,6 +27,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kdeprint/cups/CMakeLists.txt.ORI 2012-09-05 16:35:01.843483032 -0400
+++ kdelibs/kdeprint/cups/CMakeLists.txt 2012-09-05 16:35:10.784310629 -0400
@@ -35,6 +35,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kdeprint/rlpr/CMakeLists.txt.ORI 2012-09-05 16:36:01.783326981 -0400
+++ kdelibs/kdeprint/rlpr/CMakeLists.txt 2012-09-05 16:36:08.502197359 -0400
@@ -29,6 +29,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kate/plugins/wordcompletion/CMakeLists.txt.ORI 2012-09-05 16:37:02.425156810 -0400
+++ kdelibs/kate/plugins/wordcompletion/CMakeLists.txt 2012-09-05 16:37:08.514039285 -0400
@@ -21,6 +21,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
##### other data ################################
--- kdelibs/kate/plugins/isearch/CMakeLists.txt.ORI 2012-09-05 16:38:01.583014723 -0400
+++ kdelibs/kate/plugins/isearch/CMakeLists.txt 2012-09-05 16:38:07.610898319 -0400
@@ -22,6 +22,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kate/interfaces/CMakeLists.txt.ORI 2012-09-05 16:39:02.822865446 -0400
+++ kdelibs/kate/interfaces/CMakeLists.txt 2012-09-05 16:39:11.673700838 -0400
@@ -21,6 +21,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kdeprint/lpr/CMakeLists.txt.ORI 2012-09-05 16:40:04.179723987 -0400
+++ kdelibs/kdeprint/lpr/CMakeLists.txt 2012-09-05 16:40:15.471513833 -0400
@@ -29,6 +29,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kate/plugins/insertfile/CMakeLists.txt.ORI 2012-09-05 16:41:07.687541674 -0400
+++ kdelibs/kate/plugins/insertfile/CMakeLists.txt 2012-09-05 16:41:13.326436653 -0400
@@ -24,6 +24,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kate/plugins/kdatatool/CMakeLists.txt.ORI 2012-09-05 16:42:09.313393591 -0400
+++ kdelibs/kate/plugins/kdatatool/CMakeLists.txt 2012-09-05 16:42:15.058286525 -0400
@@ -24,6 +24,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
--- kdelibs/kate/part/CMakeLists.txt.ORI 2012-09-05 16:43:06.975318648 -0400
+++ kdelibs/kate/part/CMakeLists.txt 2012-09-05 16:43:13.228202040 -0400
@@ -35,6 +35,7 @@
link_directories(
${TQT_LIBRARY_DIRS}
${LUA_LIBRARY_DIRS}
+ ${XRENDER_LIBRARY_DIRS}
)
##### kate (static library) #####################

@ -1,40 +0,0 @@
diff -Naur kdelibs.orig/kio/kio/kmimemagic.cpp kdelibs/kio/kio/kmimemagic.cpp
--- kdelibs.orig/kio/kio/kmimemagic.cpp 2011-08-11 04:30:08.000000000 +0200
+++ kdelibs/kio/kio/kmimemagic.cpp 2011-11-19 23:23:41.000000000 +0100
@@ -1988,8 +1988,9 @@
return 1;
}
-/* Maximal length of a line we consider "reasonable". */
-#define TEXT_MAXLINELEN 300
+/* Code removed below: conf files with big lines ARE text files,
+ * there is no "reasonable" length
+ */
// This code is taken from the "file" command, where it is licensed
// in the "beer-ware license" :-)
@@ -2007,23 +2008,6 @@
if ((*cp < 8) || (*cp>13 && *cp<32 && *cp!=27 ) || (*cp==0x7F))
return 0;
- /* Now, look whether the file consists of lines of
- * "reasonable" length. */
-
- for (i = 0; i < nbytes;) {
- cp = (unsigned char *) memchr(buf, '\n', nbytes - i);
- if (cp == NULL) {
- /* Don't fail if we hit the end of buffer. */
- if (i + TEXT_MAXLINELEN >= nbytes)
- break;
- else
- return 0;
- }
- if (cp - buf > TEXT_MAXLINELEN)
- return 0;
- i += (cp - buf + 1);
- buf = cp + 1;
- }
conf->resultBuf = MIME_TEXT_PLAIN;
return 1;
}

@ -1,53 +0,0 @@
commit e9f29cfb2a76657f150ec585fa6775f372d7e460
Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: 1343238048 -0500
Prevent XDG autostart files from starting multiple times
This resolves Bug 1096
diff --git a/kinit/autostart.cpp b/kinit/autostart.cpp
index 4880039..c7feb17 100644
--- a/kinit/autostart.cpp
+++ b/kinit/autostart.cpp
@@ -214,6 +214,32 @@ AutoStart::loadAutoStartList()
}
m_startList->append(item);
}
+
+ // Check for duplicate entries and remove if found
+ TQPtrListIterator<AutoStartItem> it1(*m_startList);
+ TQPtrListIterator<AutoStartItem> it2(*m_startList);
+ AutoStartItem *item1;
+ AutoStartItem *item2;
+ while ((item1 = it1.current()) != 0) {
+ bool dupfound1 = false;
+ it2.toFirst();
+ while ((item2 = it2.current()) != 0) {
+ bool dupfound2 = false;
+ if (item2 != item1) {
+ if (item1->service == item2->service) {
+ m_startList->removeRef(item2);
+ dupfound1 = true;
+ dupfound2 = true;
+ }
+ }
+ if (!dupfound2) {
+ ++it2;
+ }
+ }
+ if (!dupfound1) {
+ ++it1;
+ }
+ }
}
TQString
@@ -241,7 +267,7 @@ AutoStart::startService()
}
m_started.remove(m_started.begin());
}
-
+
// Check for items that don't depend on anything
AutoStartItem *item;
for(item = m_startList->first();

@ -1,41 +0,0 @@
commit 1c06ae32f64450c38f1294b8adda2fd9a6cc98b1
Author: Darrell Anderson <humanreadable@yahoo.com>
Date: 1331690106 -0500
Reduce "More Applications" and extra koffice items from TDE menu.
This partially resolves bug report 653.
diff --git a/kded/applications.menu b/kded/applications.menu
index 4b30a56..380196e 100644
--- a/kded/applications.menu
+++ b/kded/applications.menu
@@ -272,16 +272,6 @@
</And>
</Include>
<Menu>
- <Name>Email</Name>
- <Directory>kde-internet-email.directory</Directory>
- <Include>
- <And>
- <Category>Email</Category>
- <Not><Category>X-KDE-More</Category></Not>
- </And>
- </Include>
- </Menu>
- <Menu>
<Name>Terminal</Name>
<Directory>kde-internet-terminal.directory</Directory>
</Menu>
@@ -321,12 +311,6 @@
<Directory>kde-office.directory</Directory>
<Layout>
<Merge type="menus"/>
- <Filename>kde-koshell.desktop</Filename>
- <Filename>kde-Kontact.desktop</Filename>
- <Separator/>
- <Filename>kde-kword.desktop</Filename>
- <Filename>kde-kspread.desktop</Filename>
- <Filename>kde-kpresenter.desktop</Filename>
<Merge type="files"/>
<Separator/>
<Menuname>More</Menuname>

@ -1,21 +0,0 @@
commit 87363770ea3fe6167445b6d445ca563f2a3f05fc
Author: Darrell Anderson <humanreadable@yahoo.com>
Date: 1339430277 -0500
Restore tdesu dialog "Keep password" check box default to disabled/unchecked.
diff --git a/tdesu/defaults.h b/tdesu/defaults.h
index 4649b2b..7fd724e 100644
--- a/kdesu/defaults.h
+++ b/kdesu/defaults.h
@@ -13,9 +13,8 @@
#ifndef __Defaults_h_included__
#define __Defaults_h_included__
-/*const int defTimeout = 120*60;*/
const int defTimeout = 120*60;
const int defEchoMode = 0;
-const int defKeep = true;
+const int defKeep = false;
#endif

@ -1,115 +0,0 @@
commit dca4c677237b01768f5d6d798a2d918547d2ee8e
Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: 1341289561 -0500
Update iso kioslave to better handle large images
diff --git a/kioslave/iso/kiso.cpp b/kioslave/iso/kiso.cpp
index c9e2d43..9ec1f1c 100644
--- a/kioslave/iso/kiso.cpp
+++ b/kioslave/iso/kiso.cpp
@@ -188,7 +188,7 @@ KIso::~KIso()
}
/* callback function for libisofs */
-static int readf(char *buf, long start, long len,void *udata) {
+static int readf(char *buf, long long start, long long len,void *udata) {
TQIODevice* dev = ( static_cast<KIso*> (udata) )->device();
diff --git a/kioslave/iso/libisofs/isofs.c b/kioslave/iso/libisofs/isofs.c
index e599450..f1db442 100644
--- a/kioslave/iso/libisofs/isofs.c
+++ b/kioslave/iso/libisofs/isofs.c
@@ -122,7 +122,7 @@ void FreeBootTable(boot_head *boot) {
boot->defentry=NULL;
}
-int BootImageSize(int media,long len) {
+int BootImageSize(int media,long long len) {
long long ret;
switch(media & 0xf) {
@@ -158,7 +158,7 @@ static boot_entry *CreateBootEntry(char *be) {
return entry;
}
-int ReadBootTable(readfunc *read,long sector, boot_head *head, void *udata) {
+int ReadBootTable(readfunc *read,long long sector, boot_head *head, void *udata) {
char buf[2048], *c, *be;
int i,end=0;
@@ -221,7 +221,7 @@ err:
/**
* Creates the linked list of the volume descriptors
*/
-iso_vol_desc *ReadISO9660(readfunc *read,long sector,void *udata) {
+iso_vol_desc *ReadISO9660(readfunc *read,long long sector,void *udata) {
int i;
struct iso_volume_descriptor buf;
@@ -577,7 +577,7 @@ int level=0,joliet=0,dirs,files;
iconv_t iconv_d;
int fd;
-int readf(char *buf, long start, long len,void *udata) {
+int readf(char *buf, long long start, long long len,void *udata) {
int ret;
if ((ret=lseek64(fd, start << 11, SEEK_SET))<0) return ret;
diff --git a/kioslave/iso/libisofs/isofs.h b/kioslave/iso/libisofs/isofs.h
index b8971a4..1d17de4 100644
--- a/kioslave/iso/libisofs/isofs.h
+++ b/kioslave/iso/libisofs/isofs.h
@@ -50,13 +50,13 @@ typedef struct _rr_entry {
int re; /* relocated */
char z_algo[2]; /* zizofs algorithm */
char z_params[2]; /* zizofs parameters */
- long z_size; /* zizofs real_size */
+ long long z_size; /* zizofs real_size */
} rr_entry;
typedef struct _iso_vol_desc {
struct _iso_vol_desc *next;
struct _iso_vol_desc *prev;
- struct iso_volume_descriptor data;
+ struct iso_volume_descriptor data;
} iso_vol_desc;
typedef struct _boot_entry {
@@ -78,7 +78,7 @@ typedef struct _boot_head {
/**
* this callback function needs to read 'len' sectors from 'start' into 'buf'
*/
-typedef int readfunc(char *buf,long start, long len,void *);
+typedef int readfunc(char *buf,long long start, long long len,void *);
/**
* ProcessDir uses this callback
@@ -107,7 +107,7 @@ time_t isodate_84261(char * p, int hs);
* If the function fails, returns NULL
* Don't forget to call FreeISO9660 after using the volume descriptor list!
*/
-iso_vol_desc *ReadISO9660(readfunc *read,long sector,void *udata);
+iso_vol_desc *ReadISO9660(readfunc *read,long long sector,void *udata);
/**
* Frees the linked list of volume descriptors
@@ -140,7 +140,7 @@ int JolietLevel(struct iso_volume_descriptor *ivd);
/**
* Returns the size of the boot image (in 512 byte sectors)
*/
-int BootImageSize(int media,long len);
+int BootImageSize(int media,long long len);
/**
* Frees the boot catalog entries in 'boot'. If you ever called ReadBootTable,
@@ -151,7 +151,7 @@ void FreeBootTable(boot_head *boot);
/**
* Reads the boot catalog into 'head'. Don't forget to call FreeBootTable!
*/
-int ReadBootTable(readfunc *read,long sector, boot_head *head, void *udata);
+int ReadBootTable(readfunc *read,long long sector, boot_head *head, void *udata);
#ifdef __cplusplus
} //extern "C"

@ -1,15 +0,0 @@
--- kdelibs-3.5.13.1/kio/kio/tcpslavebase.cpp.ORI 2012-12-29 11:25:06.736204632 +0100
+++ kdelibs-3.5.13.1/kio/kio/tcpslavebase.cpp 2012-12-29 11:25:32.731669416 +0100
@@ -853,10 +853,12 @@
permacache = d->cc->isPermanent(pc);
}
+/*
if (!_IPmatchesCN && cp == KSSLCertificateCache::Accept) {
cp = KSSLCertificateCache::Prompt;
// ksv = KSSLCertificate::Ok;
}
+*/
// Precondition: cp is one of Reject, Accept or Prompt
switch (cp) {

@ -1,434 +0,0 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
%define _docdir %{tde_docdir}
Name: trinity-tdelibs
Version: 3.5.13.1
Release: 2%{?dist}%{?_variant}
License: GPL
Summary: TDE Libraries
Group: Environment/Libraries
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdelibs-3.5.13.1.tar.gz
# [kdelibs] Security popup always appear on invalid SSL certificate, even when set
# to "always accept" [Bug #1287]
Patch1: kdelibs-3.5.13.1-disable_invalid_certificate_always_prompt.patch
Obsoletes: tdelibs < %{version}-%{release}
Provides: tdelibs = %{version}-%{release}
Obsoletes: trinity-kdelibs < %{version}-%{release}
Provides: trinity-kdelibs = %{version}-%{release}
Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release}
Provides: trinity-kdelibs-apidocs = %{version}-%{release}
BuildRequires: cmake >= 2.8
BuildRequires: libtool
BuildRequires: trinity-tqtinterface-devel >= %{version}
BuildRequires: trinity-arts-devel >= %{version}
BuildRequires: krb5-devel
BuildRequires: libxslt-devel
BuildRequires: cups-devel
BuildRequires: libart_lgpl-devel
BuildRequires: pcre-devel
BuildRequires: openssl-devel
BuildRequires: gcc-c++
BuildRequires: alsa-lib-devel
BuildRequires: libidn-devel
BuildRequires: qt3-devel
BuildRequires: libtiff-devel
BuildRequires: glib2-devel
BuildRequires: gamin-devel
BuildRequires: aspell
BuildRequires: aspell-devel
# LUA support are not ready yet
#BuildRequires: lua-devel
# BZIP2 support
%if 0%{?suse_version}
BuildRequires: libbz2-devel
%else
BuildRequires: bzip2-devel
%endif
# UTEMPTER support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: libutempter-devel
%endif
%if 0%{?rhel} == 4
BuildRequires: utempter
%endif
%if 0%{?suse_version}
BuildRequires: utempter-devel
%endif
# HSPELL support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_hspell 1
BuildRequires: hspell-devel
%endif
# JASPER support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_jasper 1
%if 0%{?suse_version}
BuildRequires: libjasper-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}jasper-devel
%endif
%if 0%{?rhel} || 0%{?fedora}
BuildRequires: jasper-devel
%endif
%endif
# AVAHI support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_avahi 1
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: trinity-avahi-tqt-devel >= %{version}
BuildRequires: %{_lib}avahi-client-devel
Requires: %{_lib}avahi-client3
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: trinity-avahi-tqt-devel >= %{version}
BuildRequires: avahi-devel
Requires: avahi
%endif
%endif
# OPENEXR support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_openexr 1
BuildRequires: OpenEXR-devel
%endif
# LIBTOOL
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}ltdl-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: libtool-ltdl-devel
%endif
%if 0%{?rhel} == 4
BuildRequires: libtool
%endif
# X11 support
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: x11-proto-devel
BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: xorg-x11-proto-devel
BuildRequires: libXcomposite-devel
%endif
%if 0%{?rhel} == 4
BuildRequires: xorg-x11-devel
%endif
# ICEAUTH
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
Requires: iceauth
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora}
Requires: xorg-x11-server-utils
%endif
%if 0%{?rhel} == 4
Requires: xorg-x11
%endif
Requires: trinity-tqtinterface >= %{version}
Requires: trinity-arts >= %{version}
Requires: qt3 >= 3.3.8.d
%description
Libraries for the Trinity Desktop Environment:
TDE Libraries included: tdecore (TDE core library), kdeui (user interface),
kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking),
kspell (spelling checker), jscript (javascript), kab (addressbook),
kimgio (image manipulation).
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB README TODO
%{tde_bindir}/artsmessage
%{tde_bindir}/cupsdconf
%{tde_bindir}/cupsdoprint
%{tde_bindir}/dcop
%{tde_bindir}/dcopclient
%{tde_bindir}/dcopfind
%{tde_bindir}/dcopobject
%{tde_bindir}/dcopquit
%{tde_bindir}/dcopref
%{tde_bindir}/dcopserver
%{tde_bindir}/dcopserver_shutdown
%{tde_bindir}/dcopstart
%{tde_bindir}/filesharelist
%{tde_bindir}/fileshareset
%{tde_bindir}/imagetops
%{tde_bindir}/kab2kabc
%{tde_bindir}/kaddprinterwizard
%{tde_bindir}/kbuildsycoca
%{tde_bindir}/kcmshell
%{tde_bindir}/kconf_update
%{tde_bindir}/kcookiejar
%{tde_bindir}/kde-config
%{tde_bindir}/kde-menu
%{tde_bindir}/kded
%{tde_bindir}/kdeinit
%{tde_bindir}/kdeinit_shutdown
%{tde_bindir}/kdeinit_wrapper
%{tde_bindir}/kdesu_stub
%{tde_bindir}/kdontchangethehostname
%{tde_bindir}/kdostartupconfig
%{tde_bindir}/kfile
%{tde_bindir}/kfmexec
%{tde_bindir}/khotnewstuff
%{tde_bindir}/kinstalltheme
%{tde_bindir}/kio_http_cache_cleaner
%{tde_bindir}/kio_uiserver
%{tde_bindir}/kioexec
%{tde_bindir}/kioslave
%{tde_bindir}/klauncher
%{tde_bindir}/kmailservice
%{tde_bindir}/kmimelist
%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper
%{tde_bindir}/ksendbugmail
%{tde_bindir}/kshell
%{tde_bindir}/kstartupconfig
%{tde_bindir}/ktelnetservice
%{tde_bindir}/ktradertest
%{tde_bindir}/kwrapper
%{tde_bindir}/lnusertemp
%{tde_bindir}/make_driver_db_cups
%{tde_bindir}/make_driver_db_lpr
%{tde_bindir}/meinproc
%{tde_bindir}/networkstatustestservice
%{tde_bindir}/start_kdeinit
%{tde_bindir}/start_kdeinit_wrapper
%attr(4755,root,root) %{tde_bindir}/kgrantpty
%{tde_tdelibdir}/*
%{tde_libdir}/lib*.so.*
%{tde_libdir}/lib[kt]deinit_*.la
%{tde_libdir}/lib[kt]deinit_*.so
%{tde_datadir}/applications/kde/*.desktop
%{tde_datadir}/autostart/kab2kabc.desktop
%{tde_datadir}/applnk/kio_iso.desktop
%{tde_datadir}/apps/*
%exclude %{tde_datadir}/apps/ksgmltools2/
%config(noreplace) %{tde_datadir}/config/*
%{tde_datadir}/emoticons/*
%{tde_datadir}/icons/default.kde
%{tde_datadir}/mimelnk/magic
%{tde_datadir}/mimelnk/*/*.desktop
%{tde_datadir}/services/*
%{tde_datadir}/servicetypes/*
%{tde_datadir}/icons/crystalsvg/
%{tde_tdedocdir}/HTML/en/kspell/
# remove conflicts with kdelibs-4
%if "%{?tde_prefix}" != "/usr"
%{tde_bindir}/checkXML
%{tde_bindir}/ksvgtopng
%{tde_bindir}/kunittestmodrunner
%{tde_bindir}/preparetips
%{tde_datadir}/icons/hicolor/index.theme
%{tde_datadir}/locale/all_languages
%{tde_tdedocdir}/HTML/en/common/*
%{_sysconfdir}/ld.so.conf.d/trinity.conf
%else
%exclude %{tde_bindir}/checkXML
%exclude %{tde_bindir}/ksvgtopng
%exclude %{tde_bindir}/kunittestmodrunner
%exclude %{tde_bindir}/preparetips
%exclude %{tde_datadir}/config/colors
%exclude %{tde_datadir}/config/kdebug.areas
%exclude %{tde_datadir}/config/kdebugrc
%exclude %{tde_datadir}/config/ksslcalist
%exclude %{tde_datadir}/config/ui/ui_standards.rc
%exclude %{tde_datadir}/icons/hicolor/index.theme
%exclude %{tde_datadir}/locale/all_languages
%exclude %{tde_tdedocdir}/HTML/en/common/*
%endif
# Avoid conflict with 'redhat-menus' package
%if "%{tde_prefix}" == "/usr"
%{_sysconfdir}/xdg/menus/kde-applications.menu
%else
%{tde_prefix}/etc/xdg/menus/kde-applications.menu
%endif
# New in TDE 3.5.13
%{tde_bindir}/kdetcompmgr
%pre
# Bug 1074
if [ -d %{tde_datadir}/locale/all_languages ]; then
rm -rf %{tde_datadir}/locale/all_languages
fi
%post
/sbin/ldconfig || :
%postun
/sbin/ldconfig || :
##########
%package devel
Summary: %{name} - Development files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: tdelibs-devel < %{version}-%{release}
Provides: tdelibs-devel = %{version}-%{release}
Obsoletes: trinity-kdelibs-devel < %{version}-%{release}
Provides: trinity-kdelibs-devel = %{version}-%{release}
%description devel
This package includes the header files you will need to compile
applications for TDE.
%files devel
%defattr(-,root,root,-)
%{tde_bindir}/dcopidl*
%{tde_bindir}/kconfig_compiler
%{tde_bindir}/makekdewidgets
%{tde_datadir}/apps/ksgmltools2/
%{tde_tdeincludedir}/*
%{tde_libdir}/*.la
%{tde_libdir}/*.so
%{tde_libdir}/*.a
%exclude %{tde_libdir}/libkdeinit_*.la
%exclude %{tde_libdir}/libkdeinit_*.so
# New in TDE 3.5.13
%{tde_datadir}/cmake/kdelibs.cmake
%post devel
/sbin/ldconfig || :
%postun devel
/sbin/ldconfig || :
##########
%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif
##########
%prep
%setup -q -n kdelibs-3.5.13.1
%patch1 -p1
%build
unset QTDIR || : ; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
# We need LD_LIBRARY_PATH here because ld.so.conf file has not been written yet
export LD_LIBRARY_PATH="%{tde_libdir}"
if [ -d /usr/X11R6 ]; then
export CXXFLAGS="${RPM_OPT_FLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include"
fi
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%__mkdir_p build
cd build
%endif
%cmake \
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
-DBIN_INSTALL_DIR=%{tde_bindir} \
-DDOC_INSTALL_DIR=%{tde_docdir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \
-DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DCMAKE_SKIP_RPATH="OFF" \
-DWITH_ARTS=ON \
-DWITH_ALSA=ON \
-DWITH_LIBART=ON \
-DWITH_LIBIDN=ON \
-DWITH_SSL=ON \
-DWITH_CUPS=ON \
-DWITH_LUA=OFF \
-DWITH_TIFF=ON \
%{?with_jasper:-DWITH_JASPER=ON} \
%{?with_hspell:-DWITH_HSPELL=ON} \
%{?with_openexr:-DWITH_OPENEXR=ON} \
%{?with_avahi:-DWITH_AVAHI=ON} \
%if 0%{?rhel} == 4
-DWITH_PCRE=OFF \
-DWITH_INOTIFY=OFF \
%else
-DWITH_PCRE=ON \
-DWITH_INOTIFY=ON \
%endif
-DWITH_UTEMPTER=ON \
-DWITH_ASPELL=ON \
-DWITH_GAMIN=ON \
..
%__make %{?_smp_mflags}
%install
%__rm -rf %{?buildroot}
%__make install DESTDIR=%{?buildroot} -C build
%if "%{?tde_prefix}" != "/usr"
%__mkdir_p %{?buildroot}%{_sysconfdir}/ld.so.conf.d
cat <<EOF >%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf
%{tde_libdir}
EOF
%endif
# Moves the XDG configuration files to TDE directory
%if "%{tde_prefix}" != "/usr"
%__install -p -D -m644 \
"%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \
"%{?buildroot}%{tde_prefix}/etc/xdg/menus/kde-applications.menu"
%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg"
%else
%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu"
%endif
%clean
%__rm -rf %{?buildroot}
%changelog
* Tue Sep 11 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
- Initial release for TDE 3.5.13.1

@ -1,11 +0,0 @@
--- trinity-tdelibs-3.5.13.2/kdeui/kpassivepopup.cpp.ORI 2013-02-16 23:33:04.657067698 +0100
+++ trinity-tdelibs-3.5.13.2/kdeui/kpassivepopup.cpp 2013-02-16 23:34:42.083107895 +0100
@@ -152,7 +152,7 @@
}
if ( !text.isEmpty() ) {
- msg = new TQLabel( text, vb, "msg_label" );
+ const char* m = text.latin1(); msg = new TQLabel( TQString::fromUtf8(m), vb, "msg_label" );
msg->setAlignment( AlignLeft );
}

@ -1,520 +0,0 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
%define tde_tdedocdir %{tde_docdir}/kde
%define tde_tdeincludedir %{tde_includedir}/kde
%define tde_tdelibdir %{tde_libdir}/trinity
%define _docdir %{tde_docdir}
Name: trinity-tdelibs
Version: 3.5.13
Release: 12%{?dist}%{?_variant}
License: GPL
Summary: TDE Libraries
Group: Environment/Libraries
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdelibs-%{version}.tar.gz
Obsoletes: tdelibs < %{version}-%{release}
Provides: tdelibs = %{version}-%{release}
Obsoletes: trinity-kdelibs < %{version}-%{release}
Provides: trinity-kdelibs = %{version}-%{release}
Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release}
Provides: trinity-kdelibs-apidocs = %{version}-%{release}
## [kdelibs/kio] Disable 'max line length' detection [Bug #656]
Patch10: kdelibs-3.5.13-maxlinelength.patch
## [kdelibs/kjs] Enable pcre support in kdelibs [Bug #569]
Patch11: kdelibs-3.5.13-enable_pcre.patch
## [kdelibs/kate] Updated syntax highlighting files [Bug #764]
Patch12: kdelibs-3.5.13-kate_syntax.patch.gz
## [kdelibs] Adds Inotify support (backport commit 24f144fa)
Patch13: kdelibs-3.5.13-add_inotify_support.patch
## [kdelibs] Add fam/gamin support to tdelibs CMake (backport commit 2b035349)
Patch14: kdelibs-3.5.13-enable_fam_gamin.patch
## [kdelibs/kioslave/http] Fix UTF8 Encoding for WebDAV directories [Bug #766] [Commit #e131f10b]
Patch15: kdelibs-3.5.13-fix_UTF8_encoding_for_WebDAV_directories.patch
## [kdelibs/kdeprint] Fix add printer [Bug #383]
Patch16: kdelibs-3.5.13-fix_add_printer.patch
## [kdelibs/kio/kdirwatch] Fix "Konqueror: Does not update file pane with file changes" [Bug #756]
Patch17: kdelibs-3.5.13-fix_kdirwatch.patch
## [kdelibs/dcop] Fix 'dcoptypes.h' for compilation with GCC 4.7
Patch18: kdelibs-3.5.13-fix_dcoptypes_h.patch
## [tdelibs] Fix konq filter in list view mode. [Commit #06b51484]
Patch19: kdelibs-3.5.13-fix_konq_filter.patch
## [tdelibs] Fix tdesu internal pathing [Bug #766] [Commit #e131f10b]
Patch20: kdelibs-3.5.13-fix_tdesu_internal_pathing.patch
## [tdelibs] Fix slider drawing on external paint devices [Commit #a1c30c14]
Patch21: kdelibs-3.5.13-fix_slide_drawing.patch
## [tdelibs] Reduce "More Applications" and extra koffice items from TDE menu. [Commit #1c06ae32]
Patch22: kdelibs-3.5.13-reduce_more_applications.patch
## [tdelibs] Fix creation of profile directory in system root [Bug #293] [Commit #049525ee]
Patch23: kdelibs-3.5.13-fix_creation_of_profile_directory.patch
## [tdelibs] Initialize X11 threading when kinit is used to launch a program [Bug #812] [Commit #6c806af1]
Patch24: kdelibs-3.5.13-fix_x11_threading_when_kinit_is_used.patch
## [tdelibs] Fix composition extension detection [Commit #41ea89f7]
Patch25: kdelibs-3.5.13-fix_composition_extension_detection.patch
## [tdelibs] Fix KTempFile not obeying special bits on file creation [Bug #349] [Commit #9068fffd]
Patch26: kdelibs-3.5.13-fix_ktempfile_special_bits.patch
## [tdelibs] Add dynamic label support to kpassworddialog [Commit #3c752316]
Patch27: kdelibs-3.5.13-add_dynamic_label_to_kpassword.patch
## [tdelibs] Fix FTBFS - incomplete build kspell2 [Bug #657] [Commit #3e284fad]
Patch28: kdelibs-3.5.13-fix_build_kspell2.patch
## [tdelibs] Export kdemain symbol in iso kioslave [Bug #465] [Commit #0536f0b7]
Patch29: kdelibs-3.5.13-fix_iso_kioslave.patch
## [tdelibs] Fix iso kioslave not parsing large images properly [Commit #b4bba7b5]
Patch30: kdelibs-3.5.13-fix_iso_kioslave_not_parsing_large_image_properly.patch
## [tdelibs] Fix spinbox text entry when base is not 10 [Commit #d1c71f69]
Patch32: kdelibs-3.5.13-fix_spinbox_text_entry_when_base_not_10.patch
## [tdelibs] Update iso kioslave to better handle large images [Commit #dca4c677]
Patch33: kdelibs-3.5.13-update_iso_kioslave_better_handle_large_image.patch
## [tdelibs] Restore tdesu dialog "Keep password" check box default to disabled/unchecked. [Commit #87363770]
Patch34: kdelibs-3.5.13-restore_tdesu_keeppassword_default_disabled.patch
## [tdelibs] Fix language switch inside application [Bug #1074]
Patch35: kdelibs-3.5.13-fix_all_languages_installation.patch
## [tdelibs] Prevent XDG autostart files from starting multiple times [Bug #1096] [Commit #e9f29cfb]
Patch36: kdelibs-3.5.13-prevent_xdg_autostart_multiple_times.patch
## [tdelibs] Fix xrender include dir
Patch37: kdelibs-3.5.13-fix_xrender_libdir.patch
BuildRequires: cmake >= 2.8
BuildRequires: libtool
BuildRequires: tqtinterface-devel
BuildRequires: trinity-arts-devel
BuildRequires: avahi-tqt-devel >= 3.5.13
BuildRequires: krb5-devel
BuildRequires: libxslt-devel
BuildRequires: cups-devel
BuildRequires: libart_lgpl-devel
BuildRequires: pcre-devel
BuildRequires: openssl-devel
BuildRequires: gcc-c++
BuildRequires: alsa-lib-devel
BuildRequires: libidn-devel
BuildRequires: qt3-devel
BuildRequires: libtiff-devel
BuildRequires: glib2-devel
BuildRequires: gamin-devel
BuildRequires: aspell
BuildRequires: aspell-devel
BuildRequires: OpenEXR-devel
# LUA support are not ready yet
#BuildRequires: lua-devel
%if 0%{?suse_version}
BuildRequires: utempter-devel
BuildRequires: libbz2-devel
%else
BuildRequires: libutempter-devel
BuildRequires: bzip2-devel
%endif
%if 0%{?rhel} == 4
BuildRequires: xorg-x11-devel
%else
# Hspell support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_hspell 1
BuildRequires: hspell-devel
%endif
# Jasper support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_jasper 1
%if 0%{?suse_version}
BuildRequires: libjasper-devel
%else
BuildRequires: jasper-devel
%endif
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}avahi-client-devel
BuildRequires: %{_lib}ltdl-devel
BuildRequires: x11-proto-devel
BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel
Requires: %{_lib}avahi-client3
%else
BuildRequires: avahi-devel
BuildRequires: libtool-ltdl-devel
BuildRequires: xorg-x11-proto-devel
BuildRequires: libXcomposite-devel
%endif
Requires: avahi
%endif
Requires: tqtinterface >= 3.5.13
Requires: trinity-arts >= 3.5.13
Requires: qt3
%description
Libraries for the Trinity Desktop Environment:
TDE Libraries included: tdecore (TDE core library), kdeui (user interface),
kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking),
kspell (spelling checker), jscript (javascript), kab (addressbook),
kimgio (image manipulation).
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB README TODO
%{tde_bindir}/artsmessage
%{tde_bindir}/cupsdconf
%{tde_bindir}/cupsdoprint
%{tde_bindir}/dcop
%{tde_bindir}/dcopclient
%{tde_bindir}/dcopfind
%{tde_bindir}/dcopobject
%{tde_bindir}/dcopquit
%{tde_bindir}/dcopref
%{tde_bindir}/dcopserver
%{tde_bindir}/dcopserver_shutdown
%{tde_bindir}/dcopstart
%{tde_bindir}/filesharelist
%{tde_bindir}/fileshareset
%{tde_bindir}/imagetops
%{tde_bindir}/kab2kabc
%{tde_bindir}/kaddprinterwizard
%{tde_bindir}/kbuildsycoca
%{tde_bindir}/kcmshell
%{tde_bindir}/kconf_update
%{tde_bindir}/kcookiejar
%{tde_bindir}/kde-config
%{tde_bindir}/kde-menu
%{tde_bindir}/kded
%{tde_bindir}/kdeinit
%{tde_bindir}/kdeinit_shutdown
%{tde_bindir}/kdeinit_wrapper
%{tde_bindir}/kdesu_stub
%{tde_bindir}/kdontchangethehostname
%{tde_bindir}/kdostartupconfig
%{tde_bindir}/kfile
%{tde_bindir}/kfmexec
%{tde_bindir}/khotnewstuff
%{tde_bindir}/kinstalltheme
%{tde_bindir}/kio_http_cache_cleaner
%{tde_bindir}/kio_uiserver
%{tde_bindir}/kioexec
%{tde_bindir}/kioslave
%{tde_bindir}/klauncher
%{tde_bindir}/kmailservice
%{tde_bindir}/kmimelist
%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper
%{tde_bindir}/ksendbugmail
%{tde_bindir}/kshell
%{tde_bindir}/kstartupconfig
%{tde_bindir}/ktelnetservice
%{tde_bindir}/ktradertest
%{tde_bindir}/kwrapper
%{tde_bindir}/lnusertemp
%{tde_bindir}/make_driver_db_cups
%{tde_bindir}/make_driver_db_lpr
%{tde_bindir}/meinproc
%{tde_bindir}/networkstatustestservice
%{tde_bindir}/start_kdeinit
%{tde_bindir}/start_kdeinit_wrapper
%attr(4755,root,root) %{tde_bindir}/kgrantpty
%{tde_tdelibdir}/*
%{tde_libdir}/lib*.so.*
%{tde_libdir}/lib[kt]deinit_*.la
%{tde_libdir}/lib[kt]deinit_*.so
%{tde_datadir}/applications/kde/*.desktop
%{tde_datadir}/autostart/kab2kabc.desktop
%{tde_datadir}/applnk/kio_iso.desktop
%{tde_datadir}/apps/*
%exclude %{tde_datadir}/apps/ksgmltools2/
%config(noreplace) %{tde_datadir}/config/*
%{tde_datadir}/emoticons/*
%{tde_datadir}/icons/default.kde
%{tde_datadir}/mimelnk/magic
%{tde_datadir}/mimelnk/*/*.desktop
%{tde_datadir}/services/*
%{tde_datadir}/servicetypes/*
%{tde_datadir}/icons/crystalsvg/
%{tde_tdedocdir}/HTML/en/kspell/
# remove conflicts with kdelibs-4
%if "%{?tde_prefix}" != "/usr"
%{tde_bindir}/checkXML
%{tde_bindir}/ksvgtopng
%{tde_bindir}/kunittestmodrunner
%{tde_bindir}/preparetips
%{tde_datadir}/icons/hicolor/index.theme
%{tde_datadir}/locale/all_languages
%{tde_tdedocdir}/HTML/en/common/*
%{_sysconfdir}/ld.so.conf.d/trinity.conf
%else
%exclude %{tde_bindir}/checkXML
%exclude %{tde_bindir}/ksvgtopng
%exclude %{tde_bindir}/kunittestmodrunner
%exclude %{tde_bindir}/preparetips
%exclude %{tde_datadir}/config/colors
%exclude %{tde_datadir}/config/kdebug.areas
%exclude %{tde_datadir}/config/kdebugrc
%exclude %{tde_datadir}/config/ksslcalist
%exclude %{tde_datadir}/config/ui/ui_standards.rc
%exclude %{tde_datadir}/icons/hicolor/index.theme
%exclude %{tde_datadir}/locale/all_languages
%exclude %{tde_tdedocdir}/HTML/en/common/*
%endif
# Avoid conflict with 'redhat-menus' package
%if "%{tde_prefix}" == "/usr"
%{_sysconfdir}/xdg/menus/kde-applications.menu
%else
%{tde_prefix}/etc/xdg/menus/kde-applications.menu
%endif
# New in TDE 3.5.13
%{tde_bindir}/kdetcompmgr
%pre
# Bug 1074
if [ -d %{tde_datadir}/locale/all_languages ]; then
rm -rf %{tde_datadir}/locale/all_languages
fi
%post
/sbin/ldconfig || :
%postun
/sbin/ldconfig || :
##########
%package devel
Summary: %{name} - Development files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: tdelibs-devel < %{version}-%{release}
Provides: tdelibs-devel = %{version}-%{release}
Obsoletes: trinity-kdelibs-devel < %{version}-%{release}
Provides: trinity-kdelibs-devel = %{version}-%{release}
%description devel
This package includes the header files you will need to compile
applications for TDE.
%files devel
%defattr(-,root,root,-)
%{tde_bindir}/dcopidl*
%{tde_bindir}/kconfig_compiler
%{tde_bindir}/makekdewidgets
%{tde_datadir}/apps/ksgmltools2/
%{tde_tdeincludedir}/*
%{tde_libdir}/*.la
%{tde_libdir}/*.so
%{tde_libdir}/*.a
%exclude %{tde_libdir}/libkdeinit_*.la
%exclude %{tde_libdir}/libkdeinit_*.so
# New in TDE 3.5.13
%{tde_datadir}/cmake/kdelibs.cmake
%post devel
/sbin/ldconfig || :
%postun devel
/sbin/ldconfig || :
##########
%if 0%{?suse_version}
%debug_package
%endif
##########
%prep
%setup -q -n kdelibs
%patch10 -p1
%patch11 -p0
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17 -p1
%patch18 -p1
%patch19 -p1
%patch20 -p1
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch27 -p1
%patch28 -p1
%patch29 -p1
%patch30 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch35 -p1
%patch36 -p1
%patch37 -p1
%build
unset QTDIR || : ; . /etc/profile.d/qt?.sh
export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
# We need LD_LIBRARY_PATH here because ld.so.conf file has not been written yet
export LD_LIBRARY_PATH="%{tde_libdir}"
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%__mkdir_p build
cd build
%endif
%cmake \
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
-DBIN_INSTALL_DIR=%{tde_bindir} \
-DDOC_INSTALL_DIR=%{tde_docdir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \
-DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DCMAKE_SKIP_RPATH="OFF" \
-DWITH_ARTS=ON \
-DWITH_ALSA=ON \
-DWITH_LIBART=ON \
-DWITH_LIBIDN=ON \
-DWITH_SSL=ON \
-DWITH_CUPS=ON \
-DWITH_LUA=OFF \
-DWITH_TIFF=ON \
%{?with_jasper:-DWITH_JASPER=ON} \
%{?with_hspell:-DWITH_HSPELL=ON} \
%if 0%{?rhel} == 4
-DWITH_OPENEXR=OFF \
-DWITH_PCRE=OFF \
-DWITH_INOTIFY=OFF \
-DWITH_AVAHI=OFF \
%else
-DWITH_OPENEXR=ON \
-DWITH_PCRE=ON \
-DWITH_INOTIFY=ON \
-DWITH_AVAHI=ON \
%endif
-DWITH_UTEMPTER=ON \
-DWITH_ASPELL=ON \
-DWITH_GAMIN=ON \
..
%__make %{?_smp_mflags}
%install
%__rm -rf %{?buildroot}
%__make install DESTDIR=%{?buildroot} -C build
%if "%{?tde_prefix}" != "/usr"
%__mkdir_p %{?buildroot}%{_sysconfdir}/ld.so.conf.d
cat <<EOF >%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf
%{tde_libdir}
EOF
%endif
# Moves the XDG configuration files to TDE directory
%if "%{tde_prefix}" != "/usr"
%__install -p -D -m644 \
"%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \
"%{?buildroot}%{tde_prefix}/etc/xdg/menus/kde-applications.menu"
%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg"
%else
%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu"
%endif
%clean
%__rm -rf %{?buildroot}
%changelog
* Sat Aug 18 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-12
- Fix language switch inside application [Bug #1074]
- Removes patch 'Add ability to set KLed off color [Commit #513ffc6e]'
- Prevent XDG autostart files from starting multiple times [Bug #1096] [Commit #e9f29cfb]
* Sun Jul 22 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-11
- Fix iso kioslave not parsing large images properly [Commit #b4bba7b5]
- Add ability to set KLed off color [Commit #513ffc6e]
- Fix spinbox text entry when base is not 10 [Commit #d1c71f69]
- Update iso kioslave to better handle large images [Commit #dca4c677]
- Restore tdesu dialog "Keep password" check box default to disabled/unchecked. [Commit #87363770]
* Tue Jun 26 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-10
- Renames to 'trinity-tdelibs'
- Enable 'aspell', 'hspell' and 'libidn'
- Export kdemain symbol in iso kioslave [Bug #465] [Commit #0536f0b7]
* Tue Jun 19 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-9
- Renames to 'tdelibs'
- Fix 'ld.so.conf' file
- Fix konq filter in list view mode. [Commit #06b51484]
- Fix tdesu internal pathing [Bug #766] [Commit #e131f10b]
- Fix slider drawing on external paint devices [Commit #a1c30c14]
- Reduce "More Applications" and extra koffice items from TDE menu. [Commit #1c06ae32]
- Fix creation of profile directory in system root [Bug #293] [Commit #049525ee]
- Initialize X11 threading when kinit is used to launch a program [Bug #812] [Commit #6c806af1]
- Fix composition extension detection [Commit #41ea89f7]
- Fix KTempFile not obeying special bits on file creation [Bug #349] [Commit #9068fffd]
- Add dynamic label support to kpassworddialog [Commit #3c752316]
- Fix FTBFS - incomplete build kspell2 [Bug #657] [Commit #3e284fad]
* Tue Apr 24 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-8
- Fix "Konqueror: Does not update file pane with file changes" [Bug #756]
- Fix compilation with GCC 4.7
* Sat Jan 21 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-7
- Fix UTF8 Encoding for WebDAV directories
- Fix hardcoded path in 'add printer' [Bug #383]
* Mon Jan 16 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-6
- Adds 'fam' and 'gamin' support
* Sat Jan 14 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-5
- Adds 'inotify' support
* Sat Dec 31 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-4
- Enable pcre support in kdelibs [Bug #569]
- Updated Kate syntax highlighting files [Bug #764]
- Disable 'max line length' detection [Bug #656]
- Add 'Provides: kdelibs3' to avoid installing distro-provided KDE3 libraries
* Sat Nov 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-3
- Moves XDG files in TDE prefix to avoid conflict with distro-provided KDE
* Thu Nov 03 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
- Add missing BuildRequires
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Wed Sep 02 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT

@ -19,11 +19,6 @@
# Remove qt-devel and qt3-devel and any kde*-devel on your system !
# Having KDE libraries may cause FTBFS here !
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE variables
%define tde_version 14.0.0
%define tde_prefix /opt/trinity
@ -32,13 +27,17 @@
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
%define _docdir %{tde_docdir}
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
Name: trinity-tdelibs
Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
@ -69,13 +68,12 @@ Provides: trinity-kdelibs-apidocs = %{version}-%{release}
# Trinity dependencies
BuildRequires: libtqt3-mt-devel >= 3.5.0
BuildRequires: libtqt4-devel >= 1:4.2.0
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: libtqt4-devel = 2:4.2.0
BuildRequires: trinity-arts-devel >= 2:1.5.10
BuildRequires: libdbus-tqt-1-devel >= 2:0.63
BuildRequires: libdbus-1-tqt-devel >= 2:0.9
Requires: trinity-arts >= 1:1.5.10
Requires: trinity-arts >= 2:1.5.10
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
@ -127,55 +125,6 @@ BuildRequires: libbz2-devel
BuildRequires: bzip2-devel
%endif
# UDEV support
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6
%define with_tdehwlib 1
BuildRequires: libudev-devel
%endif
# HAL support
%if 0%{?rhel} == 5
%define with_hal 1
%endif
# UDISKS support
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} == 6
%define with_udisks 1
BuildRequires: udisks-devel
Requires: udisks
%endif
# PMOUNT support
#Requires: pmount
# UDISKS2 support
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 7
%define with_udisks2 1
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
BuildRequires: libudisks2-devel
%else
BuildRequires: udisks2-devel
%endif
Requires: udisks2
%endif
# DEVICEKIT POWER support
%if 0%{?rhel} == 6
%define with_devkitpower 1
Requires: DeviceKit-power
%endif
# UPOWER support
%if 0%{?fedora} || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?rhel} >= 7
%define with_upower 1
Requires: upower
%endif
# SYSTEMD support
%if 0%{?fedora} || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?rhel} >= 7
%define with_systemd 1
%endif
# UTEMPTER support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: libutempter-devel
@ -281,20 +230,6 @@ BuildRequires: xz-devel
%endif
%endif
# NETWORKMANAGER support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version}
%define with_nm 1
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}nm-util-devel
%endif
%if 0%{?rhel} >= 6 || 0%{?fedora}
BuildRequires: NetworkManager-glib-devel
%endif
%if 0%{?suse_version}
BuildRequires: NetworkManager-devel
%endif
%endif
# Certificates support
%if 0%{?rhel} >= 6 || 0%{?fedora}
%define cacert %{_sysconfdir}/ssl/certs/ca-certificates.crt
@ -323,6 +258,69 @@ BuildRequires: libXt-devel
# LIBMAGIC support
BuildRequires: file-devel
# NETWORKMANAGER support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version}
%define with_nm 1
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}nm-util-devel
%endif
%if 0%{?rhel} >= 6 || 0%{?fedora}
BuildRequires: NetworkManager-glib-devel
%endif
%if 0%{?suse_version}
BuildRequires: NetworkManager-devel
%endif
%endif
# UDEV support
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6
%define with_tdehwlib 1
BuildRequires: libudev-devel
%endif
# HAL support
%if 0%{?rhel} == 5
%define with_hal 1
%endif
# UDISKS support
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} == 6
%define with_udisks 1
BuildRequires: udisks-devel
Requires: udisks
%endif
# PMOUNT support
#Requires: pmount
# UDISKS2 support
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 7
%define with_udisks2 1
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
BuildRequires: libudisks2-devel
%else
BuildRequires: udisks2-devel
%endif
Requires: udisks2
%endif
# DEVICEKIT POWER support
%if 0%{?rhel} == 6
%define with_devkitpower 1
Requires: DeviceKit-power
%endif
# UPOWER support
%if 0%{?fedora} || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?rhel} >= 7
%define with_upower 1
Requires: upower
%endif
# SYSTEMD support
%if 0%{?fedora} || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?rhel} >= 7
%define with_systemd 1
%endif
%description
Libraries for the Trinity Desktop Environment:
@ -491,6 +489,11 @@ applications for TDE.
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
if [ -d "/usr/X11R6" ]; then
export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include"
fi
export TDEDIR="%{tde_prefix}"
if ! rpm -E %%cmake|grep -q "cd build"; then
@ -504,6 +507,7 @@ fi
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_NO_BUILTIN_CHRPATH=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=ON \
\

@ -1,33 +0,0 @@
--- ./kdeprint/kmfactory.cpp.ORI 2013-05-09 00:14:51.664045869 +0200
+++ ./kdeprint/kmfactory.cpp 2013-05-09 00:16:59.154367127 +0200
@@ -249,8 +249,21 @@
conf->writeEntry("PrintSystem", sys);
conf->sync();
}
- else if ( sys.length()==1 && sys[0].isDigit() ) // discard old-style settings
+ else if ( sys.length()==1 && sys[0].isDigit() ) { // discard old-style settings
sys = "lpdunix";
+ } else {
+ //Always Autodetect
+ //it will not try autodetect if user changes any option
+ //when user force some option, AlwaysSearch will be "no" and then
+ //kprinter will not to try autodetect again.
+ if(conf->readEntry("AlwaysSearch") != "no" ) {
+ sys = autoDetect();
+ conf->writeEntry("PrintSystem",sys);
+ conf->writeEntry("AlwaysSearch","yes");
+ conf->sync();
+ }
+ }
+
return sys;
}
@@ -278,6 +291,7 @@
{
KConfig *conf = printConfig();
conf->setGroup("General");
+ conf->writeEntry("AlwaysSearch","no");
conf->writeEntry("PrintSystem", syst);
conf->sync();

@ -1,13 +0,0 @@
diff --git a/tdeio/tdeio/kservice.cpp b/tdeio/tdeio/kservice.cpp
index 67031d0..a4c67f3 100644
--- a/kio/kio/kservice.cpp
+++ b/kio/kio/kservice.cpp
@@ -103,7 +103,7 @@ KService::init( KDesktopFile *config )
// extract prefix
kde4applicationprefix = config->fileName();
int pos = kde4applicationprefix.find("/share/applications/kde4/");
- kde4applicationprefix.truncate(pos-1);
+ kde4applicationprefix.truncate(pos);
}
config->setDesktopGroup();

@ -1,25 +0,0 @@
diff --git a/arts/kde/CMakeLists.txt b/arts/kde/CMakeLists.txt
index 3b58525..091be35 100644
--- a/arts/kde/CMakeLists.txt
+++ b/arts/kde/CMakeLists.txt
@@ -27,11 +27,6 @@ link_directories(
${ARTS_LIBRARY_DIRS}
)
-# pkg-config stripping -I/usr/include
-if( NOT ARTS_INCLUDE_DIRS )
- set( ARTS_INCLUDE_DIRS "/usr/include" )
-endif()
-
##### headers ###################################
@@ -58,7 +53,7 @@ set( ${target}_SRCS
add_custom_command(
OUTPUT artskde.cc artskde.h
COMMAND ${ARTS_MCOPIDL_EXECUTABLE}
- -I${ARTS_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/artskde.idl
+ -I${ARTS_INCLUDEDIR} ${CMAKE_CURRENT_SOURCE_DIR}/artskde.idl
DEPENDS artskde.idl
)

@ -1,38 +0,0 @@
--- ./kio/kio/kzip.cpp.ORI 2013-05-31 23:15:23.021298550 +0200
+++ ./kio/kio/kzip.cpp 2013-05-31 23:16:43.525633640 +0200
@@ -1051,6 +1051,21 @@
return true;
}
+bool KZip::writeDir(const TQString& name, const TQString& user, const TQString& group)
+{
+ // Zip files have no explicit directories, they are implicitly created during extraction time
+ // when file entries have paths in them.
+ // However, to support empty directories, we must create a dummy file entry which ends with '/'.
+ TQString dirName = name;
+ if (!name.endsWith("/")) {
+ dirName = dirName.append('/');
+ }
+
+ mode_t perm = 040755;
+ time_t the_time = time(0);
+ return writeFile(dirName, user, group, 0, perm, the_time, the_time, the_time, 0);
+}
+
// Doesn't need to be reimplemented anymore. Remove for KDE-4.0
bool KZip::writeFile( const TQString& name, const TQString& user, const TQString& group, uint size, const char* data )
{
--- ./kio/kio/kzip.h.ORI 2013-05-31 23:18:30.829414791 +0200
+++ ./kio/kio/kzip.h 2013-05-31 23:19:10.763589109 +0200
@@ -191,10 +191,7 @@
/// Closes the archive
virtual bool closeArchive();
- /**
- * @internal Not needed for zip
- */
- virtual bool writeDir( const TQString& name, const TQString& user, const TQString& group) { Q_UNUSED(name); Q_UNUSED(user); Q_UNUSED(group); return true; }
+ virtual bool writeDir(const QString& name, const QString& user, const QString& group);
// TODO(BIC) uncomment and make virtual for KDE 4.
// bool writeDir( const TQString& name, const TQString& user, const TQString& group,
// mode_t perm, time_t atime, time_t mtime, time_t ctime );

@ -1,976 +0,0 @@
diff -Nuar trinity-tdelibs-3.5.13.2/kded.ORI/applications.menu trinity-tdelibs-3.5.13.2/kded/applications.menu
--- trinity-tdelibs-3.5.13.2/kded.ORI/applications.menu 2013-07-28 15:03:29.861478619 +0200
+++ trinity-tdelibs-3.5.13.2/kded/applications.menu 1970-01-01 01:00:00.000000000 +0100
@@ -1,472 +0,0 @@
-<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
- "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
-
-<Menu>
- <Name>Applications</Name>
- <Directory>kde-main.directory</Directory>
- <!-- Search the default locations -->
- <KDELegacyDirs/>
- <DefaultAppDirs/>
- <DefaultDirectoryDirs/>
- <DefaultLayout>
- <Merge type="menus"/>
- <Merge type="files"/>
- <Separator/>
- <Menuname>More</Menuname>
- </DefaultLayout>
- <Layout>
- <Merge type="menus"/>
- <Menuname>Applications</Menuname>
- <Merge type="files"/>
- </Layout>
-
- <Menu>
- <Name>Applications</Name>
- <Directory>kde-unknown.directory</Directory>
- <OnlyUnallocated/>
- <Include>
- <Not>
- <!-- Don't list non-KDE core applications -->
- <And>
- <Category>Core</Category>
- <Not><Category>KDE</Category></Not>
- </And>
- <!-- Don't list SUSE's YaST in here -->
- <Category>X-SuSE-YaST</Category>
- </Not>
- </Include>
- </Menu>
- <Menu>
- <Name>Development</Name>
- <Directory>kde-development.directory</Directory>
- <Menu>
- <Name>X-KDE-KDevelopIDE</Name>
- <Directory>kde-development-kdevelop.directory</Directory>
- <Include>
- <And>
- <Category>Development</Category>
- <Category>X-KDE-KDevelopIDE</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Translation</Name>
- <Directory>kde-development-translation.directory</Directory>
- <Include>
- <And>
- <Category>Development</Category>
- <Category>Translation</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Web Development</Name>
- <Directory>kde-development-webdevelopment.directory</Directory>
- <Include>
- <And>
- <Category>Development</Category>
- <Category>WebDevelopment</Category>
- </And>
- </Include>
- </Menu>
- <Include>
- <And>
- <Category>Development</Category>
- <Not><Category>X-KDE-KDevelopIDE</Category></Not>
- <Not><Category>Translation</Category></Not>
- <Not><Category>WebDevelopment</Category></Not>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Science</Name>
- <Directory>kde-science.directory</Directory>
- <Include>
- <And><!-- Include /any/ Science app which is not an Education app -->
- <Or>
- <Category>Astronomy</Category>
- <Category>Biology</Category>
- <Category>Chemistry</Category>
- <Category>Geology</Category>
- <Category>MedicalSoftware</Category>
- <Category>Physics</Category>
- <Category>Math</Category>
- <Category>Science</Category>
- </Or>
- <Not><Category>Education</Category></Not>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Edutainment</Name>
- <Directory>kde-edutainment.directory</Directory>
- <Menu>
- <Name>Languages</Name>
- <Directory>kde-edu-languages.directory</Directory>
- <Include>
- <And>
- <Category>Education</Category>
- <Or>
- <Category>Languages</Category>
- <Category>X-KDE-Edu-Language</Category>
- </Or>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Mathematics</Name>
- <Directory>kde-edu-mathematics.directory</Directory>
- <Include>
- <And>
- <Category>Education</Category>
- <Category>Math</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Miscellaneous</Name>
- <Directory>kde-edu-miscellaneous.directory</Directory>
- <Include>
- <And>
- <Category>Education</Category>
- <Not>
- <Category>Languages</Category>
- <Category>X-KDE-Edu-Language</Category>
- <Category>Math</Category>
- <Category>Science</Category>
- <Category>Teaching</Category>
- <Category>X-KDE-Edu-Teaching</Category>
- </Not>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Science</Name>
- <Directory>kde-edu-science.directory</Directory>
- <Include>
- <And>
- <Category>Education</Category>
- <Category>Science</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Tools</Name>
- <Directory>kde-edu-tools.directory</Directory>
- <Include>
- <And>
- <Category>Education</Category>
- <Or>
- <Category>Teaching</Category>
- <Category>X-KDE-Edu-Teaching</Category>
- </Or>
- </And>
- </Include>
- </Menu>
- </Menu>
- <Menu>
- <Name>Games</Name>
- <Directory>kde-games.directory</Directory>
- <Menu>
- <Name>Arcade</Name>
- <Directory>kde-games-arcade.directory</Directory>
- <Include>
- <And>
- <Category>Game</Category>
- <Category>ArcadeGame</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Board</Name>
- <Directory>kde-games-board.directory</Directory>
- <Include>
- <And>
- <Category>Game</Category>
- <Category>BoardGame</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Card</Name>
- <Directory>kde-games-card.directory</Directory>
- <Include>
- <And>
- <Category>Game</Category>
- <Category>CardGame</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Kidsgames</Name>
- <Directory>kde-games-kids.directory</Directory>
- <Include>
- <And>
- <Category>Game</Category>
- <Or>
- <Category>X-KDE-KidsGame</Category>
- <Category>KidsGame</Category>
- </Or>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>TacticStrategy</Name>
- <Directory>kde-games-strategy.directory</Directory>
- <Include>
- <And>
- <Category>Game</Category>
- <Category>StrategyGame</Category>
- </And>
- </Include>
- </Menu>
- <Include>
- <And>
- <Category>Game</Category>
- <Not>
- <Category>ArcadeGame</Category>
- <Category>BoardGame</Category>
- <Category>CardGame</Category>
- <Category>X-KDE-KidsGame</Category>
- <Category>KidsGame</Category>
- <Category>StrategyGame</Category>
- </Not>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Graphics</Name>
- <Directory>kde-graphics.directory</Directory>
- <Include>
- <And>
- <Category>Graphics</Category>
- <Not><Category>X-KDE-More</Category></Not>
- <Not><Filename>ooo-draw.desktop</Filename></Not>
- </And>
- </Include>
- <Menu>
- <Name>More</Name>
- <Directory>kde-more.directory</Directory>
- <Include>
- <And>
- <Category>Graphics</Category>
- <Category>X-KDE-More</Category>
- </And>
- </Include>
- </Menu>
- </Menu>
- <Menu>
- <Name>Internet</Name>
- <Directory>kde-internet.directory</Directory>
- <Include>
- <And>
- <Category>Network</Category>
- <Not><Category>X-KDE-More</Category></Not>
- </And>
- </Include>
- <Menu>
- <Name>Terminal</Name>
- <Directory>kde-internet-terminal.directory</Directory>
- </Menu>
- <Menu>
- <Name>More</Name>
- <Directory>kde-more.directory</Directory>
- <Include>
- <And>
- <Category>Network</Category>
- <Category>X-KDE-More</Category>
- </And>
- </Include>
- </Menu>
- </Menu>
- <Menu>
- <Name>Multimedia</Name>
- <Directory>kde-multimedia.directory</Directory>
- <Include>
- <And>
- <Category>AudioVideo</Category>
- <Not><Category>X-KDE-More</Category></Not>
- </And>
- </Include>
- <Menu>
- <Name>More</Name>
- <Directory>kde-more.directory</Directory>
- <Include>
- <And>
- <Category>AudioVideo</Category>
- <Category>X-KDE-More</Category>
- </And>
- </Include>
- </Menu>
- </Menu>
- <Menu>
- <Name>Office</Name>
- <Directory>kde-office.directory</Directory>
- <Layout>
- <Merge type="menus"/>
- <Merge type="files"/>
- <Separator/>
- <Menuname>More</Menuname>
- </Layout>
- <Include>
- <And>
- <Category>Office</Category>
- <Not><Category>X-KDE-More</Category></Not>
- </And>
- <Filename>ooo-draw.desktop</Filename>
- </Include>
- <Menu>
- <Name>More</Name>
- <Directory>kde-more.directory</Directory>
- <Include>
- <And>
- <Category>Office</Category>
- <Category>X-KDE-More</Category>
- </And>
- </Include>
- </Menu>
- </Menu>
- <Menu>
- <Name>Settingsmenu</Name>
- <Directory>kde-settingsmenu.directory</Directory>
- <Include>
- <Category>Settings</Category>
- </Include>
- </Menu>
- <Menu>
- <Name>System</Name>
- <Directory>kde-system.directory</Directory>
- <Include>
- <And>
- <Category>System</Category>
- <Not><Category>X-KDE-More</Category></Not>
- </And>
- </Include>
- <Menu>
- <Name>SuperUser</Name>
- <Directory>kde-system-su.directory</Directory>
- <Include>
- <And>
- <Category>X-KDE-System-su</Category>
- <Not><Category>X-KDE-More</Category></Not>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>More</Name>
- <Directory>kde-more.directory</Directory>
- <Include>
- <And>
- <Category>System</Category>
- <Category>X-KDE-More</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>ScreenSavers</Name>
- <Directory>kde-system-screensavers.directory</Directory>
- </Menu>
- <Menu>
- <Name>Terminal</Name>
- <Directory>kde-system-terminal.directory</Directory>
- </Menu>
- </Menu>
- <Menu>
- <Name>Utilities</Name>
- <Directory>kde-utilities.directory</Directory>
- <Include>
- <And>
- <Category>Utility</Category>
- <Not><Category>Accessibility</Category></Not>
- <Not><Category>X-KDE-Utilities-Desktop</Category></Not>
- <Not><Category>X-KDE-Utilities-Peripherals</Category></Not>
- <Not><Category>X-KDE-Utilities-PIM</Category></Not>
- <Not><Category>X-KDE-More</Category></Not>
- </And>
- </Include>
- <Menu>
- <Name>Accessibility</Name>
- <Directory>kde-utilities-accessibility.directory</Directory>
- <Include>
- <And>
- <Category>Utility</Category>
- <Category>Accessibility</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Desktop</Name>
- <Directory>kde-utilities-desktop.directory</Directory>
- <Include>
- <And>
- <Category>Utility</Category>
- <Category>X-KDE-Utilities-Desktop</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Editors</Name>
- <Directory>kde-editors.directory</Directory>
- <Include>
- <Category>TextEditor</Category>
- </Include>
- </Menu>
- <Menu>
- <Name>PIM</Name>
- <Directory>kde-utilities-pim.directory</Directory>
- <Include>
- <And>
- <Category>Utility</Category>
- <Category>X-KDE-Utilities-PIM</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>Toys</Name>
- <Directory>kde-toys.directory</Directory>
- <Include>
- <Category>Amusement</Category>
- </Include>
- </Menu>
- <Menu>
- <Name>XUtilities</Name>
- <Directory>kde-utilities-xutils.directory</Directory>
- </Menu>
- <Menu>
- <Name>More</Name>
- <Directory>kde-more.directory</Directory>
- <Include>
- <And>
- <Category>Utility</Category>
- <Category>X-KDE-More</Category>
- </And>
- </Include>
- </Menu>
- <Menu>
- <Name>More</Name>
- <Directory>kde-more.directory</Directory>
- <Include>
- <And>
- <Category>Utility</Category>
- <Category>X-KDE-More</Category>
- </And>
- </Include>
- </Menu>
- </Menu>
- <Include>
- <And>
- <Category>KDE</Category>
- <Category>Core</Category>
- </And>
- </Include>
- <DefaultMergeDirs/>
-
- <Menu>
- <Name>Debian</Name>
- <Directory>debian.directory</Directory>
- <MergeFile>debian-menu.menu</MergeFile>
- </Menu>
-
- <MergeDir>applications-merged</MergeDir>
- <MergeFile>applications-kmenuedit.menu</MergeFile>
-</Menu>
diff -Nuar trinity-tdelibs-3.5.13.2/kded.ORI/CMakeLists.txt trinity-tdelibs-3.5.13.2/kded/CMakeLists.txt
--- trinity-tdelibs-3.5.13.2/kded.ORI/CMakeLists.txt 2013-07-28 15:03:29.861478619 +0200
+++ trinity-tdelibs-3.5.13.2/kded/CMakeLists.txt 2013-07-28 15:03:45.806126508 +0200
@@ -35,7 +35,7 @@
##### other data ################################
install( FILES kdedmodule.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
-install( FILES applications.menu DESTINATION ${XDG_MENU_INSTALL_DIR} )
+install( FILES tde-applications.menu DESTINATION ${XDG_MENU_INSTALL_DIR} )
install( FILES kded.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
diff -Nuar trinity-tdelibs-3.5.13.2/kded.ORI/kbuildsycoca.cpp trinity-tdelibs-3.5.13.2/kded/kbuildsycoca.cpp
--- trinity-tdelibs-3.5.13.2/kded.ORI/kbuildsycoca.cpp 2013-07-28 15:03:29.861478619 +0200
+++ trinity-tdelibs-3.5.13.2/kded/kbuildsycoca.cpp 2013-07-28 15:04:11.314563211 +0200
@@ -379,7 +379,7 @@
connect(g_vfolder, TQT_SIGNAL(newService(const TQString &, KService **)),
this, TQT_SLOT(slotCreateEntry(const TQString &, KService **)));
- VFolderMenu::SubMenu *kdeMenu = g_vfolder->parseMenu("applications.menu", true);
+ VFolderMenu::SubMenu *kdeMenu = g_vfolder->parseMenu("tde-applications.menu", true);
KServiceGroup *entry = g_bsgf->addNew("/", kdeMenu->directoryFile, 0, false);
entry->setLayoutInfo(kdeMenu->layoutList);
diff -Nuar trinity-tdelibs-3.5.13.2/kded.ORI/tde-applications.menu trinity-tdelibs-3.5.13.2/kded/tde-applications.menu
--- trinity-tdelibs-3.5.13.2/kded.ORI/tde-applications.menu 1970-01-01 01:00:00.000000000 +0100
+++ trinity-tdelibs-3.5.13.2/kded/tde-applications.menu 2013-06-07 19:23:04.000000000 +0200
@@ -0,0 +1,472 @@
+<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
+ "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
+
+<Menu>
+ <Name>Applications</Name>
+ <Directory>tde-main.directory</Directory>
+ <!-- Search the default locations -->
+ <KDELegacyDirs/>
+ <DefaultAppDirs/>
+ <DefaultDirectoryDirs/>
+ <DefaultLayout>
+ <Merge type="menus"/>
+ <Merge type="files"/>
+ <Separator/>
+ <Menuname>More</Menuname>
+ </DefaultLayout>
+ <Layout>
+ <Merge type="menus"/>
+ <Menuname>Applications</Menuname>
+ <Merge type="files"/>
+ </Layout>
+
+ <Menu>
+ <Name>Applications</Name>
+ <Directory>tde-unknown.directory</Directory>
+ <OnlyUnallocated/>
+ <Include>
+ <Not>
+ <!-- Don't list non-KDE core applications -->
+ <And>
+ <Category>Core</Category>
+ <Not><Category>KDE</Category></Not>
+ </And>
+ <!-- Don't list SUSE's YaST in here -->
+ <Category>X-SuSE-YaST</Category>
+ </Not>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Development</Name>
+ <Directory>tde-development.directory</Directory>
+ <Menu>
+ <Name>X-KDE-KDevelopIDE</Name>
+ <Directory>tde-development-kdevelop.directory</Directory>
+ <Include>
+ <And>
+ <Category>Development</Category>
+ <Category>X-KDE-KDevelopIDE</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Translation</Name>
+ <Directory>tde-development-translation.directory</Directory>
+ <Include>
+ <And>
+ <Category>Development</Category>
+ <Category>Translation</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Web Development</Name>
+ <Directory>tde-development-webdevelopment.directory</Directory>
+ <Include>
+ <And>
+ <Category>Development</Category>
+ <Category>WebDevelopment</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Include>
+ <And>
+ <Category>Development</Category>
+ <Not><Category>X-KDE-KDevelopIDE</Category></Not>
+ <Not><Category>Translation</Category></Not>
+ <Not><Category>WebDevelopment</Category></Not>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Science</Name>
+ <Directory>tde-science.directory</Directory>
+ <Include>
+ <And><!-- Include /any/ Science app which is not an Education app -->
+ <Or>
+ <Category>Astronomy</Category>
+ <Category>Biology</Category>
+ <Category>Chemistry</Category>
+ <Category>Geology</Category>
+ <Category>MedicalSoftware</Category>
+ <Category>Physics</Category>
+ <Category>Math</Category>
+ <Category>Science</Category>
+ </Or>
+ <Not><Category>Education</Category></Not>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Edutainment</Name>
+ <Directory>tde-edutainment.directory</Directory>
+ <Menu>
+ <Name>Languages</Name>
+ <Directory>tde-edu-languages.directory</Directory>
+ <Include>
+ <And>
+ <Category>Education</Category>
+ <Or>
+ <Category>Languages</Category>
+ <Category>X-KDE-Edu-Language</Category>
+ </Or>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Mathematics</Name>
+ <Directory>tde-edu-mathematics.directory</Directory>
+ <Include>
+ <And>
+ <Category>Education</Category>
+ <Category>Math</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Miscellaneous</Name>
+ <Directory>tde-edu-miscellaneous.directory</Directory>
+ <Include>
+ <And>
+ <Category>Education</Category>
+ <Not>
+ <Category>Languages</Category>
+ <Category>X-KDE-Edu-Language</Category>
+ <Category>Math</Category>
+ <Category>Science</Category>
+ <Category>Teaching</Category>
+ <Category>X-KDE-Edu-Teaching</Category>
+ </Not>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Science</Name>
+ <Directory>tde-edu-science.directory</Directory>
+ <Include>
+ <And>
+ <Category>Education</Category>
+ <Category>Science</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Tools</Name>
+ <Directory>tde-edu-tools.directory</Directory>
+ <Include>
+ <And>
+ <Category>Education</Category>
+ <Or>
+ <Category>Teaching</Category>
+ <Category>X-KDE-Edu-Teaching</Category>
+ </Or>
+ </And>
+ </Include>
+ </Menu>
+ </Menu>
+ <Menu>
+ <Name>Games</Name>
+ <Directory>tde-games.directory</Directory>
+ <Menu>
+ <Name>Arcade</Name>
+ <Directory>tde-games-arcade.directory</Directory>
+ <Include>
+ <And>
+ <Category>Game</Category>
+ <Category>ArcadeGame</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Board</Name>
+ <Directory>tde-games-board.directory</Directory>
+ <Include>
+ <And>
+ <Category>Game</Category>
+ <Category>BoardGame</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Card</Name>
+ <Directory>tde-games-card.directory</Directory>
+ <Include>
+ <And>
+ <Category>Game</Category>
+ <Category>CardGame</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Kidsgames</Name>
+ <Directory>tde-games-kids.directory</Directory>
+ <Include>
+ <And>
+ <Category>Game</Category>
+ <Or>
+ <Category>X-KDE-KidsGame</Category>
+ <Category>KidsGame</Category>
+ </Or>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>TacticStrategy</Name>
+ <Directory>tde-games-strategy.directory</Directory>
+ <Include>
+ <And>
+ <Category>Game</Category>
+ <Category>StrategyGame</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Include>
+ <And>
+ <Category>Game</Category>
+ <Not>
+ <Category>ArcadeGame</Category>
+ <Category>BoardGame</Category>
+ <Category>CardGame</Category>
+ <Category>X-KDE-KidsGame</Category>
+ <Category>KidsGame</Category>
+ <Category>StrategyGame</Category>
+ </Not>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Graphics</Name>
+ <Directory>tde-graphics.directory</Directory>
+ <Include>
+ <And>
+ <Category>Graphics</Category>
+ <Not><Category>X-KDE-More</Category></Not>
+ <Not><Filename>ooo-draw.desktop</Filename></Not>
+ </And>
+ </Include>
+ <Menu>
+ <Name>More</Name>
+ <Directory>tde-more.directory</Directory>
+ <Include>
+ <And>
+ <Category>Graphics</Category>
+ <Category>X-KDE-More</Category>
+ </And>
+ </Include>
+ </Menu>
+ </Menu>
+ <Menu>
+ <Name>Internet</Name>
+ <Directory>tde-internet.directory</Directory>
+ <Include>
+ <And>
+ <Category>Network</Category>
+ <Not><Category>X-KDE-More</Category></Not>
+ </And>
+ </Include>
+ <Menu>
+ <Name>Terminal</Name>
+ <Directory>tde-internet-terminal.directory</Directory>
+ </Menu>
+ <Menu>
+ <Name>More</Name>
+ <Directory>tde-more.directory</Directory>
+ <Include>
+ <And>
+ <Category>Network</Category>
+ <Category>X-KDE-More</Category>
+ </And>
+ </Include>
+ </Menu>
+ </Menu>
+ <Menu>
+ <Name>Multimedia</Name>
+ <Directory>tde-multimedia.directory</Directory>
+ <Include>
+ <And>
+ <Category>AudioVideo</Category>
+ <Not><Category>X-KDE-More</Category></Not>
+ </And>
+ </Include>
+ <Menu>
+ <Name>More</Name>
+ <Directory>tde-more.directory</Directory>
+ <Include>
+ <And>
+ <Category>AudioVideo</Category>
+ <Category>X-KDE-More</Category>
+ </And>
+ </Include>
+ </Menu>
+ </Menu>
+ <Menu>
+ <Name>Office</Name>
+ <Directory>tde-office.directory</Directory>
+ <Layout>
+ <Merge type="menus"/>
+ <Merge type="files"/>
+ <Separator/>
+ <Menuname>More</Menuname>
+ </Layout>
+ <Include>
+ <And>
+ <Category>Office</Category>
+ <Not><Category>X-KDE-More</Category></Not>
+ </And>
+ <Filename>ooo-draw.desktop</Filename>
+ </Include>
+ <Menu>
+ <Name>More</Name>
+ <Directory>tde-more.directory</Directory>
+ <Include>
+ <And>
+ <Category>Office</Category>
+ <Category>X-KDE-More</Category>
+ </And>
+ </Include>
+ </Menu>
+ </Menu>
+ <Menu>
+ <Name>Settingsmenu</Name>
+ <Directory>tde-settingsmenu.directory</Directory>
+ <Include>
+ <Category>Settings</Category>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>System</Name>
+ <Directory>tde-system.directory</Directory>
+ <Include>
+ <And>
+ <Category>System</Category>
+ <Not><Category>X-KDE-More</Category></Not>
+ </And>
+ </Include>
+ <Menu>
+ <Name>SuperUser</Name>
+ <Directory>tde-system-su.directory</Directory>
+ <Include>
+ <And>
+ <Category>X-KDE-System-su</Category>
+ <Not><Category>X-KDE-More</Category></Not>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>More</Name>
+ <Directory>tde-more.directory</Directory>
+ <Include>
+ <And>
+ <Category>System</Category>
+ <Category>X-KDE-More</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>ScreenSavers</Name>
+ <Directory>tde-system-screensavers.directory</Directory>
+ </Menu>
+ <Menu>
+ <Name>Terminal</Name>
+ <Directory>tde-system-terminal.directory</Directory>
+ </Menu>
+ </Menu>
+ <Menu>
+ <Name>Utilities</Name>
+ <Directory>tde-utilities.directory</Directory>
+ <Include>
+ <And>
+ <Category>Utility</Category>
+ <Not><Category>Accessibility</Category></Not>
+ <Not><Category>X-KDE-Utilities-Desktop</Category></Not>
+ <Not><Category>X-KDE-Utilities-Peripherals</Category></Not>
+ <Not><Category>X-KDE-Utilities-PIM</Category></Not>
+ <Not><Category>X-KDE-More</Category></Not>
+ </And>
+ </Include>
+ <Menu>
+ <Name>Accessibility</Name>
+ <Directory>tde-utilities-accessibility.directory</Directory>
+ <Include>
+ <And>
+ <Category>Utility</Category>
+ <Category>Accessibility</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Desktop</Name>
+ <Directory>tde-utilities-desktop.directory</Directory>
+ <Include>
+ <And>
+ <Category>Utility</Category>
+ <Category>X-KDE-Utilities-Desktop</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Editors</Name>
+ <Directory>tde-editors.directory</Directory>
+ <Include>
+ <Category>TextEditor</Category>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>PIM</Name>
+ <Directory>tde-utilities-pim.directory</Directory>
+ <Include>
+ <And>
+ <Category>Utility</Category>
+ <Category>X-KDE-Utilities-PIM</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>Toys</Name>
+ <Directory>tde-toys.directory</Directory>
+ <Include>
+ <Category>Amusement</Category>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>XUtilities</Name>
+ <Directory>tde-utilities-xutils.directory</Directory>
+ </Menu>
+ <Menu>
+ <Name>More</Name>
+ <Directory>tde-more.directory</Directory>
+ <Include>
+ <And>
+ <Category>Utility</Category>
+ <Category>X-KDE-More</Category>
+ </And>
+ </Include>
+ </Menu>
+ <Menu>
+ <Name>More</Name>
+ <Directory>tde-more.directory</Directory>
+ <Include>
+ <And>
+ <Category>Utility</Category>
+ <Category>X-KDE-More</Category>
+ </And>
+ </Include>
+ </Menu>
+ </Menu>
+ <Include>
+ <And>
+ <Category>KDE</Category>
+ <Category>Core</Category>
+ </And>
+ </Include>
+ <DefaultMergeDirs/>
+
+ <Menu>
+ <Name>Debian</Name>
+ <Directory>debian.directory</Directory>
+ <MergeFile>debian-menu.menu</MergeFile>
+ </Menu>
+
+ <MergeDir>applications-merged</MergeDir>
+ <MergeFile>applications-kmenuedit.menu</MergeFile>
+</Menu>

@ -1,150 +0,0 @@
--- ./kdecore/kglobalsettings.h.Ori 2013-05-08 22:16:42.771982104 +0200
+++ ./kdecore/kglobalsettings.h 2013-05-08 22:18:33.882577602 +0200
@@ -253,6 +253,29 @@
*/
static TQString documentPath() { initStatic(); return *s_documentPath; }
+ /**
+ * The path where documents are stored of the current user.
+ * @return the path of the videos directory
+ */
+ static TQString videosPath() { initStatic(); return *s_videosPath; }
+
+ /**
+ * The path where documents are stored of the current user.
+ * @return the path of the music directory
+ */
+ static TQString musicPath() { initStatic(); return *s_musicPath; }
+
+ /**
+ * The path where documents are stored of the current user.
+ * @return the path of the downloads directory
+ */
+ static TQString downloadPath() { initStatic(); return *s_downloadPath; }
+
+ /**
+ * The path where documents are stored of the current user.
+ * @return the path of the pictures directory
+ */
+ static TQString picturesPath() { initStatic(); return *s_picturesPath; }
/**
* The default color to use when highlighting toolbar buttons.
@@ -560,6 +583,10 @@
static TQString* s_autostartPath;
static TQString* s_trashPath;
static TQString* s_documentPath;
+ static TQString* s_picturesPath;
+ static TQString* s_downloadPath;
+ static TQString* s_musicPath;
+ static TQString* s_videosPath;
static TQFont *_generalFont;
static TQFont *_fixedFont;
static TQFont *_toolBarFont;
--- ./kdecore/kglobalsettings.cpp.xdg_path 2013-01-09 19:23:09.000000000 +0100
+++ ./kdecore/kglobalsettings.cpp 2013-05-08 22:26:26.451376166 +0200
@@ -62,6 +62,10 @@
TQString* KGlobalSettings::s_autostartPath = 0;
TQString* KGlobalSettings::s_trashPath = 0;
TQString* KGlobalSettings::s_documentPath = 0;
+TQString* KGlobalSettings::s_videosPath = 0;
+TQString* KGlobalSettings::s_musicPath = 0;
+TQString* KGlobalSettings::s_downloadPath = 0;
+TQString* KGlobalSettings::s_picturesPath = 0;
TQFont *KGlobalSettings::_generalFont = 0;
TQFont *KGlobalSettings::_fixedFont = 0;
TQFont *KGlobalSettings::_toolBarFont = 0;
@@ -83,7 +87,7 @@
// helper function for reading xdg user dirs: it is required in order to take
// care of locale stuff
-void readXdgUserDirs(TQString *desktop, TQString *documents)
+void readXdgUserDirs(TQString *desktop, TQString *documents, TQString *videos, TQString *music, TQString *download, TQString *pictures)
{
TQFile f( TQDir::homeDirPath() + "/.config/user-dirs.dirs" );
@@ -101,6 +105,14 @@
*desktop = line.remove("XDG_DESKTOP_DIR=").remove("\"").replace("$HOME", TQDir::homeDirPath());
else if (line.startsWith("XDG_DOCUMENTS_DIR="))
*documents = line.remove("XDG_DOCUMENTS_DIR=").remove("\"").replace("$HOME", TQDir::homeDirPath());
+ else if (line.startsWith("XDG_MUSIC_DIR="))
+ *videos = line.remove("XDG_MUSIC_DIR=").remove("\"").replace("$HOME", TQDir::homeDirPath());
+ else if (line.startsWith("XDG_DOWNLOAD_DIR="))
+ *download = line.remove("XDG_DOWNLOAD_DIR=").remove("\"").replace("$HOME", TQDir::homeDirPath());
+ else if (line.startsWith("XDG_VIDEOS_DIR="))
+ *music = line.remove("XDG_VIDEOS_DIR=").remove("\"").replace("$HOME", TQDir::homeDirPath());
+ else if (line.startsWith("XDG_PICTURES_DIR="))
+ *pictures = line.remove("XDG_PICTURES_DIR=").remove("\"").replace("$HOME", TQDir::homeDirPath());
line = s.readLine();
}
@@ -515,30 +527,45 @@
s_autostartPath = new TQString();
s_trashPath = new TQString();
s_documentPath = new TQString();
+ s_videosPath = new TQString();
+ s_musicPath = new TQString();
+ s_downloadPath = new TQString();
+ s_picturesPath = new TQString();
+
KConfigGroup g( KGlobal::config(), "Paths" );
- // Read desktop and documents path using XDG_USER_DIRS
- readXdgUserDirs(s_desktopPath, s_documentPath);
+ // Read desktop and documents path using XDG_USER_DIRS
+ readXdgUserDirs(s_desktopPath, s_documentPath, s_musicPath, s_videosPath, s_downloadPath, s_picturesPath);
if (s_desktopPath->isEmpty() == true) {
*s_desktopPath = TQDir::homeDirPath() + "/Desktop/";
}
+
*s_desktopPath = TQDir::cleanDirPath( *s_desktopPath );
if ( !s_desktopPath->endsWith("/") )
s_desktopPath->append('/');
- if (s_documentPath->isEmpty() == true) {
-#ifdef Q_WS_WIN
- *s_documentPath = getWin32ShellFoldersPath("Personal");
-#else
- *s_documentPath = TQDir::homeDirPath() + "/Documents/";
-#endif
- }
*s_documentPath = TQDir::cleanDirPath( *s_documentPath );
if ( !s_documentPath->endsWith("/"))
s_documentPath->append('/');
+ *s_musicPath = TQDir::cleanDirPath( *s_musicPath );
+ if ( !s_musicPath->endsWith("/"))
+ s_musicPath->append('/');
+
+ *s_videosPath = TQDir::cleanDirPath( *s_videosPath );
+ if ( !s_videosPath->endsWith("/"))
+ s_videosPath->append('/');
+
+ *s_downloadPath = TQDir::cleanDirPath( *s_downloadPath );
+ if ( !s_downloadPath->endsWith("/"))
+ s_downloadPath->append('/');
+
+ *s_picturesPath = TQDir::cleanDirPath( *s_picturesPath );
+ if ( !s_picturesPath->endsWith("/"))
+ s_picturesPath->append('/');
+
// Trash Path - TODO remove in KDE4 (kio_trash can't use it for interoperability reasons)
*s_trashPath = *s_desktopPath + i18n("Trash") + "/";
*s_trashPath = g.readPathEntry( "Trash" , *s_trashPath);
@@ -603,6 +630,14 @@
s_desktopPath = 0L;
delete s_documentPath;
s_documentPath = 0L;
+ delete s_videosPath;
+ s_videosPath = 0L;
+ delete s_picturesPath;
+ s_picturesPath = 0L;
+ delete s_downloadPath;
+ s_downloadPath = 0L;
+ delete s_musicPath;
+ s_musicPath = 0L;
}
KGlobalSettings::KMouseSettings & KGlobalSettings::mouseSettings()

@ -1,50 +1,64 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
#
# spec file for package tdelibs
#
# Copyright (c) 2014 François Andriot <francois.andriot@free.fr>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http:/www.trinitydesktop.org/
#
# BUILD WARNING:
# Remove qt-devel and qt3-devel and any kde*-devel on your system !
# Having KDE libraries may cause FTBFS here !
# TDE variables
%define tde_version 3.5.13.2
# TDE specific variables
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
%define _docdir %{tde_docdir}
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
Name: trinity-tdelibs
Version: %{tde_version}
Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
License: GPL
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
Summary: TDE Libraries
Group: Environment/Libraries
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
Group: System/GUI/Other
URL: http://www.trinitydesktop.org/
%if 0%{?suse_version}
License: GPL-2.0+
%else
License: GPLv2+
%endif
#Vendor: Trinity Project
#Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
# Fix categories in T-menu
Patch1: tdelibs-3.5.13.2-fix_xdg_menu.patch
# Fix startup of KDE4 applications
Patch2: tdelibs-3.5.13.2-fix-starting-kde4-applications.patch
# Fix ARTS includes directory
Patch3: tdelibs-3.5.13.2-fix_arts_include.patch
# Patches from Mandriva
Patch101: tdelibs-3.5.13.2-xdg_dirs_set_path.patch
Patch102: tdelibs-3.5.13.2-cups_by_default.patch
Obsoletes: tdelibs < %{version}-%{release}
Provides: tdelibs = %{version}-%{release}
Obsoletes: trinity-kdelibs < %{version}-%{release}
@ -52,21 +66,30 @@ Provides: trinity-kdelibs = %{version}-%{release}
Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release}
Provides: trinity-kdelibs-apidocs = %{version}-%{release}
BuildRequires: cmake >= 2.8
BuildRequires: libtool
# Trinity dependencies
BuildRequires: qt3-devel >= 3.3.8.d
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: libtqt4-devel = 1:4.2.0
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: libdbus-tqt-1-devel >= 1:0.63
BuildRequires: libdbus-1-tqt-devel >= 1:0.9
Requires: trinity-arts >= 1:1.5.10
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: krb5-devel
BuildRequires: libxslt-devel
BuildRequires: cups-devel
BuildRequires: openssl-devel
BuildRequires: gcc-c++
BuildRequires: alsa-lib-devel
BuildRequires: libidn-devel
BuildRequires: libtiff-devel
# GLIB2 support
BuildRequires: glib2-devel
# LUA support are not ready yet
#BuildRequires: lua-devel
@ -154,31 +177,33 @@ BuildRequires: OpenEXR-devel
%endif
# LIBTOOL
BuildRequires: libtool
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}ltdl-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
BuildRequires: libtool-ltdl-devel
%endif
%if 0%{?rhel} == 4 || 0%{?suse_version} == 1140
BuildRequires: libtool
%endif
# X11 support
# XCOMPOSITE support
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: x11-proto-devel
%if 0%{?mgaversion} >= 4
BuildRequires: %{_lib}xcomposite-devel
%else
BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel
%endif
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: xorg-x11-proto-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
BuildRequires: libXcomposite-devel
%endif
# X11 support
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: x11-proto-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: xorg-x11-proto-devel
%endif
%if 0%{?rhel} == 4
BuildRequires: xorg-x11-devel
%endif
@ -219,16 +244,23 @@ Requires: openssl
Requires: openssl
%endif
# Trinity dependencies
Requires: qt3 >= 3.3.8.d
Requires: trinity-tqtinterface >= %{tde_version}
Requires: trinity-arts >= 1:1.5.10
# XRANDR support
# On RHEL5, xrandr library is too old.
%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
%define with_xrandr 1
%endif
# XT support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: libXt-devel
%endif
%description
Libraries for the Trinity Desktop Environment:
TDE Libraries included: tdecore (TDE core library), kdeui (user interface),
kfm (file manager), khtmlw (HTML widget), tdeio (Input/Output, networking),
TDE Libraries included: tdecore (TDE core library), tdeui (user interface),
kfm (file manager), tdehtmlw (HTML widget), tdeio (Input/Output, networking),
kspell (spelling checker), jscript (javascript), kab (addressbook),
kimgio (image manipulation).
@ -370,7 +402,7 @@ applications for TDE.
##########
%if 0%{?suse_version} || 0%{?pclinuxos}
%if 0%{?pclinuxos}
%debug_package
%endif
@ -378,28 +410,21 @@ applications for TDE.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .xdg
%patch2 -p1 -b .kde4
%patch3 -p1 -b .arts
%patch101 -p1 -b .xdg_path
%patch102 -p1 -b .cups_by_default
%build
unset QTDIR; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}"
unset QTDIR QTINC QTLIB
. /etc/profile.d/qt3.sh
export PATH="${QTDIR}/bin:${PATH}"
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
# We need LD_LIBRARY_PATH here because ld.so.conf file has not been written yet
export LD_LIBRARY_PATH="%{tde_libdir}"
export KDEDIR="%{tde_prefix}"
if [ -d "/usr/X11R6" ]; then
export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include"
fi
export KDEDIR="%{tde_prefix}"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
@ -411,6 +436,7 @@ fi
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_NO_BUILTIN_CHRPATH=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \

@ -1,480 +0,0 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
%define _docdir %{tde_docdir}
Name: trinity-tdelibs
Version: 3.5.13.2
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPL
Summary: TDE Libraries
Group: Environment/Libraries
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Patch1: tdelibs-3.5.13.2-xdg_dirs_set_path.patch
Patch2: tdelibs-3.5.13.2-cups_by_default.patch
Patch4: tdelibs-3.5.13.2-fix_kzip_empty_directory.patch
Obsoletes: tdelibs < %{version}-%{release}
Provides: tdelibs = %{version}-%{release}
Obsoletes: trinity-kdelibs < %{version}-%{release}
Provides: trinity-kdelibs = %{version}-%{release}
Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release}
Provides: trinity-kdelibs-apidocs = %{version}-%{release}
BuildRequires: cmake >= 2.8
BuildRequires: libtool
BuildRequires: qt3-devel
BuildRequires: trinity-tqtinterface-devel >= %{version}
BuildRequires: trinity-arts-devel >= %{version}
BuildRequires: krb5-devel
BuildRequires: libxslt-devel
BuildRequires: cups-devel
BuildRequires: libart_lgpl-devel
BuildRequires: openssl-devel
BuildRequires: gcc-c++
BuildRequires: alsa-lib-devel
BuildRequires: libidn-devel
BuildRequires: libtiff-devel
BuildRequires: glib2-devel
# LUA support are not ready yet
#BuildRequires: lua-devel
# ASPELL support
BuildRequires: aspell
BuildRequires: aspell-devel
# GAMIN support
# Not on openSUSE.
%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_gamin 1
BuildRequires: gamin-devel
%endif
# PCRE support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_pcre 1
BuildRequires: pcre-devel
%endif
# INOTIFY support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_inotify 1
%endif
# BZIP2 support
%if 0%{?suse_version}
BuildRequires: libbz2-devel
%else
BuildRequires: bzip2-devel
%endif
# UTEMPTER support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: libutempter-devel
%endif
%if 0%{?rhel} == 4
BuildRequires: utempter
%endif
%if 0%{?suse_version}
BuildRequires: utempter-devel
%endif
# HSPELL support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_hspell 1
BuildRequires: hspell-devel
%endif
# JASPER support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_jasper 1
%if 0%{?suse_version}
BuildRequires: libjasper-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}jasper-devel
%endif
%if 0%{?rhel} || 0%{?fedora}
BuildRequires: jasper-devel
%endif
%endif
# AVAHI support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_avahi 1
BuildRequires: trinity-avahi-tqt-devel >= %{version}
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}avahi-client-devel
Requires: %{_lib}avahi-client3
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: avahi-devel
Requires: avahi
%endif
%endif
# OPENEXR support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_openexr 1
BuildRequires: OpenEXR-devel
%endif
# LIBTOOL
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}ltdl-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
BuildRequires: libtool-ltdl-devel
%endif
%if 0%{?rhel} == 4 || 0%{?suse_version} == 1140
BuildRequires: libtool
%endif
# X11 support
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: x11-proto-devel
BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: xorg-x11-proto-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
BuildRequires: libXcomposite-devel
%endif
%if 0%{?rhel} == 4
BuildRequires: xorg-x11-devel
%endif
# ICEAUTH
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220
Requires: iceauth
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora}
Requires: xorg-x11-server-utils
%endif
%if 0%{?rhel} == 4 || 0%{?suse_version}
Requires: xorg-x11
%endif
# XZ support
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}lzma-devel
%endif
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: xz-devel
%endif
Requires: trinity-tqtinterface >= %{version}
Requires: trinity-arts >= %{version}
Requires: qt3 >= 3.3.8.d
%description
Libraries for the Trinity Desktop Environment:
TDE Libraries included: tdecore (TDE core library), kdeui (user interface),
kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking),
kspell (spelling checker), jscript (javascript), kab (addressbook),
kimgio (image manipulation).
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB README TODO
%{tde_bindir}/artsmessage
%{tde_bindir}/cupsdconf
%{tde_bindir}/cupsdoprint
%{tde_bindir}/dcop
%{tde_bindir}/dcopclient
%{tde_bindir}/dcopfind
%{tde_bindir}/dcopobject
%{tde_bindir}/dcopquit
%{tde_bindir}/dcopref
%{tde_bindir}/dcopserver
%{tde_bindir}/dcopserver_shutdown
%{tde_bindir}/dcopstart
%{tde_bindir}/filesharelist
%{tde_bindir}/fileshareset
%{tde_bindir}/imagetops
%{tde_bindir}/kab2kabc
%{tde_bindir}/kaddprinterwizard
%{tde_bindir}/kbuildsycoca
%{tde_bindir}/kcmshell
%{tde_bindir}/kconf_update
%{tde_bindir}/kcookiejar
%{tde_bindir}/kde-config
%{tde_bindir}/kde-menu
%{tde_bindir}/kded
%{tde_bindir}/kdeinit
%{tde_bindir}/kdeinit_shutdown
%{tde_bindir}/kdeinit_wrapper
%{tde_bindir}/kdesu_stub
%{tde_bindir}/kdontchangethehostname
%{tde_bindir}/kdostartupconfig
%{tde_bindir}/kfile
%{tde_bindir}/kfmexec
%{tde_bindir}/khotnewstuff
%{tde_bindir}/kinstalltheme
%{tde_bindir}/kio_http_cache_cleaner
%{tde_bindir}/kio_uiserver
%{tde_bindir}/kioexec
%{tde_bindir}/kioslave
%{tde_bindir}/klauncher
%{tde_bindir}/kmailservice
%{tde_bindir}/kmimelist
%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper
%{tde_bindir}/ksendbugmail
%{tde_bindir}/kshell
%{tde_bindir}/kstartupconfig
%{tde_bindir}/ktelnetservice
%{tde_bindir}/ktradertest
%{tde_bindir}/kwrapper
%{tde_bindir}/lnusertemp
%{tde_bindir}/make_driver_db_cups
%{tde_bindir}/make_driver_db_lpr
%{tde_bindir}/meinproc
%{tde_bindir}/networkstatustestservice
%{tde_bindir}/start_kdeinit
%{tde_bindir}/start_kdeinit_wrapper
%attr(4755,root,root) %{tde_bindir}/kgrantpty
%{tde_tdelibdir}/*
%{tde_libdir}/lib*.so.*
%{tde_libdir}/lib[kt]deinit_*.la
%{tde_libdir}/lib[kt]deinit_*.so
%{tde_datadir}/applications/kde/*.desktop
%{tde_datadir}/autostart/kab2kabc.desktop
%{tde_datadir}/applnk/kio_iso.desktop
%{tde_datadir}/apps/*
%exclude %{tde_datadir}/apps/ksgmltools2/
%config(noreplace) %{tde_datadir}/config/*
%{tde_datadir}/emoticons/*
%{tde_datadir}/icons/default.kde
%{_sysconfdir}/alternatives/default.kde
%{tde_datadir}/mimelnk/magic
%{tde_datadir}/mimelnk/*/*.desktop
%{tde_datadir}/services/*
%{tde_datadir}/servicetypes/*
%{tde_datadir}/icons/crystalsvg/
%{tde_tdedocdir}/HTML/en/kspell/
# remove conflicts with kdelibs-4
%if "%{?tde_prefix}" != "/usr"
%{tde_bindir}/checkXML
%{tde_bindir}/ksvgtopng
%{tde_bindir}/kunittestmodrunner
%{tde_bindir}/preparetips
%{tde_datadir}/icons/hicolor/index.theme
%{tde_datadir}/locale/all_languages
%{tde_tdedocdir}/HTML/en/common/*
%{_sysconfdir}/ld.so.conf.d/trinity.conf
%else
%exclude %{tde_bindir}/checkXML
%exclude %{tde_bindir}/ksvgtopng
%exclude %{tde_bindir}/kunittestmodrunner
%exclude %{tde_bindir}/preparetips
%exclude %{tde_datadir}/config/colors
%exclude %{tde_datadir}/config/kdebug.areas
%exclude %{tde_datadir}/config/kdebugrc
%exclude %{tde_datadir}/config/ksslcalist
%exclude %{tde_datadir}/config/ui/ui_standards.rc
%exclude %{tde_datadir}/icons/hicolor/index.theme
%exclude %{tde_datadir}/locale/all_languages
%exclude %{tde_tdedocdir}/HTML/en/common/*
%endif
# Avoid conflict with 'redhat-menus' package
%if "%{tde_prefix}" == "/usr"
%{_sysconfdir}/xdg/menus/kde-applications.menu
%else
%{tde_prefix}/etc/xdg/menus/kde-applications.menu
%endif
# New in TDE 3.5.13
%{tde_bindir}/kdetcompmgr
%pre
# TDE Bug #1074
if [ -d "%{tde_datadir}/locale/all_languages" ]; then
rm -rf "%{tde_datadir}/locale/all_languages"
fi
%post
/sbin/ldconfig || :
# Sets default theme as 'crystalsvg'
update-alternatives --install \
%{tde_datadir}/icons/default.kde \
default.kde \
%{tde_datadir}/icons/crystalsvg \
10 || :
%preun
if [ $1 -eq 0 ]; then
update-alternatives --remove \
default.kde \
%{tde_datadir}/icons/crystalsvg || :
fi
%postun
/sbin/ldconfig || :
##########
%package devel
Summary: %{name} - Development files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: tdelibs-devel < %{version}-%{release}
Provides: tdelibs-devel = %{version}-%{release}
Obsoletes: trinity-kdelibs-devel < %{version}-%{release}
Provides: trinity-kdelibs-devel = %{version}-%{release}
%description devel
This package includes the header files you will need to compile
applications for TDE.
%files devel
%defattr(-,root,root,-)
%{tde_bindir}/dcopidl*
%{tde_bindir}/kconfig_compiler
%{tde_bindir}/makekdewidgets
%{tde_datadir}/apps/ksgmltools2/
%{tde_tdeincludedir}/*
%{tde_libdir}/*.la
%{tde_libdir}/*.so
%{tde_libdir}/*.a
%exclude %{tde_libdir}/lib[kt]deinit_*.la
%exclude %{tde_libdir}/lib[kt]deinit_*.so
# New in TDE 3.5.13
%{tde_datadir}/cmake/[kt]delibs.cmake
%post devel
/sbin/ldconfig || :
%postun devel
/sbin/ldconfig || :
##########
%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif
##########
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .xdg_path
%patch2 -p1 -b .cups_by_default
%patch4 -p1 -b .kzip
%build
unset QTDIR || : ; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
# We need LD_LIBRARY_PATH here because ld.so.conf file has not been written yet
export LD_LIBRARY_PATH="%{tde_libdir}"
export KDEDIR="%{tde_prefix}"
if [ -d "/usr/X11R6" ]; then
export CXXFLAGS="${RPM_OPT_FLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include"
fi
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%__mkdir_p build
cd build
%endif
%cmake \
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DBIN_INSTALL_DIR="%{tde_bindir}" \
-DDOC_INSTALL_DIR="%{tde_docdir}" \
-DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \
-DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
-DCMAKE_SKIP_RPATH=OFF \
-DWITH_ARTS=ON \
-DWITH_ALSA=ON \
-DWITH_LIBART=ON \
-DWITH_LIBIDN=ON \
-DWITH_SSL=ON \
-DWITH_CUPS=ON \
-DWITH_LUA=OFF \
-DWITH_TIFF=ON \
%{?with_jasper:-DWITH_JASPER=ON} \
%{?with_openexr:-DWITH_OPENEXR=ON} \
-DWITH_UTEMPTER=ON \
%{?with_avahi:-DWITH_AVAHI=ON} \
%{?!with_pcre:-DWITH_PCRE=OFF} \
%{?!with_inotify:-DWITH_INOTIFY=OFF} \
%{?!with_gamin:-DWITH_GAMIN=OFF} %{?with_gamin:-DWITH_GAMIN=ON} \
-DWITH_SUDO_KDESU_BACKEND=OFF \
-DWITH_LZMA=ON \
-DWITH_ASPELL=ON \
%{?with_hspell:-DWITH_HSPELL=ON} \
..
%__make %{?_smp_mflags} || %__make
%install
%__rm -rf "%{?buildroot}"
%__make install DESTDIR="%{?buildroot}" -C build
%if "%{?tde_prefix}" != "/usr"
%__mkdir_p "%{?buildroot}%{_sysconfdir}/ld.so.conf.d"
cat <<EOF >"%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf"
%{tde_libdir}
EOF
%endif
# Moves the XDG configuration files to TDE directory
%if "%{tde_prefix}" != "/usr"
%__install -p -D -m644 \
"%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \
"%{?buildroot}%{tde_prefix}/etc/xdg/menus/kde-applications.menu"
%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg"
%else
%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu"
%endif
# Makes 'default.kde' theme an alternative with 'crystalsvg-updated'
%__rm -f "%{?buildroot}%{tde_datadir}/icons/default.kde"
%__ln_s "%{_sysconfdir}/alternatives/default.kde" "%{?buildroot}%{tde_datadir}/icons/default.kde"
%__mkdir_p "%{?buildroot}%{_sysconfdir}/alternatives"
%__ln_s "%{tde_datadir}/icons/crystalsvg" "%{?buildroot}%{_sysconfdir}/alternatives/default.kde"
%clean
%__rm -rf "%{?buildroot}"
%changelog
* Sat Jan 19 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2
Loading…
Cancel
Save