summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2013-07-19 15:39:44 +0200
committerFrançois Andriot <[email protected]>2013-07-19 15:39:44 +0200
commitb6a7c10f390060cdd3a9204ad260cc3d3e572038 (patch)
treec8e31a898ef9c03f8fad5e2b317f0637398d1174
parent61888c6507c0c35a3ffb1ba49e8b2dc91ac9f43f (diff)
downloadtde-packaging-b6a7c10f390060cdd3a9204ad260cc3d3e572038.tar.gz
tde-packaging-b6a7c10f390060cdd3a9204ad260cc3d3e572038.zip
RPM Packaging: R14 updates
-rw-r--r--mageia/README.txt10
-rw-r--r--mandriva/README.txt13
-rw-r--r--redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec2
-rw-r--r--redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec14
-rw-r--r--redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec3
-rw-r--r--redhat/dependencies/tqca/tqca-14.0.0.spec2
-rw-r--r--redhat/dependencies/tqt3/tqt3-14.0.0.spec1
-rwxr-xr-xredhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec4
-rw-r--r--redhat/tdebase/suse-displaymanagers-tdm9
-rw-r--r--redhat/tdebase/tdebase-14.0.0-ftbfs.patch60
-rw-r--r--redhat/tdebase/tdebase-14.0.0.spec315
-rw-r--r--redhat/tdelibs/tdelibs-14.0.0-fix_xdg_menu.patch2990
-rw-r--r--redhat/tdelibs/tdelibs-14.0.0-ftbfs.patch44
-rw-r--r--redhat/tdelibs/tdelibs-14.0.0.spec86
14 files changed, 3329 insertions, 224 deletions
diff --git a/mageia/README.txt b/mageia/README.txt
new file mode 100644
index 000000000..5e3f0cd69
--- /dev/null
+++ b/mageia/README.txt
@@ -0,0 +1,10 @@
+Note on 2013/07/17 :
+
+The current TDE packages are built as follow:
+
+For 3.5.13.x:
+1) build "dependencies/qt3" from "mageia" directory
+2) build all other packages from "redhat" directory
+
+For R14 and later:
+1) build all packages from "redhat" directory
diff --git a/mandriva/README.txt b/mandriva/README.txt
new file mode 100644
index 000000000..9bf252f10
--- /dev/null
+++ b/mandriva/README.txt
@@ -0,0 +1,13 @@
+Note on 2013/07/17 :
+
+The stuff in this directory is obsolete.
+It looks like it was an attempt to build TDE 3.5.12 on Mandriva 2010.2 .
+
+The current TDE packages are built as follow:
+
+For 3.5.13.x:
+1) build "dependencies/qt3" from "mageia" directory
+2) build all other packages from "redhat" directory
+
+For R14 and later:
+1) build all packages from "redhat" directory
diff --git a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec b/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec
index 642ffee80..0ddd1f933 100644
--- a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec
+++ b/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec
@@ -127,4 +127,4 @@ cd build
%changelog
* Thu Feb 16 2012 Francois Andriot <[email protected]> - 14.0.0-1
-- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
+- Initial build for TDE 14.0.0
diff --git a/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec b/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec
index 17544e1eb..504f07424 100644
--- a/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec
+++ b/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec
@@ -3,6 +3,8 @@
%define _variant .opt
%endif
+%define tde_version 14.0.0
+
%define tde_bindir %{tde_prefix}/bin
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
@@ -14,7 +16,7 @@
Name: trinity-libart-lgpl
-Version: 14.0.0
+Version: 2.3.22
Release: 1%{?dist}%{?_variant}
Summary: Library of functions for 2D graphics - runtime files
@@ -29,10 +31,10 @@ Packager: Francois Andriot <[email protected]>
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqt3-devel >= 3.5.0
-BuildRequires: trinity-tqtinterface-devel >= 3.5.0
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
%description
A library of functions for 2D graphics supporting a superset of the
@@ -134,7 +136,7 @@ especially suitable for embedded applications.
##########
%prep
-%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp -f "/usr/share/aclocal/libtool.m4" "libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "ltmain.sh"
@@ -174,5 +176,5 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
%changelog
-* Mon Jun 03 2013 Francois Andriot <[email protected]> - 1.0-1
-- Initial build for TDE 3.5.13.2
+* Fri Jul 05 2013 Francois Andriot <[email protected]> - 2.3.22-1
+- Initial build for TDE 14.0.0
diff --git a/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec b/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec
index 4e79cdf00..83531ed01 100644
--- a/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec
+++ b/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec
@@ -30,7 +30,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-BuildRequires: trinity-tqt3-devel >= %{tde_version}
+BuildRequires: trinity-tqt3-devel >= 3.5.0
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tqca-devel >= 1.0
BuildRequires: openssl-devel >= 0.9.8
@@ -82,4 +82,3 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
%changelog
* Fri Jul 05 2013 Francois Andriot <[email protected]> - 1.0-3
- Initial build for TDE 14.0.0
-
diff --git a/redhat/dependencies/tqca/tqca-14.0.0.spec b/redhat/dependencies/tqca/tqca-14.0.0.spec
index 52ce3decd..e2b23a10b 100644
--- a/redhat/dependencies/tqca/tqca-14.0.0.spec
+++ b/redhat/dependencies/tqca/tqca-14.0.0.spec
@@ -33,7 +33,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-BuildRequires: trinity-tqt3-devel >= %{tde_version}
+BuildRequires: trinity-tqt3-devel >= 3.5.0
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0.spec b/redhat/dependencies/tqt3/tqt3-14.0.0.spec
index 7796ab647..33b5ecfc5 100644
--- a/redhat/dependencies/tqt3/tqt3-14.0.0.spec
+++ b/redhat/dependencies/tqt3/tqt3-14.0.0.spec
@@ -52,6 +52,7 @@ BuildRequires: fontconfig-devel
BuildRequires: gcc-c++
BuildRequires: libuuid-devel
BuildRequires: glib2-devel
+BuildRequires: make
# NAS support
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
diff --git a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
index e613ee793..e9ddaadcb 100755
--- a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
+++ b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
@@ -170,5 +170,5 @@ done
%changelog
-* Tue Feb 14 2012 Francois Andriot <[email protected]> - 14.0.0-1
-- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
+* Fri Jul 05 2013 Francois Andriot <[email protected]> - 14.0.0-1
+- Initial build for TDE 14.0.0
diff --git a/redhat/tdebase/suse-displaymanagers-tdm b/redhat/tdebase/suse-displaymanagers-tdm
index 7170ca8f2..a5aee77ff 100644
--- a/redhat/tdebase/suse-displaymanagers-tdm
+++ b/redhat/tdebase/suse-displaymanagers-tdm
@@ -7,10 +7,15 @@ tdm_start_proc() {
}
tdm_vars() {
- TDM_BIN=/opt/trinity/bin/kdm
+ if [ -x /opt/trinity/bin/kdm ]; then
+ TDM_BIN=/opt/trinity/bin/kdm
+ export KDEROOTHOME=/root/.tdm
+ else
+ TDM_BIN=/opt/trinity/bin/tdm
+ export TDEROOTHOME=/root/.tdm
+ fi
case "${DISPLAYMANAGER##*/}" in
tdm)
- export KDEROOTHOME=/root/.kdm
DISPLAYMANAGER=$TDM_BIN
STARTPROC=tdm_start_proc
;;
diff --git a/redhat/tdebase/tdebase-14.0.0-ftbfs.patch b/redhat/tdebase/tdebase-14.0.0-ftbfs.patch
new file mode 100644
index 000000000..df63746b4
--- /dev/null
+++ b/redhat/tdebase/tdebase-14.0.0-ftbfs.patch
@@ -0,0 +1,60 @@
+--- trinity-tdebase-14.0.0~pre738+d41051b3/kcontrol/background/CMakeLists.txt.ORI 2013-07-17 15:07:53.620475336 +0200
++++ trinity-tdebase-14.0.0~pre738+d41051b3/kcontrol/background/CMakeLists.txt 2013-07-17 15:08:37.773235444 +0200
+@@ -23,6 +23,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${LIBART_LIBRARY_DIRS}
+ )
+
+ ##### bgnd (static) #############################
+--- trinity-tdebase-14.0.0~pre738+d41051b3/kcontrol/kicker/CMakeLists.txt.ftbfs 2013-07-17 15:10:49.001523716 +0200
++++ trinity-tdebase-14.0.0~pre738+d41051b3/kcontrol/kicker/CMakeLists.txt 2013-07-17 15:11:58.278148735 +0200
+@@ -22,6 +22,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${LIBART_LIBRARY_DIRS}
+ )
+
+ ##### other data ################################
+--- trinity-tdebase-14.0.0~pre738+d41051b3/kcontrol/tdm/CMakeLists.txt.ftbfs 2013-07-17 15:14:35.389300184 +0200
++++ trinity-tdebase-14.0.0~pre738+d41051b3/kcontrol/tdm/CMakeLists.txt 2013-07-17 15:14:41.479267342 +0200
+@@ -19,6 +19,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${LIBART_LIBRARY_DIRS}
+ )
+
+ ##### other data ################################
+--- trinity-tdebase-14.0.0~pre738+d41051b3/kcontrol/icons/CMakeLists.txt.ftbfs 2013-07-17 15:16:26.158703430 +0200
++++ trinity-tdebase-14.0.0~pre738+d41051b3/kcontrol/icons/CMakeLists.txt 2013-07-17 15:16:31.722673486 +0200
+@@ -19,6 +19,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${LIBART_LIBRARY_DIRS}
+ )
+
+ ##### other data ################################
+--- trinity-tdebase-14.0.0~pre738+d41051b3/tdm/kfrontend/CMakeLists.txt.ftbfs 2013-07-17 15:22:20.506802399 +0200
++++ trinity-tdebase-14.0.0~pre738+d41051b3/tdm/kfrontend/CMakeLists.txt 2013-07-17 15:22:27.893762894 +0200
+@@ -26,6 +26,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${LIBART_LIBRARY_DIRS}
+ )
+
+
+--- trinity-tdebase-14.0.0~pre738+d41051b3/kdesktop/CMakeLists.txt.ftbfs 2013-07-17 15:26:02.711616155 +0200
++++ trinity-tdebase-14.0.0~pre738+d41051b3/kdesktop/CMakeLists.txt 2013-07-17 15:26:08.085587520 +0200
+@@ -36,6 +36,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${LIBART_LIBRARY_DIRS}
+ )
+
+
diff --git a/redhat/tdebase/tdebase-14.0.0.spec b/redhat/tdebase/tdebase-14.0.0.spec
index 8c1104287..f79c76b5a 100644
--- a/redhat/tdebase/tdebase-14.0.0.spec
+++ b/redhat/tdebase/tdebase-14.0.0.spec
@@ -3,7 +3,9 @@
%define _variant .opt
%endif
-# TDE 3.5.13 specific building variables
+%define tde_version 14.0.0
+
+# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@@ -41,9 +43,7 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
-
-# Wrapper script to prevent Plasma launch at Trinity Startup
-Source1: plasma-desktop
+Patch0: tdebase-14.0.0-ftbfs.patch
# Pam configuration files for RHEL / Fedora
%if 0%{?suse_version} == 0
@@ -250,9 +250,9 @@ Requires: opensuse-manuals_en
BuildRequires: cmake >= 2.8
BuildRequires: trinity-tqt3-devel >= 3.5.0
-BuildRequires: trinity-tqtinterface-devel >= %{version}
-BuildRequires: trinity-arts-devel >= %{version}
-BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-arts-devel >= %{tde_version}
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: openssl-devel
@@ -365,8 +365,8 @@ BuildRequires: nas-devel
BuildRequires: dbus-devel >= 0.22-12.EL.9p1
Requires: dbus-qt >= 0.22-12.EL.9p1
%else
-BuildRequires: trinity-dbus-tqt-devel >= %{version}
-Requires: trinity-dbus-tqt >= %{version}
+BuildRequires: trinity-dbus-tqt-devel >= %{tde_version}
+Requires: trinity-dbus-tqt >= %{tde_version}
%endif
%if 0%{?fedora} >= 17
@@ -381,16 +381,9 @@ BuildRequires: %{_lib}jack-devel
BuildRequires: jack-audio-connection-kit-devel
%endif
-# LIBART support
-%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} >= 5
+# LIBART_LGPL support
%define with_libart 1
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}art_lgpl-devel
-%endif
-%if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel}
-BuildRequires: libart_lgpl-devel
-%endif
-%endif
+BuildRequires: trinity-libart-lgpl-devel
# SAMBA support
%if 0%{?rhel} == 4
@@ -484,9 +477,9 @@ Requires: trinity-libkonq = %{version}-%{release}
Requires: %{name}-libtqt3-integration = %{version}-%{release}
Requires: %{name}-tdeio-smb-plugin = %{version}-%{release}
-Requires: trinity-tqtinterface >= %{version}
-Requires: trinity-arts >= %{version}
-Requires: trinity-tdelibs >= %{version}
+Requires: trinity-tqtinterface >= %{tde_version}
+Requires: trinity-arts >= %{tde_version}
+Requires: trinity-tdelibs >= %{tde_version}
Requires: trinity-tqt3 >= 3.5.0
Requires: openssl
@@ -723,8 +716,8 @@ Some random features:
%{tde_tdelibdir}/kate.la
%{tde_tdelibdir}/kate.so
%{tde_libdir}/libkateutils.so.*
-%{tde_libdir}/lib[kt]deinit_kate.la
-%{tde_libdir}/lib[kt]deinit_kate.so
+%{tde_libdir}/libtdeinit_kate.la
+%{tde_libdir}/libtdeinit_kate.so
%{tde_tdeappdir}/kate.desktop
%{tde_datadir}/apps/kate/
%{tde_datadir}/apps/tdeconf_update/kate-2.4.upd
@@ -790,8 +783,8 @@ Kwrite is a text editor for TDE.
%{tde_bindir}/kwrite
%{tde_tdelibdir}/kwrite.la
%{tde_tdelibdir}/kwrite.so
-%{tde_libdir}/lib[kt]deinit_kwrite.la
-%{tde_libdir}/lib[kt]deinit_kwrite.so
+%{tde_libdir}/libtdeinit_kwrite.la
+%{tde_libdir}/libtdeinit_kwrite.so
%{tde_tdeappdir}/kwrite.desktop
%{tde_datadir}/apps/kwrite/kwriteui.rc
%{tde_datadir}/icons/hicolor/*/apps/kwrite.png
@@ -895,8 +888,8 @@ plugdev group.
%{tde_tdelibdir}/kcm_joystick.so
%{tde_tdelibdir}/kcm_kded.la
%{tde_tdelibdir}/kcm_kded.so
-%{tde_tdelibdir}/kcm_[kt]dm.la
-%{tde_tdelibdir}/kcm_[kt]dm.so
+%{tde_tdelibdir}/kcm_tdm.la
+%{tde_tdelibdir}/kcm_tdm.so
%{tde_tdelibdir}/kcm_tdednssd.so
%{tde_tdelibdir}/kcm_tdednssd.la
%{tde_tdelibdir}/kcm_keys.la
@@ -959,10 +952,10 @@ plugdev group.
%{tde_tdelibdir}/libkurisearchfilter.so
%{tde_tdelibdir}/liblocaldomainurifilter.la
%{tde_tdelibdir}/liblocaldomainurifilter.so
-%{tde_libdir}/lib[kt]deinit_kaccess.la
-%{tde_libdir}/lib[kt]deinit_kaccess.so
-%{tde_libdir}/lib[kt]deinit_kcontrol.la
-%{tde_libdir}/lib[kt]deinit_kcontrol.so
+%{tde_libdir}/libtdeinit_kaccess.la
+%{tde_libdir}/libtdeinit_kaccess.so
+%{tde_libdir}/libtdeinit_kcontrol.la
+%{tde_libdir}/libtdeinit_kcontrol.so
%{tde_libdir}/libtdefontinst.so.*
%{tde_tdeappdir}/arts.desktop
%{tde_tdeappdir}/background.desktop
@@ -1004,7 +997,7 @@ plugdev group.
%{tde_tdeappdir}/kcmusb.desktop
%{tde_tdeappdir}/kcmview1394.desktop
%{tde_tdeappdir}/KControl.desktop
-%{tde_tdeappdir}/[kt]dm.desktop
+%{tde_tdeappdir}/tdm.desktop
%{tde_tdeappdir}/keys.desktop
%{tde_tdeappdir}/tdefontview.desktop
%{tde_tdeappdir}/tdehtml_behavior.desktop
@@ -1135,7 +1128,7 @@ TDE applications, particularly those in the TDE base module.
%{tde_bindir}/krootbacking
#%{tde_bindir}/tdeinit_phase1
%if 0%{?with_tsak}
-%attr(4511,root,root) %{tde_bindir}/[kt]dmtsak
+%attr(4511,root,root) %{tde_bindir}/tdmtsak
%{tde_bindir}/tsak
%endif
%{tde_bindir}/kdebugdialog
@@ -1151,8 +1144,8 @@ TDE applications, particularly those in the TDE base module.
%{tde_bindir}/kcminit
%{tde_bindir}/kcminit_startup
%{tde_bindir}/kdcop
-%{tde_bindir}/[kt]desu
-%attr(0755,root,root) %{tde_bindir}/[kt]desud
+%{tde_bindir}/tdesu
+%attr(0755,root,root) %{tde_bindir}/tdesud
%{tde_bindir}/kdialog
%{tde_bindir}/khotkeys
%{tde_bindir}/knetattach
@@ -1182,14 +1175,14 @@ TDE applications, particularly those in the TDE base module.
%{tde_tdelibdir}/khotkeys_arts.so
%{tde_tdelibdir}/kxkb.la
%{tde_tdelibdir}/kxkb.so
-%{tde_libdir}/lib[kt]deinit_kcminit.la
-%{tde_libdir}/lib[kt]deinit_kcminit.so
-%{tde_libdir}/lib[kt]deinit_kcminit_startup.la
-%{tde_libdir}/lib[kt]deinit_kcminit_startup.so
-%{tde_libdir}/lib[kt]deinit_khotkeys.la
-%{tde_libdir}/lib[kt]deinit_khotkeys.so
-%{tde_libdir}/lib[kt]deinit_kxkb.la
-%{tde_libdir}/lib[kt]deinit_kxkb.so
+%{tde_libdir}/libtdeinit_kcminit.la
+%{tde_libdir}/libtdeinit_kcminit.so
+%{tde_libdir}/libtdeinit_kcminit_startup.la
+%{tde_libdir}/libtdeinit_kcminit_startup.so
+%{tde_libdir}/libtdeinit_khotkeys.la
+%{tde_libdir}/libtdeinit_khotkeys.so
+%{tde_libdir}/libtdeinit_kxkb.la
+%{tde_libdir}/libtdeinit_kxkb.so
%{tde_libdir}/libkhotkeys_shared.so.*
%{tde_tdeappdir}/keyboard.desktop
%{tde_tdeappdir}/keyboard_layout.desktop
@@ -1210,7 +1203,7 @@ TDE applications, particularly those in the TDE base module.
%endif
%{tde_tdedocdir}/HTML/en/kdcop/
%{tde_tdedocdir}/HTML/en/kdebugdialog//
-%{tde_tdedocdir}/HTML/en/[kt]desu/
+%{tde_tdedocdir}/HTML/en/tdesu/
%{tde_tdedocdir}/HTML/en/knetattach/
%{tde_tdedocdir}/HTML/en/kxkb/
@@ -1318,7 +1311,7 @@ needed for a basic TDE desktop installation.
%{tde_datadir}/icons/crystalsvg/*/apps/kcmpartitions.png
%{tde_datadir}/icons/crystalsvg/*/apps/kcmpci.png
%{tde_datadir}/icons/crystalsvg/*/apps/kcontrol.png
-%{tde_datadir}/icons/crystalsvg/*/apps/[kt]dmconfig.png
+%{tde_datadir}/icons/crystalsvg/*/apps/tdmconfig.png
%{tde_datadir}/icons/crystalsvg/*/apps/key_bindings.png
%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.png
%{tde_datadir}/icons/crystalsvg/*/apps/tdescreensaver.png
@@ -1517,18 +1510,11 @@ needed for a basic TDE desktop installation.
%exclude %{tde_datadir}/sounds/pop.wav
%{tde_datadir}/sounds/
%{tde_datadir}/wallpapers/*
-
-%if "%{tde_prefix}" != "/usr"
-%{tde_prefix}/etc/xdg/menus/applications-merged/tde-essential.menu
-%{tde_prefix}/etc/xdg/menus/tde-information.menu
-%{tde_prefix}/etc/xdg/menus/tde-screensavers.menu
-%{tde_prefix}/etc/xdg/menus/tde-settings.menu
-%else
+# XDG directories information
%{_sysconfdir}/xdg/menus/applications-merged/tde-essential.menu
%{_sysconfdir}/xdg/menus/tde-information.menu
%{_sysconfdir}/xdg/menus/tde-screensavers.menu
%{_sysconfdir}/xdg/menus/tde-settings.menu
-%endif
%{tde_tdedocdir}/HTML/en/kcontrol/
%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/
@@ -1753,11 +1739,11 @@ system passwords.
%{tde_tdelibdir}/kcm_useraccount.so
%{tde_tdeappdir}/kcm_useraccount.desktop
%{tde_tdeappdir}/kdepasswd.desktop
-%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default1.png
-%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default2.png
-%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default3.png
-%exclude %{tde_datadir}/apps/[kt]dm/pics/users/root1.png
-%{tde_datadir}/apps/[kt]dm/pics/users/*.png
+%exclude %{tde_datadir}/apps/tdm/pics/users/default1.png
+%exclude %{tde_datadir}/apps/tdm/pics/users/default2.png
+%exclude %{tde_datadir}/apps/tdm/pics/users/default3.png
+%exclude %{tde_datadir}/apps/tdm/pics/users/root1.png
+%{tde_datadir}/apps/tdm/pics/users/*.png
%{tde_datadir}/config.kcfg/kcm_useraccount.kcfg
%{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg
@@ -1784,7 +1770,7 @@ Installation of smbclient will make you able to use smb shared printers.
%files -n trinity-tdeprint
%defattr(-,root,root,-)
-%{tde_bindir}/[kt]deprintfax
+%{tde_bindir}/tdeprintfax
%{tde_bindir}/kjobviewer
%{tde_bindir}/kprinter
%{tde_tdelibdir}/kcm_printmgr.la
@@ -1795,19 +1781,19 @@ Installation of smbclient will make you able to use smb shared printers.
%{tde_tdelibdir}/kjobviewer.so
%{tde_tdelibdir}/kprinter.la
%{tde_tdelibdir}/kprinter.so
-%{tde_tdelibdir}/lib[kt]deprint_part.la
-%{tde_tdelibdir}/lib[kt]deprint_part.so
-%{tde_libdir}/lib[kt]deinit_kjobviewer.la
-%{tde_libdir}/lib[kt]deinit_kjobviewer.so
-%{tde_libdir}/lib[kt]deinit_kprinter.la
-%{tde_libdir}/lib[kt]deinit_kprinter.so
-%{tde_tdeappdir}/[kt]deprintfax.desktop
-%{tde_tdeappdir}/[kt]jobviewer.desktop
+%{tde_tdelibdir}/libtdeprint_part.la
+%{tde_tdelibdir}/libtdeprint_part.so
+%{tde_libdir}/libtdeinit_kjobviewer.la
+%{tde_libdir}/libtdeinit_kjobviewer.so
+%{tde_libdir}/libtdeinit_kprinter.la
+%{tde_libdir}/libtdeinit_kprinter.so
+%{tde_tdeappdir}/tdeprintfax.desktop
+%{tde_tdeappdir}/kjobviewer.desktop
%{tde_tdeappdir}/printers.desktop
-%{tde_datadir}/apps/[kt]deprint/
-%{tde_datadir}/apps/[kt]deprintfax/
-%{tde_datadir}/apps/[kt]jobviewer/
-%{tde_datadir}/apps/[kt]deprint_part/tdeprint_part.rc
+%{tde_datadir}/apps/tdeprint/
+%{tde_datadir}/apps/tdeprintfax/
+%{tde_datadir}/apps/kjobviewer/
+%{tde_datadir}/apps/tdeprint_part/tdeprint_part.rc
%{tde_datadir}/icons/hicolor/*/apps/tdeprintfax.png
%{tde_datadir}/icons/hicolor/*/apps/kjobviewer.png
%{tde_datadir}/icons/hicolor/*/apps/printmgr.png
@@ -1824,7 +1810,7 @@ Installation of smbclient will make you able to use smb shared printers.
%{tde_datadir}/services/tdeprint_part.desktop
%{tde_datadir}/services/print.protocol
%{tde_datadir}/services/printdb.protocol
-%{tde_tdedocdir}/HTML/en/[kt]deprint/
+%{tde_tdedocdir}/HTML/en/tdeprint/
%post -n trinity-tdeprint
/sbin/ldconfig || :
@@ -1871,8 +1857,8 @@ the TDE desktop.
%{tde_bindir}/kwebdesktop
%{tde_tdelibdir}/kdesktop.la
%{tde_tdelibdir}/kdesktop.so
-%{tde_libdir}/lib[kt]deinit_kdesktop.la
-%{tde_libdir}/lib[kt]deinit_kdesktop.so
+%{tde_libdir}/libtdeinit_kdesktop.la
+%{tde_libdir}/libtdeinit_kdesktop.so
%{tde_datadir}/apps/kdesktop/
%{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop
%{tde_datadir}/autostart/kdesktop.desktop
@@ -1963,23 +1949,23 @@ already. Most users won't need this.
%defattr(-,root,root,-)
%{tde_tdelibdir}/kgreet_pam.la
%{tde_tdelibdir}/kgreet_pam.so
-%{tde_bindir}/gen[kt]dmconf
-%{tde_bindir}/[kt]dm
-%{tde_bindir}/[kt]dm_config
-%{tde_bindir}/[kt]dmctl
-%{tde_bindir}/[kt]dm_greet
+%{tde_bindir}/gentdmconf
+%{tde_bindir}/tdm
+%{tde_bindir}/tdm_config
+%{tde_bindir}/tdmctl
+%{tde_bindir}/tdm_greet
%{tde_bindir}/krootimage
-%{tde_datadir}/apps/[kt]dm/pics/kdelogo.png
-%{tde_datadir}/apps/[kt]dm/pics/shutdown.jpg
-%{tde_datadir}/apps/[kt]dm/pics/users/default1.png
-%{tde_datadir}/apps/[kt]dm/pics/users/default2.png
-%{tde_datadir}/apps/[kt]dm/pics/users/default3.png
-%{tde_datadir}/apps/[kt]dm/pics/users/root1.png
-%{tde_datadir}/apps/[kt]dm/sessions/*.desktop
-%{tde_datadir}/apps/[kt]dm/themes/
+%{tde_datadir}/apps/tdm/pics/kdelogo.png
+%{tde_datadir}/apps/tdm/pics/shutdown.jpg
+%{tde_datadir}/apps/tdm/pics/users/default1.png
+%{tde_datadir}/apps/tdm/pics/users/default2.png
+%{tde_datadir}/apps/tdm/pics/users/default3.png
+%{tde_datadir}/apps/tdm/pics/users/root1.png
+%{tde_datadir}/apps/tdm/sessions/*.desktop
+%{tde_datadir}/apps/tdm/themes/
%{tde_datadir}/config/tdm
-%{_sysconfdir}/trinity/[kt]dm/
-%{tde_tdedocdir}/HTML/en/[kt]dm/
+%{_sysconfdir}/trinity/tdm/
+%{tde_tdedocdir}/HTML/en/tdm/
%if 0%{?suse_version} == 0
%{_sysconfdir}/pam.d/tdm-trinity
%{_sysconfdir}/pam.d/tdm-trinity-np
@@ -2126,8 +2112,8 @@ documentation.
%{tde_bindir}/khelpcenter
%{tde_tdelibdir}/khelpcenter.la
%{tde_tdelibdir}/khelpcenter.so
-%{tde_libdir}/lib[kt]deinit_khelpcenter.la
-%{tde_libdir}/lib[kt]deinit_khelpcenter.so
+%{tde_libdir}/libtdeinit_khelpcenter.la
+%{tde_libdir}/libtdeinit_khelpcenter.so
%{tde_tdeappdir}/Help.desktop
%{tde_datadir}/apps/khelpcenter/
%{tde_datadir}/config.kcfg/khelpcenter.kcfg
@@ -2185,8 +2171,8 @@ functionality.
%{tde_tdelibdir}/kickermenu_find.so
%{tde_tdelibdir}/kickermenu_kate.so
%{tde_tdelibdir}/kickermenu_kate.la
-%{tde_tdelibdir}/kickermenu_[kt]deprint.la
-%{tde_tdelibdir}/kickermenu_[kt]deprint.so
+%{tde_tdelibdir}/kickermenu_tdeprint.la
+%{tde_tdelibdir}/kickermenu_tdeprint.so
%{tde_tdelibdir}/kickermenu_konqueror.la
%{tde_tdelibdir}/kickermenu_konqueror.so
%{tde_tdelibdir}/kickermenu_konsole.la
@@ -2225,12 +2211,12 @@ functionality.
%{tde_tdelibdir}/trash_panelapplet.la
%{tde_tdelibdir}/trash_panelapplet.so
%{tde_libdir}/libkasbar.so.*
-%{tde_libdir}/lib[kt]deinit_appletproxy.la
-%{tde_libdir}/lib[kt]deinit_appletproxy.so
-%{tde_libdir}/lib[kt]deinit_extensionproxy.la
-%{tde_libdir}/lib[kt]deinit_extensionproxy.so
-%{tde_libdir}/lib[kt]deinit_kicker.la
-%{tde_libdir}/lib[kt]deinit_kicker.so
+%{tde_libdir}/libtdeinit_appletproxy.la
+%{tde_libdir}/libtdeinit_appletproxy.so
+%{tde_libdir}/libtdeinit_extensionproxy.la
+%{tde_libdir}/libtdeinit_extensionproxy.so
+%{tde_libdir}/libtdeinit_kicker.la
+%{tde_libdir}/libtdeinit_kicker.so
%{tde_libdir}/libkickermain.so.*
%{tde_libdir}/libtaskbar.so.*
%{tde_libdir}/libtaskmanager.so.*
@@ -2338,8 +2324,8 @@ web browser if the clipboard contains a URL.
%{tde_tdelibdir}/klipper.so
%{tde_tdelibdir}/klipper_panelapplet.la
%{tde_tdelibdir}/klipper_panelapplet.so
-%{tde_libdir}/lib[kt]deinit_klipper.la
-%{tde_libdir}/lib[kt]deinit_klipper.so
+%{tde_libdir}/libtdeinit_klipper.la
+%{tde_libdir}/libtdeinit_klipper.so
%{tde_tdeappdir}/klipper.desktop
%{tde_datadir}/apps/tdeconf_update/klipper-1-2.pl
%{tde_datadir}/apps/tdeconf_update/klipper-trinity1.sh
@@ -2385,10 +2371,10 @@ structure.
%{tde_tdelibdir}/kcontroledit.so
%{tde_tdelibdir}/kmenuedit.la
%{tde_tdelibdir}/kmenuedit.so
-%{tde_libdir}/lib[kt]deinit_kcontroledit.la
-%{tde_libdir}/lib[kt]deinit_kcontroledit.so
-%{tde_libdir}/lib[kt]deinit_kmenuedit.la
-%{tde_libdir}/lib[kt]deinit_kmenuedit.so
+%{tde_libdir}/libtdeinit_kcontroledit.la
+%{tde_libdir}/libtdeinit_kcontroledit.so
+%{tde_libdir}/libtdeinit_kmenuedit.la
+%{tde_libdir}/libtdeinit_kmenuedit.so
%{tde_tdeappdir}/kmenuedit.desktop
%{tde_datadir}/applnk/System/kmenuedit.desktop
%{tde_datadir}/apps/kcontroledit/
@@ -2475,12 +2461,12 @@ ever launching another application.
%{tde_tdelibdir}/konqueror.so
%{tde_tdelibdir}/libtdehtmlkttsdplugin.la
%{tde_tdelibdir}/libtdehtmlkttsdplugin.so
-%{tde_libdir}/lib[kt]deinit_keditbookmarks.la
-%{tde_libdir}/lib[kt]deinit_keditbookmarks.so
-%{tde_libdir}/lib[kt]deinit_kfmclient.la
-%{tde_libdir}/lib[kt]deinit_kfmclient.so
-%{tde_libdir}/lib[kt]deinit_konqueror.la
-%{tde_libdir}/lib[kt]deinit_konqueror.so
+%{tde_libdir}/libtdeinit_keditbookmarks.la
+%{tde_libdir}/libtdeinit_keditbookmarks.so
+%{tde_libdir}/libtdeinit_kfmclient.la
+%{tde_libdir}/libtdeinit_kfmclient.so
+%{tde_libdir}/libtdeinit_konqueror.la
+%{tde_libdir}/libtdeinit_konqueror.so
%{tde_libdir}/libkonqsidebarplugin.so.*
%{tde_tdeappdir}/Home.desktop
%{tde_tdeappdir}/kcmhistory.desktop
@@ -2646,8 +2632,8 @@ Using Konsole, a user can open:
%{tde_tdelibdir}/konsole.so
%{tde_tdelibdir}/libkonsolepart.la
%{tde_tdelibdir}/libkonsolepart.so
-%{tde_libdir}/lib[kt]deinit_konsole.la
-%{tde_libdir}/lib[kt]deinit_konsole.so
+%{tde_libdir}/libtdeinit_konsole.la
+%{tde_libdir}/libtdeinit_konsole.so
%{tde_tdeappdir}/konsole.desktop
%{tde_tdeappdir}/konsolesu.desktop
%{tde_datadir}/applnk/.hidden/kcmkonsole.desktop
@@ -2772,25 +2758,20 @@ TDE will start, but many good defaults will not be set.
%files -n trinity-ksmserver
%defattr(-,root,root,-)
%{tde_bindir}/ksmserver
-%{tde_bindir}/start[kt]de
+%{tde_bindir}/starttde
%{tde_bindir}/migratekde3
%{tde_bindir}/r14-xdg-update
%{tde_bindir}/tdeinit_displayconfig
%{tde_bindir}/tdeinit_phase1
%{tde_tdelibdir}/ksmserver.la
%{tde_tdelibdir}/ksmserver.so
-%{tde_libdir}/lib[kt]deinit_ksmserver.la
-%{tde_libdir}/lib[kt]deinit_ksmserver.so
+%{tde_libdir}/libtdeinit_ksmserver.la
+%{tde_libdir}/libtdeinit_ksmserver.so
%{tde_datadir}/apps/tdeconf_update/ksmserver.upd
%{tde_datadir}/apps/tdeconf_update/move_session_config.sh
%{tde_datadir}/apps/ksmserver/pics/shutdown.png
%{tde_datadir}/apps/ksmserver/pics/shutdownkonq.png
-# Remove conflicts with redhat-menus
-%if "%{?tde_prefix}" != "/usr"
-%{tde_bindir}/plasma-desktop
-%endif
-
%post -n trinity-ksmserver
/sbin/ldconfig || :
@@ -2991,45 +2972,45 @@ This package contains the default X window manager for TDE.
%files -n trinity-twin
%defattr(-,root,root,-)
%{tde_bindir}/kompmgr
-%{tde_bindir}/[kt]win
-%{tde_bindir}/[kt]win_killer_helper
-%{tde_bindir}/[kt]win_resumer_helper
-%{tde_bindir}/[kt]win_rules_dialog
-%{tde_libdir}/tdeconf_update_bin/[kt]win_update_default_rules
-%{tde_libdir}/tdeconf_update_bin/[kt]win_update_window_settings
-%{tde_tdelibdir}/kcm_[kt]win*.la
-%{tde_tdelibdir}/kcm_[kt]win*.so
-%{tde_tdelibdir}/[kt]win*.la
-%{tde_tdelibdir}/[kt]win*.so
-%{tde_libdir}/lib[kt]decorations.so.*
-%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.la
-%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.so
-%{tde_libdir}/lib[kt]deinit_[kt]win.la
-%{tde_libdir}/lib[kt]deinit_[kt]win.so
+%{tde_bindir}/twin
+%{tde_bindir}/twin_killer_helper
+%{tde_bindir}/twin_resumer_helper
+%{tde_bindir}/twin_rules_dialog
+%{tde_libdir}/tdeconf_update_bin/twin_update_default_rules
+%{tde_libdir}/tdeconf_update_bin/twin_update_window_settings
+%{tde_tdelibdir}/kcm_twin*.la
+%{tde_tdelibdir}/kcm_twin*.so
+%{tde_tdelibdir}/twin*.la
+%{tde_tdelibdir}/twin*.so
+%{tde_libdir}/libtdecorations.so.*
+%{tde_libdir}/libtdeinit_twin_rules_dialog.la
+%{tde_libdir}/libtdeinit_twin_rules_dialog.so
+%{tde_libdir}/libtdeinit_twin.la
+%{tde_libdir}/libtdeinit_twin.so
%{tde_tdeappdir}/showdesktop.desktop
-%{tde_tdeappdir}/[kt]windecoration.desktop
-%{tde_tdeappdir}/[kt]winoptions.desktop
-%{tde_tdeappdir}/[kt]winrules.desktop
-%{tde_datadir}/applnk/.hidden/[kt]winactions.desktop
-%{tde_datadir}/applnk/.hidden/[kt]winadvanced.desktop
-%{tde_datadir}/applnk/.hidden/[kt]winfocus.desktop
-%{tde_datadir}/applnk/.hidden/[kt]winmoving.desktop
-%{tde_datadir}/applnk/.hidden/[kt]wintranslucency.desktop
-%{tde_datadir}/apps/tdeconf_update/[kt]win3_plugin.pl
-%{tde_datadir}/apps/tdeconf_update/[kt]win3_plugin.upd
-%{tde_datadir}/apps/tdeconf_update/[kt]win_focus1.sh
-%{tde_datadir}/apps/tdeconf_update/[kt]win_focus1.upd
-%{tde_datadir}/apps/tdeconf_update/[kt]win_focus2.sh
-%{tde_datadir}/apps/tdeconf_update/[kt]win_focus2.upd
-%{tde_datadir}/apps/tdeconf_update/[kt]win_fsp_workarounds_1.upd
-%{tde_datadir}/apps/tdeconf_update/[kt]winiconify.upd
-%{tde_datadir}/apps/tdeconf_update/[kt]winsticky.upd
-%{tde_datadir}/apps/tdeconf_update/[kt]win.upd
-%{tde_datadir}/apps/tdeconf_update/[kt]winupdatewindowsettings.upd
+%{tde_tdeappdir}/twindecoration.desktop
+%{tde_tdeappdir}/twinoptions.desktop
+%{tde_tdeappdir}/twinrules.desktop
+%{tde_datadir}/applnk/.hidden/twinactions.desktop
+%{tde_datadir}/applnk/.hidden/twinadvanced.desktop
+%{tde_datadir}/applnk/.hidden/twinfocus.desktop
+%{tde_datadir}/applnk/.hidden/twinmoving.desktop
+%{tde_datadir}/applnk/.hidden/twintranslucency.desktop
+%{tde_datadir}/apps/tdeconf_update/twin3_plugin.pl
+%{tde_datadir}/apps/tdeconf_update/twin3_plugin.upd
+%{tde_datadir}/apps/tdeconf_update/twin_focus1.sh
+%{tde_datadir}/apps/tdeconf_update/twin_focus1.upd
+%{tde_datadir}/apps/tdeconf_update/twin_focus2.sh
+%{tde_datadir}/apps/tdeconf_update/twin_focus2.upd
+%{tde_datadir}/apps/tdeconf_update/twin_fsp_workarounds_1.upd
+%{tde_datadir}/apps/tdeconf_update/twiniconify.upd
+%{tde_datadir}/apps/tdeconf_update/twinsticky.upd
+%{tde_datadir}/apps/tdeconf_update/twin.upd
+%{tde_datadir}/apps/tdeconf_update/twinupdatewindowsettings.upd
%{tde_datadir}/apps/tdeconf_update/pluginlibFix.pl
-%{tde_datadir}/apps/[kt]win/
-%{tde_datadir}/config.kcfg/[kt]win.kcfg
-%{tde_datadir}/icons/crystalsvg/*/apps/[kt]win.png
+%{tde_datadir}/apps/twin/
+%{tde_datadir}/config.kcfg/twin.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/twin.png
%{tde_tdedocdir}/HTML/en/kompmgr/
%post -n trinity-twin
@@ -3060,7 +3041,7 @@ Requires: trinity-twin = %{version}-%{release}
%files -n trinity-twin-devel
%defattr(-,root,root,-)
-%{tde_tdeincludedir}/[kt]win/
+%{tde_tdeincludedir}/twin/
%{tde_tdeincludedir}/kcommondecoration.h
%{tde_tdeincludedir}/kdecoration.h
%{tde_tdeincludedir}/kdecoration_p.h
@@ -3191,6 +3172,7 @@ Windows and Samba shares.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+%patch0 -p1 -b .ftbfs
# Applies an optional distro-specific graphical theme
@@ -3346,11 +3328,6 @@ FNDSESSION_EXEC="/usr/sbin/chksession -k"
EOF
%endif
-# TDE 3.5.12: add script "plasma-desktop" to avoid conflict with KDE4
-%if "%{?tde_prefix}" != "/usr"
-%__install -m 755 "%{SOURCE1}" "%{?buildroot}%{tde_bindir}"
-%endif
-
# PAM configuration files (except openSUSE)
%if 0%{?suse_version} == 0
%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/tdm-trinity"
@@ -3367,12 +3344,6 @@ EOF
-e "s/^#*MinShowUID=.*/MinShowUID=500/"
%endif
-# Moves the XDG configuration files to TDE directory
-%if "%{tde_prefix}" != "/usr"
-%__mkdir_p "%{?buildroot}%{tde_prefix}/etc"
-%__mv -f "%{?buildroot}%{_sysconfdir}/xdg" "%{?buildroot}%{tde_prefix}/etc"
-%endif
-
# Symlinks 'usb.ids' (Use system-provided version, not TDE provided version)
%__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids"
%if 0%{?suse_version}
@@ -3419,5 +3390,5 @@ EOF
%changelog
-* Sun Mar 04 2012 Francois Andriot <[email protected]> - 14.0.0-1
-- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
+* Fri Jul 05 2013 Francois Andriot <[email protected]> - 14.0.0-1
+- Initial build for TDE 14.0.0
diff --git a/redhat/tdelibs/tdelibs-14.0.0-fix_xdg_menu.patch b/redhat/tdelibs/tdelibs-14.0.0-fix_xdg_menu.patch
new file mode 100644
index 000000000..c2aa5d5d4
--- /dev/null
+++ b/redhat/tdelibs/tdelibs-14.0.0-fix_xdg_menu.patch
@@ -0,0 +1,2990 @@
+diff -Nuar trinity-tdelibs-14.0.0~pre599+bae79307/kded.ORI/applications.menu trinity-tdelibs-14.0.0~pre599+bae79307/kded/applications.menu
+--- trinity-tdelibs-14.0.0~pre599+bae79307/kded.ORI/applications.menu 2013-07-18 19:06:05.024534339 +0200
++++ trinity-tdelibs-14.0.0~pre599+bae79307/kded/applications.menu 1970-01-01 01:00:00.000000000 +0100
+@@ -1,907 +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>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-TDE core applications -->
+- <And>
+- <Category>Core</Category>
+- <Not><Category>TDE</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-TDE-TDevelopIDE</Name>
+- <Directory>tde-development-tdevelop.directory</Directory>
+- <Include>
+- <And>
+- <Category>Development</Category>
+- <Category>X-TDE-TDevelopIDE</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Translation</Name>
+- <Directory>tde-development-translation.directory</Directory>
+- <Include>
+- <And>
+- <Category>Development</Category>
+- <Category>Translation</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Web Development</Name>
+- <Directory>tde-development-webdevelopment.directory</Directory>
+- <Include>
+- <And>
+- <Category>Development</Category>
+- <Category>WebDevelopment</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Include>
+- <And>
+- <Category>Development</Category>
+- <Not><Category>X-TDE-TDevelopIDE</Category></Not>
+- <Not><Category>Translation</Category></Not>
+- <Not><Category>WebDevelopment</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- <Menu>
+- <Name>KDE</Name>
+- <Directory>kde-development.directory</Directory>
+- <Include>
+- <And>
+- <Category>Development</Category>
+- <Category>KDE</Category>
+- <Not><Category>Translation</Category></Not>
+- <Not><Category>WebDevelopment</Category></Not>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- <Menu>
+- <Name>Translation</Name>
+- <Directory>kde-development-translation.directory</Directory>
+- <Include>
+- <And>
+- <Category>Development</Category>
+- <Category>Translation</Category>
+- <Category>KDE</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Web Development</Name>
+- <Directory>kde-development-webdevelopment.directory</Directory>
+- <Include>
+- <And>
+- <Category>Development</Category>
+- <Category>WebDevelopment</Category>
+- <Category>KDE</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- </Menu>
+- </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>
+- <Not><Category>KDE</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-TDE-Edu-Language</Category>
+- </Or>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Mathematics</Name>
+- <Directory>tde-edu-mathematics.directory</Directory>
+- <Include>
+- <And>
+- <Category>Education</Category>
+- <Category>Math</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Miscellaneous</Name>
+- <Directory>tde-edu-miscellaneous.directory</Directory>
+- <Include>
+- <And>
+- <Category>Education</Category>
+- <Not>
+- <Category>Languages</Category>
+- <Category>X-TDE-Edu-Language</Category>
+- <Category>Math</Category>
+- <Category>Science</Category>
+- <Category>Teaching</Category>
+- <Category>X-TDE-Edu-Teaching</Category>
+- <Category>KDE</Category>
+- </Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Science</Name>
+- <Directory>tde-edu-science.directory</Directory>
+- <Include>
+- <And>
+- <Category>Education</Category>
+- <Category>Science</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Tools</Name>
+- <Directory>tde-edu-tools.directory</Directory>
+- <Include>
+- <And>
+- <Category>Education</Category>
+- <Or>
+- <Category>Teaching</Category>
+- <Category>X-TDE-Edu-Teaching</Category>
+- </Or>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>KDE</Name>
+- <Directory>kde-edutainment.directory</Directory>
+- <Include>
+- <And>
+- <Category>Education</Category>
+- <Category>KDE</Category>
+- <Not>
+- <Category>Education</Category>
+- <Category>Languages</Category>
+- <Category>X-TDE-Edu-Language</Category>
+- <Category>X-KDE-Edu-Language</Category>
+- <Category>Math</Category>
+- <Category>Science</Category>
+- <Category>Teaching</Category>
+- <Category>X-TDE-Edu-Teaching</Category>
+- <Category>X-KDE-Edu-Teaching</Category>
+- <Category>TDE</Category>
+- </Not>
+- </And>
+- </Include>
+- <Menu>
+- <Name>Languages</Name>
+- <Directory>kde-edu-languages.directory</Directory>
+- <Include>
+- <And>
+- <Category>Languages</Category>
+- <Category>KDE</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Mathematics</Name>
+- <Directory>kde-edu-mathematics.directory</Directory>
+- <Include>
+- <And>
+- <Category>Math</Category>
+- <Category>KDE</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Miscellaneous</Name>
+- <Directory>kde-edu-miscellaneous.directory</Directory>
+- <Include>
+- <And>
+- <Category>Education</Category>
+- <Category>KDE</Category>
+- <Not>
+- <Category>Languages</Category>
+- <Category>X-TDE-Edu-Language</Category>
+- <Category>X-KDE-Edu-Language</Category>
+- <Category>Math</Category>
+- <Category>Science</Category>
+- <Category>Teaching</Category>
+- <Category>X-TDE-Edu-Teaching</Category>
+- <Category>X-KDE-Edu-Teaching</Category>
+- <Category>TDE</Category>
+- </Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Science</Name>
+- <Directory>kde-edu-science.directory</Directory>
+- <Include>
+- <And>
+- <Category>Science</Category>
+- <Category>KDE</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Tools</Name>
+- <Directory>kde-edu-tools.directory</Directory>
+- <Include>
+- <And>
+- <Category>Teaching</Category>
+- <Category>KDE</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- </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>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Board</Name>
+- <Directory>tde-games-board.directory</Directory>
+- <Include>
+- <And>
+- <Category>Game</Category>
+- <Category>BoardGame</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Card</Name>
+- <Directory>tde-games-card.directory</Directory>
+- <Include>
+- <And>
+- <Category>Game</Category>
+- <Category>CardGame</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Kidsgames</Name>
+- <Directory>tde-games-kids.directory</Directory>
+- <Include>
+- <And>
+- <Category>Game</Category>
+- <Or>
+- <Category>X-TDE-KidsGame</Category>
+- <Category>KidsGame</Category>
+- </Or>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>TacticStrategy</Name>
+- <Directory>tde-games-strategy.directory</Directory>
+- <Include>
+- <And>
+- <Category>Game</Category>
+- <Category>StrategyGame</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Include>
+- <And>
+- <Category>Game</Category>
+- <Not>
+- <Category>ArcadeGame</Category>
+- <Category>BoardGame</Category>
+- <Category>CardGame</Category>
+- <Category>X-TDE-KidsGame</Category>
+- <Category>KidsGame</Category>
+- <Category>StrategyGame</Category>
+- <Category>KDE</Category>
+- </Not>
+- </And>
+- </Include>
+- <Menu>
+- <Name>KDE</Name>
+- <Directory>kde-games.directory</Directory>
+- <Menu>
+- <Name>Arcade</Name>
+- <Directory>kde-games-arcade.directory</Directory>
+- <Include>
+- <And>
+- <Category>Game</Category>
+- <Category>ArcadeGame</Category>
+- <Category>KDE</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Board</Name>
+- <Directory>kde-games-board.directory</Directory>
+- <Include>
+- <And>
+- <Category>Game</Category>
+- <Category>BoardGame</Category>
+- <Category>KDE</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Card</Name>
+- <Directory>kde-games-card.directory</Directory>
+- <Include>
+- <And>
+- <Category>Game</Category>
+- <Category>CardGame</Category>
+- <Category>KDE</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Kidsgames</Name>
+- <Directory>kde-games-kids.directory</Directory>
+- <Include>
+- <And>
+- <Category>Game</Category>
+- <Category>KidsGame</Category>
+- <Category>KDE</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>TacticStrategy</Name>
+- <Directory>kde-games-strategy.directory</Directory>
+- <Include>
+- <And>
+- <Category>Game</Category>
+- <Category>StrategyGame</Category>
+- <Category>KDE</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Include>
+- <And>
+- <Category>Game</Category>
+- <Category>KDE</Category>
+- <Not>
+- <Category>ArcadeGame</Category>
+- <Category>BoardGame</Category>
+- <Category>CardGame</Category>
+- <Category>X-TDE-KidsGame</Category>
+- <Category>KidsGame</Category>
+- <Category>StrategyGame</Category>
+- <Category>TDE</Category>
+- </Not>
+- </And>
+- </Include>
+- </Menu>
+- </Menu>
+- <Menu>
+- <Name>Graphics</Name>
+- <Directory>tde-graphics.directory</Directory>
+- <Include>
+- <And>
+- <Category>Graphics</Category>
+- <Not><Category>X-TDE-More</Category></Not>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- <Not><Filename>ooo-draw.desktop</Filename></Not>
+- </And>
+- </Include>
+- <Menu>
+- <Name>KDE</Name>
+- <Directory>kde-graphics.directory</Directory>
+- <Include>
+- <And>
+- <Category>Graphics</Category>
+- <Category>KDE</Category>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>More</Name>
+- <Directory>tde-more.directory</Directory>
+- <Include>
+- <And>
+- <Category>Graphics</Category>
+- <Category>X-TDE-More</Category>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- </Menu>
+- <Menu>
+- <Name>Internet</Name>
+- <Directory>tde-internet.directory</Directory>
+- <Include>
+- <And>
+- <Category>Network</Category>
+- <Not><Category>X-TDE-More</Category></Not>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</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-TDE-More</Category>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>KDE</Name>
+- <Directory>kde-internet.directory</Directory>
+- <Include>
+- <And>
+- <Category>Network</Category>
+- <Category>KDE</Category>
+- </And>
+- </Include>
+- </Menu>
+- </Menu>
+- <Menu>
+- <Name>Multimedia</Name>
+- <Directory>tde-multimedia.directory</Directory>
+- <Include>
+- <And>
+- <Category>AudioVideo</Category>
+- <Not><Category>X-TDE-More</Category></Not>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- <Menu>
+- <Name>More</Name>
+- <Directory>tde-more.directory</Directory>
+- <Include>
+- <And>
+- <Category>AudioVideo</Category>
+- <Category>X-TDE-More</Category>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>KDE</Name>
+- <Directory>kde-multimedia.directory</Directory>
+- <Include>
+- <And>
+- <Category>AudioVideo</Category>
+- <Category>KDE</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-TDE-Office-PIM</Category></Not>
+- <Not><Category>X-TDE-More</Category></Not>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- <Filename>ooo-draw.desktop</Filename>
+- </Include>
+- <Menu>
+- <Name>Personal Information Management</Name>
+- <Directory>tde-office-pim.directory</Directory>
+- <Include>
+- <And>
+- <Category>X-TDE-Office-PIM</Category>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>More</Name>
+- <Directory>tde-more.directory</Directory>
+- <Include>
+- <And>
+- <Category>Office</Category>
+- <Category>X-TDE-More</Category>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>KDE</Name>
+- <Directory>kde-office.directory</Directory>
+- <Include>
+- <And>
+- <Category>Office</Category>
+- <Category>KDE</Category>
+- </And>
+- </Include>
+- </Menu>
+- </Menu>
+- <Menu>
+- <Name>Settingsmenu</Name>
+- <Directory>tde-settingsmenu.directory</Directory>
+- <Include>
+- <And>
+- <Category>Settings</Category>
+- <Not><Category>KDE</Category></Not>
+- <Not><Category>X-KDE-settings-sound</Category></Not>
+- </And>
+- </Include>
+- <Menu>
+- <Name>KDE</Name>
+- <Directory>kde-settingsmenu.directory</Directory>
+- <Include>
+- <And>
+- <Category>Settings</Category>
+- <Category>KDE</Category>
+- </And>
+- </Include>
+- </Menu>
+- </Menu>
+- <Menu>
+- <Name>System</Name>
+- <Directory>tde-system.directory</Directory>
+- <Include>
+- <And>
+- <Category>System</Category>
+- <Not><Category>X-TDE-More</Category></Not>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- <Menu>
+- <Name>SuperUser</Name>
+- <Directory>tde-system-su.directory</Directory>
+- <Include>
+- <And>
+- <Category>X-TDE-System-su</Category>
+- <Not><Category>X-TDE-More</Category></Not>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>X-KDE-System-su</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>More</Name>
+- <Directory>tde-more.directory</Directory>
+- <Include>
+- <And>
+- <Category>System</Category>
+- <Category>X-TDE-More</Category>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>KDE</Name>
+- <Directory>kde-system.directory</Directory>
+- <Include>
+- <And>
+- <Category>System</Category>
+- <Category>KDE</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>
+- <Category>X-TDE-Utilities-Desktop</Category>
+- <Category>X-TDE-Utilities-File</Category>
+- <Category>X-TDE-Utilities-Peripherals</Category>
+- <Category>X-TDE-Utilities-PIM</Category>
+- <Category>TextEditor</Category>
+- <Category>X-TDE-More</Category>
+- <Category>KDE</Category>
+- </Not>
+- </And>
+- </Include>
+- <Menu>
+- <Name>Accessibility</Name>
+- <Directory>tde-utilities-accessibility.directory</Directory>
+- <Include>
+- <And>
+- <Category>Utility</Category>
+- <Category>Accessibility</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Desktop</Name>
+- <Directory>tde-utilities-desktop.directory</Directory>
+- <Include>
+- <And>
+- <Category>Utility</Category>
+- <Category>X-TDE-Utilities-Desktop</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Editors</Name>
+- <Directory>tde-editors.directory</Directory>
+- <Include>
+- <And>
+- <Category>TextEditor</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>File</Name>
+- <Directory>tde-utilities-file.directory</Directory>
+- <Include>
+- <And>
+- <Category>Utility</Category>
+- <Category>X-TDE-Utilities-File</Category>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Peripherals</Name>
+- <Directory>tde-utilities-peripherals.directory</Directory>
+- <Include>
+- <And>
+- <Category>Utility</Category>
+- <Category>X-TDE-Utilities-Peripherals</Category>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Personal Information Management</Name>
+- <Directory>tde-utilities-pim.directory</Directory>
+- <Include>
+- <And>
+- <Category>Utility</Category>
+- <Category>X-TDE-Utilities-PIM</Category>
+- <Not><Category>KDE</Category></Not>
+- <Not><Category>X-KDE-Utilities-PIM</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Toys</Name>
+- <Directory>tde-toys.directory</Directory>
+- <Include>
+- <And>
+- <Category>Amusement</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </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-TDE-More</Category>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>More</Name>
+- <Directory>tde-more.directory</Directory>
+- <Include>
+- <And>
+- <Category>Utility</Category>
+- <Category>X-TDE-More</Category>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>KDE</Name>
+- <Directory>kde-utilities.directory</Directory>
+- <Include>
+- <And>
+- <Category>Utility</Category>
+- <Category>KDE</Category>
+- <Not>
+- <Category>Accessibility</Category>
+- <Category>X-TDE-Utilities-Desktop</Category>
+- <Category>X-KDE-Utilities-Desktop</Category>
+- <Category>X-TDE-Utilities-Peripherals</Category>
+- <Category>X-TDE-Utilities-PIM</Category>
+- <Category>X-KDE-Utilities-PIM</Category>
+- <Category>X-TDE-More</Category>
+- <Category>X-KDE-More</Category>
+- <Category>TextEditor</Category>
+- <Category>TDE</Category>
+- </Not>
+- </And>
+- </Include>
+- <Menu>
+- <Name>Accessibility</Name>
+- <Directory>kde-utilities-accessibility.directory</Directory>
+- <Include>
+- <And>
+- <Category>Utility</Category>
+- <Category>Accessibility</Category>
+- <Category>KDE</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Desktop</Name>
+- <Directory>kde-utilities-desktop.directory</Directory>
+- <Include>
+- <And>
+- <Category>Utility</Category>
+- <Category>X-KDE-Utilities-Desktop</Category>
+- <Category>KDE</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Editors</Name>
+- <Directory>kde-editors.directory</Directory>
+- <Include>
+- <And>
+- <Category>TextEditor</Category>
+- <Category>KDE</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Personal Information Management</Name>
+- <Directory>kde-utilities-pim.directory</Directory>
+- <Include>
+- <And>
+- <Category>Utility</Category>
+- <Category>X-KDE-Utilities-PIM</Category>
+- <Category>KDE</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Toys</Name>
+- <Directory>kde-toys.directory</Directory>
+- <Include>
+- <And>
+- <Category>Amusement</Category>
+- <Category>KDE</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- </Menu>
+- </Menu>
+- <Include>
+- <And>
+- <Category>TDE</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-14.0.0~pre599+bae79307/kded.ORI/applications.menu-no-kde trinity-tdelibs-14.0.0~pre599+bae79307/kded/applications.menu-no-kde
+--- trinity-tdelibs-14.0.0~pre599+bae79307/kded.ORI/applications.menu-no-kde 2013-07-18 19:06:05.025534334 +0200
++++ trinity-tdelibs-14.0.0~pre599+bae79307/kded/applications.menu-no-kde 1970-01-01 01:00:00.000000000 +0100
+@@ -1,568 +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>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-TDE core applications -->
+- <And>
+- <Category>Core</Category>
+- <Not><Category>TDE</Category></Not>
+- </And>
+- <!-- Don't list SUSE's YaST in here -->
+- <Category>X-SuSE-YaST</Category>
+- <!-- This is a special menu setup. Don't list KDE3 apps here. -->
+- <Category>KDE</Category>
+- </Not>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Development</Name>
+- <Directory>tde-development.directory</Directory>
+- <Menu>
+- <Name>X-TDE-TDevelopIDE</Name>
+- <Directory>tde-development-tdevelop.directory</Directory>
+- <Include>
+- <And>
+- <Category>Development</Category>
+- <Category>X-TDE-TDevelopIDE</Category>
+- <Not><Category>KDE</Category></Not>
+- <Not><Category>X-KDE-KDevelopIDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Translation</Name>
+- <Directory>tde-development-translation.directory</Directory>
+- <Include>
+- <And>
+- <Category>Development</Category>
+- <Category>Translation</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Web Development</Name>
+- <Directory>tde-development-webdevelopment.directory</Directory>
+- <Include>
+- <And>
+- <Category>Development</Category>
+- <Category>WebDevelopment</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Include>
+- <And>
+- <Category>Development</Category>
+- <Not><Category>X-TDE-TDevelopIDE</Category></Not>
+- <Not><Category>Translation</Category></Not>
+- <Not><Category>WebDevelopment</Category></Not>
+- <Not><Category>KDE</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>
+- <Not><Category>KDE</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-TDE-Edu-Language</Category>
+- </Or>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Mathematics</Name>
+- <Directory>tde-edu-mathematics.directory</Directory>
+- <Include>
+- <And>
+- <Category>Education</Category>
+- <Category>Math</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Miscellaneous</Name>
+- <Directory>tde-edu-miscellaneous.directory</Directory>
+- <Include>
+- <And>
+- <Category>Education</Category>
+- <Not>
+- <Category>Languages</Category>
+- <Category>X-TDE-Edu-Language</Category>
+- <Category>Math</Category>
+- <Category>Science</Category>
+- <Category>Teaching</Category>
+- <Category>X-TDE-Edu-Teaching</Category>
+- <Category>KDE</Category>
+- </Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Science</Name>
+- <Directory>tde-edu-science.directory</Directory>
+- <Include>
+- <And>
+- <Category>Education</Category>
+- <Category>Science</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Tools</Name>
+- <Directory>tde-edu-tools.directory</Directory>
+- <Include>
+- <And>
+- <Category>Education</Category>
+- <Or>
+- <Category>Teaching</Category>
+- <Category>X-TDE-Edu-Teaching</Category>
+- </Or>
+- <Not><Category>KDE</Category></Not>
+- </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>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Board</Name>
+- <Directory>tde-games-board.directory</Directory>
+- <Include>
+- <And>
+- <Category>Game</Category>
+- <Category>BoardGame</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Card</Name>
+- <Directory>tde-games-card.directory</Directory>
+- <Include>
+- <And>
+- <Category>Game</Category>
+- <Category>CardGame</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Kidsgames</Name>
+- <Directory>tde-games-kids.directory</Directory>
+- <Include>
+- <And>
+- <Category>Game</Category>
+- <Or>
+- <Category>X-TDE-KidsGame</Category>
+- <Category>KidsGame</Category>
+- </Or>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>TacticStrategy</Name>
+- <Directory>tde-games-strategy.directory</Directory>
+- <Include>
+- <And>
+- <Category>Game</Category>
+- <Category>StrategyGame</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Include>
+- <And>
+- <Category>Game</Category>
+- <Not>
+- <Category>ArcadeGame</Category>
+- <Category>BoardGame</Category>
+- <Category>CardGame</Category>
+- <Category>X-TDE-KidsGame</Category>
+- <Category>KidsGame</Category>
+- <Category>StrategyGame</Category>
+- <Category>KDE</Category>
+- </Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Graphics</Name>
+- <Directory>tde-graphics.directory</Directory>
+- <Include>
+- <And>
+- <Category>Graphics</Category>
+- <Not><Category>X-TDE-More</Category></Not>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</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-TDE-More</Category>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- </Menu>
+- <Menu>
+- <Name>Internet</Name>
+- <Directory>tde-internet.directory</Directory>
+- <Include>
+- <And>
+- <Category>Network</Category>
+- <Not><Category>X-TDE-More</Category></Not>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</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-TDE-More</Category>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- </Menu>
+- <Menu>
+- <Name>Multimedia</Name>
+- <Directory>tde-multimedia.directory</Directory>
+- <Include>
+- <And>
+- <Category>AudioVideo</Category>
+- <Not><Category>X-TDE-More</Category></Not>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- <Menu>
+- <Name>More</Name>
+- <Directory>tde-more.directory</Directory>
+- <Include>
+- <And>
+- <Category>AudioVideo</Category>
+- <Category>X-TDE-More</Category>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </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-TDE-Office-PIM</Category></Not>
+- <Not><Category>X-TDE-More</Category></Not>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- <Filename>ooo-draw.desktop</Filename>
+- </Include>
+- <Menu>
+- <Name>Personal Information Management</Name>
+- <Directory>tde-office-pim.directory</Directory>
+- <Include>
+- <And>
+- <Category>X-TDE-Office-PIM</Category>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>More</Name>
+- <Directory>tde-more.directory</Directory>
+- <Include>
+- <And>
+- <Category>Office</Category>
+- <Category>X-TDE-More</Category>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- </Menu>
+- <Menu>
+- <Name>Settingsmenu</Name>
+- <Directory>tde-settingsmenu.directory</Directory>
+- <Include>
+- <And>
+- <Category>Settings</Category>
+- <Not><Category>KDE</Category></Not>
+- <Not><Category>X-KDE-settings-sound</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>System</Name>
+- <Directory>tde-system.directory</Directory>
+- <Include>
+- <And>
+- <Category>System</Category>
+- <Not><Category>X-TDE-More</Category></Not>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- <Menu>
+- <Name>SuperUser</Name>
+- <Directory>tde-system-su.directory</Directory>
+- <Include>
+- <And>
+- <Category>X-TDE-System-su</Category>
+- <Not><Category>X-TDE-More</Category></Not>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>X-KDE-System-su</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>More</Name>
+- <Directory>tde-more.directory</Directory>
+- <Include>
+- <And>
+- <Category>System</Category>
+- <Category>X-TDE-More</Category>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </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-TDE-Utilities-Desktop</Category></Not>
+- <Not><Category>X-TDE-Utilities-File</Category></Not>
+- <Not><Category>X-TDE-Utilities-Peripherals</Category></Not>
+- <Not><Category>X-TDE-Utilities-PIM</Category></Not>
+- <Not><Category>X-TDE-More</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>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- <Menu>
+- <Name>Accessibility</Name>
+- <Directory>tde-utilities-accessibility.directory</Directory>
+- <Include>
+- <And>
+- <Category>Utility</Category>
+- <Category>Accessibility</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Desktop</Name>
+- <Directory>tde-utilities-desktop.directory</Directory>
+- <Include>
+- <And>
+- <Category>Utility</Category>
+- <Category>X-TDE-Utilities-Desktop</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Editors</Name>
+- <Directory>tde-editors.directory</Directory>
+- <Include>
+- <And>
+- <Category>TextEditor</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>File</Name>
+- <Directory>tde-utilities-file.directory</Directory>
+- <Include>
+- <And>
+- <Category>Utility</Category>
+- <Category>X-TDE-Utilities-File</Category>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Peripherals</Name>
+- <Directory>tde-utilities-peripherals.directory</Directory>
+- <Include>
+- <And>
+- <Category>Utility</Category>
+- <Category>X-TDE-Utilities-Peripherals</Category>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Personal Information Management</Name>
+- <Directory>tde-utilities-pim.directory</Directory>
+- <Include>
+- <And>
+- <Category>Utility</Category>
+- <Category>X-TDE-Utilities-PIM</Category>
+- <Not><Category>KDE</Category></Not>
+- <Not><Category>X-KDE-Utilities-PIM</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>Toys</Name>
+- <Directory>tde-toys.directory</Directory>
+- <Include>
+- <And>
+- <Category>Amusement</Category>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </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-TDE-More</Category>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- <Menu>
+- <Name>More</Name>
+- <Directory>tde-more.directory</Directory>
+- <Include>
+- <And>
+- <Category>Utility</Category>
+- <Category>X-TDE-More</Category>
+- <Not><Category>X-KDE-More</Category></Not>
+- <Not><Category>KDE</Category></Not>
+- </And>
+- </Include>
+- </Menu>
+- </Menu>
+- <Include>
+- <And>
+- <Category>TDE</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-14.0.0~pre599+bae79307/kded.ORI/CMakeLists.txt trinity-tdelibs-14.0.0~pre599+bae79307/kded/CMakeLists.txt
+--- trinity-tdelibs-14.0.0~pre599+bae79307/kded.ORI/CMakeLists.txt 2013-07-18 19:06:05.024534339 +0200
++++ trinity-tdelibs-14.0.0~pre599+bae79307/kded/CMakeLists.txt 2013-07-18 19:06:30.827397914 +0200
+@@ -35,7 +35,7 @@
+ ##### other data ################################
+
+ install( FILES kdedmodule.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+-install( FILES applications.menu applications.menu-no-kde DESTINATION ${XDG_MENU_INSTALL_DIR} )
++install( FILES tde-applications.menu tde-applications.menu-no-kde DESTINATION ${XDG_MENU_INSTALL_DIR} )
+ install( FILES kded.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+
+diff -Nuar trinity-tdelibs-14.0.0~pre599+bae79307/kded.ORI/tde-applications.menu trinity-tdelibs-14.0.0~pre599+bae79307/kded/tde-applications.menu
+--- trinity-tdelibs-14.0.0~pre599+bae79307/kded.ORI/tde-applications.menu 1970-01-01 01:00:00.000000000 +0100
++++ trinity-tdelibs-14.0.0~pre599+bae79307/kded/tde-applications.menu 2013-07-16 15:59:41.000000000 +0200
+@@ -0,0 +1,907 @@
++<!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-TDE core applications -->
++ <And>
++ <Category>Core</Category>
++ <Not><Category>TDE</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-TDE-TDevelopIDE</Name>
++ <Directory>tde-development-tdevelop.directory</Directory>
++ <Include>
++ <And>
++ <Category>Development</Category>
++ <Category>X-TDE-TDevelopIDE</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Translation</Name>
++ <Directory>tde-development-translation.directory</Directory>
++ <Include>
++ <And>
++ <Category>Development</Category>
++ <Category>Translation</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Web Development</Name>
++ <Directory>tde-development-webdevelopment.directory</Directory>
++ <Include>
++ <And>
++ <Category>Development</Category>
++ <Category>WebDevelopment</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Include>
++ <And>
++ <Category>Development</Category>
++ <Not><Category>X-TDE-TDevelopIDE</Category></Not>
++ <Not><Category>Translation</Category></Not>
++ <Not><Category>WebDevelopment</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ <Menu>
++ <Name>KDE</Name>
++ <Directory>kde-development.directory</Directory>
++ <Include>
++ <And>
++ <Category>Development</Category>
++ <Category>KDE</Category>
++ <Not><Category>Translation</Category></Not>
++ <Not><Category>WebDevelopment</Category></Not>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ <Menu>
++ <Name>Translation</Name>
++ <Directory>kde-development-translation.directory</Directory>
++ <Include>
++ <And>
++ <Category>Development</Category>
++ <Category>Translation</Category>
++ <Category>KDE</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Web Development</Name>
++ <Directory>kde-development-webdevelopment.directory</Directory>
++ <Include>
++ <And>
++ <Category>Development</Category>
++ <Category>WebDevelopment</Category>
++ <Category>KDE</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ </Menu>
++ </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>
++ <Not><Category>KDE</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-TDE-Edu-Language</Category>
++ </Or>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Mathematics</Name>
++ <Directory>tde-edu-mathematics.directory</Directory>
++ <Include>
++ <And>
++ <Category>Education</Category>
++ <Category>Math</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Miscellaneous</Name>
++ <Directory>tde-edu-miscellaneous.directory</Directory>
++ <Include>
++ <And>
++ <Category>Education</Category>
++ <Not>
++ <Category>Languages</Category>
++ <Category>X-TDE-Edu-Language</Category>
++ <Category>Math</Category>
++ <Category>Science</Category>
++ <Category>Teaching</Category>
++ <Category>X-TDE-Edu-Teaching</Category>
++ <Category>KDE</Category>
++ </Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Science</Name>
++ <Directory>tde-edu-science.directory</Directory>
++ <Include>
++ <And>
++ <Category>Education</Category>
++ <Category>Science</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Tools</Name>
++ <Directory>tde-edu-tools.directory</Directory>
++ <Include>
++ <And>
++ <Category>Education</Category>
++ <Or>
++ <Category>Teaching</Category>
++ <Category>X-TDE-Edu-Teaching</Category>
++ </Or>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>KDE</Name>
++ <Directory>kde-edutainment.directory</Directory>
++ <Include>
++ <And>
++ <Category>Education</Category>
++ <Category>KDE</Category>
++ <Not>
++ <Category>Education</Category>
++ <Category>Languages</Category>
++ <Category>X-TDE-Edu-Language</Category>
++ <Category>X-KDE-Edu-Language</Category>
++ <Category>Math</Category>
++ <Category>Science</Category>
++ <Category>Teaching</Category>
++ <Category>X-TDE-Edu-Teaching</Category>
++ <Category>X-KDE-Edu-Teaching</Category>
++ <Category>TDE</Category>
++ </Not>
++ </And>
++ </Include>
++ <Menu>
++ <Name>Languages</Name>
++ <Directory>kde-edu-languages.directory</Directory>
++ <Include>
++ <And>
++ <Category>Languages</Category>
++ <Category>KDE</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Mathematics</Name>
++ <Directory>kde-edu-mathematics.directory</Directory>
++ <Include>
++ <And>
++ <Category>Math</Category>
++ <Category>KDE</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Miscellaneous</Name>
++ <Directory>kde-edu-miscellaneous.directory</Directory>
++ <Include>
++ <And>
++ <Category>Education</Category>
++ <Category>KDE</Category>
++ <Not>
++ <Category>Languages</Category>
++ <Category>X-TDE-Edu-Language</Category>
++ <Category>X-KDE-Edu-Language</Category>
++ <Category>Math</Category>
++ <Category>Science</Category>
++ <Category>Teaching</Category>
++ <Category>X-TDE-Edu-Teaching</Category>
++ <Category>X-KDE-Edu-Teaching</Category>
++ <Category>TDE</Category>
++ </Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Science</Name>
++ <Directory>kde-edu-science.directory</Directory>
++ <Include>
++ <And>
++ <Category>Science</Category>
++ <Category>KDE</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Tools</Name>
++ <Directory>kde-edu-tools.directory</Directory>
++ <Include>
++ <And>
++ <Category>Teaching</Category>
++ <Category>KDE</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ </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>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Board</Name>
++ <Directory>tde-games-board.directory</Directory>
++ <Include>
++ <And>
++ <Category>Game</Category>
++ <Category>BoardGame</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Card</Name>
++ <Directory>tde-games-card.directory</Directory>
++ <Include>
++ <And>
++ <Category>Game</Category>
++ <Category>CardGame</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Kidsgames</Name>
++ <Directory>tde-games-kids.directory</Directory>
++ <Include>
++ <And>
++ <Category>Game</Category>
++ <Or>
++ <Category>X-TDE-KidsGame</Category>
++ <Category>KidsGame</Category>
++ </Or>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>TacticStrategy</Name>
++ <Directory>tde-games-strategy.directory</Directory>
++ <Include>
++ <And>
++ <Category>Game</Category>
++ <Category>StrategyGame</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Include>
++ <And>
++ <Category>Game</Category>
++ <Not>
++ <Category>ArcadeGame</Category>
++ <Category>BoardGame</Category>
++ <Category>CardGame</Category>
++ <Category>X-TDE-KidsGame</Category>
++ <Category>KidsGame</Category>
++ <Category>StrategyGame</Category>
++ <Category>KDE</Category>
++ </Not>
++ </And>
++ </Include>
++ <Menu>
++ <Name>KDE</Name>
++ <Directory>kde-games.directory</Directory>
++ <Menu>
++ <Name>Arcade</Name>
++ <Directory>kde-games-arcade.directory</Directory>
++ <Include>
++ <And>
++ <Category>Game</Category>
++ <Category>ArcadeGame</Category>
++ <Category>KDE</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Board</Name>
++ <Directory>kde-games-board.directory</Directory>
++ <Include>
++ <And>
++ <Category>Game</Category>
++ <Category>BoardGame</Category>
++ <Category>KDE</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Card</Name>
++ <Directory>kde-games-card.directory</Directory>
++ <Include>
++ <And>
++ <Category>Game</Category>
++ <Category>CardGame</Category>
++ <Category>KDE</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Kidsgames</Name>
++ <Directory>kde-games-kids.directory</Directory>
++ <Include>
++ <And>
++ <Category>Game</Category>
++ <Category>KidsGame</Category>
++ <Category>KDE</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>TacticStrategy</Name>
++ <Directory>kde-games-strategy.directory</Directory>
++ <Include>
++ <And>
++ <Category>Game</Category>
++ <Category>StrategyGame</Category>
++ <Category>KDE</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Include>
++ <And>
++ <Category>Game</Category>
++ <Category>KDE</Category>
++ <Not>
++ <Category>ArcadeGame</Category>
++ <Category>BoardGame</Category>
++ <Category>CardGame</Category>
++ <Category>X-TDE-KidsGame</Category>
++ <Category>KidsGame</Category>
++ <Category>StrategyGame</Category>
++ <Category>TDE</Category>
++ </Not>
++ </And>
++ </Include>
++ </Menu>
++ </Menu>
++ <Menu>
++ <Name>Graphics</Name>
++ <Directory>tde-graphics.directory</Directory>
++ <Include>
++ <And>
++ <Category>Graphics</Category>
++ <Not><Category>X-TDE-More</Category></Not>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ <Not><Filename>ooo-draw.desktop</Filename></Not>
++ </And>
++ </Include>
++ <Menu>
++ <Name>KDE</Name>
++ <Directory>kde-graphics.directory</Directory>
++ <Include>
++ <And>
++ <Category>Graphics</Category>
++ <Category>KDE</Category>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>More</Name>
++ <Directory>tde-more.directory</Directory>
++ <Include>
++ <And>
++ <Category>Graphics</Category>
++ <Category>X-TDE-More</Category>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ </Menu>
++ <Menu>
++ <Name>Internet</Name>
++ <Directory>tde-internet.directory</Directory>
++ <Include>
++ <And>
++ <Category>Network</Category>
++ <Not><Category>X-TDE-More</Category></Not>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</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-TDE-More</Category>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>KDE</Name>
++ <Directory>kde-internet.directory</Directory>
++ <Include>
++ <And>
++ <Category>Network</Category>
++ <Category>KDE</Category>
++ </And>
++ </Include>
++ </Menu>
++ </Menu>
++ <Menu>
++ <Name>Multimedia</Name>
++ <Directory>tde-multimedia.directory</Directory>
++ <Include>
++ <And>
++ <Category>AudioVideo</Category>
++ <Not><Category>X-TDE-More</Category></Not>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ <Menu>
++ <Name>More</Name>
++ <Directory>tde-more.directory</Directory>
++ <Include>
++ <And>
++ <Category>AudioVideo</Category>
++ <Category>X-TDE-More</Category>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>KDE</Name>
++ <Directory>kde-multimedia.directory</Directory>
++ <Include>
++ <And>
++ <Category>AudioVideo</Category>
++ <Category>KDE</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-TDE-Office-PIM</Category></Not>
++ <Not><Category>X-TDE-More</Category></Not>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ <Filename>ooo-draw.desktop</Filename>
++ </Include>
++ <Menu>
++ <Name>Personal Information Management</Name>
++ <Directory>tde-office-pim.directory</Directory>
++ <Include>
++ <And>
++ <Category>X-TDE-Office-PIM</Category>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>More</Name>
++ <Directory>tde-more.directory</Directory>
++ <Include>
++ <And>
++ <Category>Office</Category>
++ <Category>X-TDE-More</Category>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>KDE</Name>
++ <Directory>kde-office.directory</Directory>
++ <Include>
++ <And>
++ <Category>Office</Category>
++ <Category>KDE</Category>
++ </And>
++ </Include>
++ </Menu>
++ </Menu>
++ <Menu>
++ <Name>Settingsmenu</Name>
++ <Directory>tde-settingsmenu.directory</Directory>
++ <Include>
++ <And>
++ <Category>Settings</Category>
++ <Not><Category>KDE</Category></Not>
++ <Not><Category>X-KDE-settings-sound</Category></Not>
++ </And>
++ </Include>
++ <Menu>
++ <Name>KDE</Name>
++ <Directory>kde-settingsmenu.directory</Directory>
++ <Include>
++ <And>
++ <Category>Settings</Category>
++ <Category>KDE</Category>
++ </And>
++ </Include>
++ </Menu>
++ </Menu>
++ <Menu>
++ <Name>System</Name>
++ <Directory>tde-system.directory</Directory>
++ <Include>
++ <And>
++ <Category>System</Category>
++ <Not><Category>X-TDE-More</Category></Not>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ <Menu>
++ <Name>SuperUser</Name>
++ <Directory>tde-system-su.directory</Directory>
++ <Include>
++ <And>
++ <Category>X-TDE-System-su</Category>
++ <Not><Category>X-TDE-More</Category></Not>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>X-KDE-System-su</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>More</Name>
++ <Directory>tde-more.directory</Directory>
++ <Include>
++ <And>
++ <Category>System</Category>
++ <Category>X-TDE-More</Category>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>KDE</Name>
++ <Directory>kde-system.directory</Directory>
++ <Include>
++ <And>
++ <Category>System</Category>
++ <Category>KDE</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>
++ <Category>X-TDE-Utilities-Desktop</Category>
++ <Category>X-TDE-Utilities-File</Category>
++ <Category>X-TDE-Utilities-Peripherals</Category>
++ <Category>X-TDE-Utilities-PIM</Category>
++ <Category>TextEditor</Category>
++ <Category>X-TDE-More</Category>
++ <Category>KDE</Category>
++ </Not>
++ </And>
++ </Include>
++ <Menu>
++ <Name>Accessibility</Name>
++ <Directory>tde-utilities-accessibility.directory</Directory>
++ <Include>
++ <And>
++ <Category>Utility</Category>
++ <Category>Accessibility</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Desktop</Name>
++ <Directory>tde-utilities-desktop.directory</Directory>
++ <Include>
++ <And>
++ <Category>Utility</Category>
++ <Category>X-TDE-Utilities-Desktop</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Editors</Name>
++ <Directory>tde-editors.directory</Directory>
++ <Include>
++ <And>
++ <Category>TextEditor</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>File</Name>
++ <Directory>tde-utilities-file.directory</Directory>
++ <Include>
++ <And>
++ <Category>Utility</Category>
++ <Category>X-TDE-Utilities-File</Category>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Peripherals</Name>
++ <Directory>tde-utilities-peripherals.directory</Directory>
++ <Include>
++ <And>
++ <Category>Utility</Category>
++ <Category>X-TDE-Utilities-Peripherals</Category>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Personal Information Management</Name>
++ <Directory>tde-utilities-pim.directory</Directory>
++ <Include>
++ <And>
++ <Category>Utility</Category>
++ <Category>X-TDE-Utilities-PIM</Category>
++ <Not><Category>KDE</Category></Not>
++ <Not><Category>X-KDE-Utilities-PIM</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Toys</Name>
++ <Directory>tde-toys.directory</Directory>
++ <Include>
++ <And>
++ <Category>Amusement</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </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-TDE-More</Category>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>More</Name>
++ <Directory>tde-more.directory</Directory>
++ <Include>
++ <And>
++ <Category>Utility</Category>
++ <Category>X-TDE-More</Category>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>KDE</Name>
++ <Directory>kde-utilities.directory</Directory>
++ <Include>
++ <And>
++ <Category>Utility</Category>
++ <Category>KDE</Category>
++ <Not>
++ <Category>Accessibility</Category>
++ <Category>X-TDE-Utilities-Desktop</Category>
++ <Category>X-KDE-Utilities-Desktop</Category>
++ <Category>X-TDE-Utilities-Peripherals</Category>
++ <Category>X-TDE-Utilities-PIM</Category>
++ <Category>X-KDE-Utilities-PIM</Category>
++ <Category>X-TDE-More</Category>
++ <Category>X-KDE-More</Category>
++ <Category>TextEditor</Category>
++ <Category>TDE</Category>
++ </Not>
++ </And>
++ </Include>
++ <Menu>
++ <Name>Accessibility</Name>
++ <Directory>kde-utilities-accessibility.directory</Directory>
++ <Include>
++ <And>
++ <Category>Utility</Category>
++ <Category>Accessibility</Category>
++ <Category>KDE</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Desktop</Name>
++ <Directory>kde-utilities-desktop.directory</Directory>
++ <Include>
++ <And>
++ <Category>Utility</Category>
++ <Category>X-KDE-Utilities-Desktop</Category>
++ <Category>KDE</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Editors</Name>
++ <Directory>kde-editors.directory</Directory>
++ <Include>
++ <And>
++ <Category>TextEditor</Category>
++ <Category>KDE</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Personal Information Management</Name>
++ <Directory>kde-utilities-pim.directory</Directory>
++ <Include>
++ <And>
++ <Category>Utility</Category>
++ <Category>X-KDE-Utilities-PIM</Category>
++ <Category>KDE</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Toys</Name>
++ <Directory>kde-toys.directory</Directory>
++ <Include>
++ <And>
++ <Category>Amusement</Category>
++ <Category>KDE</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ </Menu>
++ </Menu>
++ <Include>
++ <And>
++ <Category>TDE</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-14.0.0~pre599+bae79307/kded.ORI/tde-applications.menu-no-kde trinity-tdelibs-14.0.0~pre599+bae79307/kded/tde-applications.menu-no-kde
+--- trinity-tdelibs-14.0.0~pre599+bae79307/kded.ORI/tde-applications.menu-no-kde 1970-01-01 01:00:00.000000000 +0100
++++ trinity-tdelibs-14.0.0~pre599+bae79307/kded/tde-applications.menu-no-kde 2013-07-16 15:59:41.000000000 +0200
+@@ -0,0 +1,568 @@
++<!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-TDE core applications -->
++ <And>
++ <Category>Core</Category>
++ <Not><Category>TDE</Category></Not>
++ </And>
++ <!-- Don't list SUSE's YaST in here -->
++ <Category>X-SuSE-YaST</Category>
++ <!-- This is a special menu setup. Don't list KDE3 apps here. -->
++ <Category>KDE</Category>
++ </Not>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Development</Name>
++ <Directory>tde-development.directory</Directory>
++ <Menu>
++ <Name>X-TDE-TDevelopIDE</Name>
++ <Directory>tde-development-tdevelop.directory</Directory>
++ <Include>
++ <And>
++ <Category>Development</Category>
++ <Category>X-TDE-TDevelopIDE</Category>
++ <Not><Category>KDE</Category></Not>
++ <Not><Category>X-KDE-KDevelopIDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Translation</Name>
++ <Directory>tde-development-translation.directory</Directory>
++ <Include>
++ <And>
++ <Category>Development</Category>
++ <Category>Translation</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Web Development</Name>
++ <Directory>tde-development-webdevelopment.directory</Directory>
++ <Include>
++ <And>
++ <Category>Development</Category>
++ <Category>WebDevelopment</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Include>
++ <And>
++ <Category>Development</Category>
++ <Not><Category>X-TDE-TDevelopIDE</Category></Not>
++ <Not><Category>Translation</Category></Not>
++ <Not><Category>WebDevelopment</Category></Not>
++ <Not><Category>KDE</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>
++ <Not><Category>KDE</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-TDE-Edu-Language</Category>
++ </Or>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Mathematics</Name>
++ <Directory>tde-edu-mathematics.directory</Directory>
++ <Include>
++ <And>
++ <Category>Education</Category>
++ <Category>Math</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Miscellaneous</Name>
++ <Directory>tde-edu-miscellaneous.directory</Directory>
++ <Include>
++ <And>
++ <Category>Education</Category>
++ <Not>
++ <Category>Languages</Category>
++ <Category>X-TDE-Edu-Language</Category>
++ <Category>Math</Category>
++ <Category>Science</Category>
++ <Category>Teaching</Category>
++ <Category>X-TDE-Edu-Teaching</Category>
++ <Category>KDE</Category>
++ </Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Science</Name>
++ <Directory>tde-edu-science.directory</Directory>
++ <Include>
++ <And>
++ <Category>Education</Category>
++ <Category>Science</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Tools</Name>
++ <Directory>tde-edu-tools.directory</Directory>
++ <Include>
++ <And>
++ <Category>Education</Category>
++ <Or>
++ <Category>Teaching</Category>
++ <Category>X-TDE-Edu-Teaching</Category>
++ </Or>
++ <Not><Category>KDE</Category></Not>
++ </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>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Board</Name>
++ <Directory>tde-games-board.directory</Directory>
++ <Include>
++ <And>
++ <Category>Game</Category>
++ <Category>BoardGame</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Card</Name>
++ <Directory>tde-games-card.directory</Directory>
++ <Include>
++ <And>
++ <Category>Game</Category>
++ <Category>CardGame</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Kidsgames</Name>
++ <Directory>tde-games-kids.directory</Directory>
++ <Include>
++ <And>
++ <Category>Game</Category>
++ <Or>
++ <Category>X-TDE-KidsGame</Category>
++ <Category>KidsGame</Category>
++ </Or>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>TacticStrategy</Name>
++ <Directory>tde-games-strategy.directory</Directory>
++ <Include>
++ <And>
++ <Category>Game</Category>
++ <Category>StrategyGame</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Include>
++ <And>
++ <Category>Game</Category>
++ <Not>
++ <Category>ArcadeGame</Category>
++ <Category>BoardGame</Category>
++ <Category>CardGame</Category>
++ <Category>X-TDE-KidsGame</Category>
++ <Category>KidsGame</Category>
++ <Category>StrategyGame</Category>
++ <Category>KDE</Category>
++ </Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Graphics</Name>
++ <Directory>tde-graphics.directory</Directory>
++ <Include>
++ <And>
++ <Category>Graphics</Category>
++ <Not><Category>X-TDE-More</Category></Not>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</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-TDE-More</Category>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ </Menu>
++ <Menu>
++ <Name>Internet</Name>
++ <Directory>tde-internet.directory</Directory>
++ <Include>
++ <And>
++ <Category>Network</Category>
++ <Not><Category>X-TDE-More</Category></Not>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</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-TDE-More</Category>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ </Menu>
++ <Menu>
++ <Name>Multimedia</Name>
++ <Directory>tde-multimedia.directory</Directory>
++ <Include>
++ <And>
++ <Category>AudioVideo</Category>
++ <Not><Category>X-TDE-More</Category></Not>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ <Menu>
++ <Name>More</Name>
++ <Directory>tde-more.directory</Directory>
++ <Include>
++ <And>
++ <Category>AudioVideo</Category>
++ <Category>X-TDE-More</Category>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </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-TDE-Office-PIM</Category></Not>
++ <Not><Category>X-TDE-More</Category></Not>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ <Filename>ooo-draw.desktop</Filename>
++ </Include>
++ <Menu>
++ <Name>Personal Information Management</Name>
++ <Directory>tde-office-pim.directory</Directory>
++ <Include>
++ <And>
++ <Category>X-TDE-Office-PIM</Category>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>More</Name>
++ <Directory>tde-more.directory</Directory>
++ <Include>
++ <And>
++ <Category>Office</Category>
++ <Category>X-TDE-More</Category>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ </Menu>
++ <Menu>
++ <Name>Settingsmenu</Name>
++ <Directory>tde-settingsmenu.directory</Directory>
++ <Include>
++ <And>
++ <Category>Settings</Category>
++ <Not><Category>KDE</Category></Not>
++ <Not><Category>X-KDE-settings-sound</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>System</Name>
++ <Directory>tde-system.directory</Directory>
++ <Include>
++ <And>
++ <Category>System</Category>
++ <Not><Category>X-TDE-More</Category></Not>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ <Menu>
++ <Name>SuperUser</Name>
++ <Directory>tde-system-su.directory</Directory>
++ <Include>
++ <And>
++ <Category>X-TDE-System-su</Category>
++ <Not><Category>X-TDE-More</Category></Not>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>X-KDE-System-su</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>More</Name>
++ <Directory>tde-more.directory</Directory>
++ <Include>
++ <And>
++ <Category>System</Category>
++ <Category>X-TDE-More</Category>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </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-TDE-Utilities-Desktop</Category></Not>
++ <Not><Category>X-TDE-Utilities-File</Category></Not>
++ <Not><Category>X-TDE-Utilities-Peripherals</Category></Not>
++ <Not><Category>X-TDE-Utilities-PIM</Category></Not>
++ <Not><Category>X-TDE-More</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>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ <Menu>
++ <Name>Accessibility</Name>
++ <Directory>tde-utilities-accessibility.directory</Directory>
++ <Include>
++ <And>
++ <Category>Utility</Category>
++ <Category>Accessibility</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Desktop</Name>
++ <Directory>tde-utilities-desktop.directory</Directory>
++ <Include>
++ <And>
++ <Category>Utility</Category>
++ <Category>X-TDE-Utilities-Desktop</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Editors</Name>
++ <Directory>tde-editors.directory</Directory>
++ <Include>
++ <And>
++ <Category>TextEditor</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>File</Name>
++ <Directory>tde-utilities-file.directory</Directory>
++ <Include>
++ <And>
++ <Category>Utility</Category>
++ <Category>X-TDE-Utilities-File</Category>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Peripherals</Name>
++ <Directory>tde-utilities-peripherals.directory</Directory>
++ <Include>
++ <And>
++ <Category>Utility</Category>
++ <Category>X-TDE-Utilities-Peripherals</Category>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Personal Information Management</Name>
++ <Directory>tde-utilities-pim.directory</Directory>
++ <Include>
++ <And>
++ <Category>Utility</Category>
++ <Category>X-TDE-Utilities-PIM</Category>
++ <Not><Category>KDE</Category></Not>
++ <Not><Category>X-KDE-Utilities-PIM</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>Toys</Name>
++ <Directory>tde-toys.directory</Directory>
++ <Include>
++ <And>
++ <Category>Amusement</Category>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </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-TDE-More</Category>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ <Menu>
++ <Name>More</Name>
++ <Directory>tde-more.directory</Directory>
++ <Include>
++ <And>
++ <Category>Utility</Category>
++ <Category>X-TDE-More</Category>
++ <Not><Category>X-KDE-More</Category></Not>
++ <Not><Category>KDE</Category></Not>
++ </And>
++ </Include>
++ </Menu>
++ </Menu>
++ <Include>
++ <And>
++ <Category>TDE</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-14.0.0~pre599+bae79307/kded.ORI/tdebuildsycoca.cpp trinity-tdelibs-14.0.0~pre599+bae79307/kded/tdebuildsycoca.cpp
+--- trinity-tdelibs-14.0.0~pre599+bae79307/kded.ORI/tdebuildsycoca.cpp 2013-07-18 19:06:05.024534339 +0200
++++ trinity-tdelibs-14.0.0~pre599+bae79307/kded/tdebuildsycoca.cpp 2013-07-18 19:06:36.658367094 +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 --git a/redhat/tdelibs/tdelibs-14.0.0-ftbfs.patch b/redhat/tdelibs/tdelibs-14.0.0-ftbfs.patch
new file mode 100644
index 000000000..e53d4cfa0
--- /dev/null
+++ b/redhat/tdelibs/tdelibs-14.0.0-ftbfs.patch
@@ -0,0 +1,44 @@
+--- trinity-tdelibs-14.0.0~pre599+bae79307/tdecore/CMakeLists.txt.ftbfs 2013-07-16 15:59:42.000000000 +0200
++++ trinity-tdelibs-14.0.0~pre599+bae79307/tdecore/CMakeLists.txt 2013-07-17 14:39:37.553649801 +0200
+@@ -83,6 +83,7 @@
+ ${TQT_LIBRARY_DIRS}
+ ${LIBIDN_LIBRARY_DIRS}
+ ${GAMIN_LIBDIR}
++ ${LIBART_LIBRARY_DIRS}
+ )
+
+ ##### headers ###################################
+--- trinity-tdelibs-14.0.0~pre599+bae79307/pics/CMakeLists.txt.ORI 2013-07-17 14:56:14.633297689 +0200
++++ trinity-tdelibs-14.0.0~pre599+bae79307/pics/CMakeLists.txt 2013-07-17 14:56:25.145239757 +0200
+@@ -28,6 +28,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${LIBART_LIBRARY_DIRS}
+ )
+
+
+--- trinity-tdelibs-14.0.0~pre599+bae79307/tdecore/tdehardwaredevices.h.ORI 2013-07-17 14:47:03.918290078 +0200
++++ trinity-tdelibs-14.0.0~pre599+bae79307/tdecore/tdehardwaredevices.h 2013-07-17 14:47:22.080194401 +0200
+@@ -27,7 +27,9 @@
+ #include "tdelibs_export.h"
+
+ // udev includes
++extern "C" {
+ #include <libudev.h>
++}
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <locale.h>
+--- trinity-tdelibs-14.0.0~pre599+bae79307/tdecore/tdehardwaredevices.cpp.ORI 2013-07-17 14:47:29.718154173 +0200
++++ trinity-tdelibs-14.0.0~pre599+bae79307/tdecore/tdehardwaredevices.cpp 2013-07-17 14:47:47.204062091 +0200
+@@ -33,7 +33,9 @@
+ #include <tdeapplication.h>
+ #include <dcopclient.h>
+
++extern "C" {
+ #include <libudev.h>
++}
+
+ #include <fcntl.h>
+ #include <poll.h>
diff --git a/redhat/tdelibs/tdelibs-14.0.0.spec b/redhat/tdelibs/tdelibs-14.0.0.spec
index 37d2bf0ff..8e0cbc920 100644
--- a/redhat/tdelibs/tdelibs-14.0.0.spec
+++ b/redhat/tdelibs/tdelibs-14.0.0.spec
@@ -3,6 +3,8 @@
%define _variant .opt
%endif
+%define tde_version 14.0.0
+
# TDE specific variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
@@ -31,7 +33,8 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
-
+Patch0: tdelibs-14.0.0-ftbfs.patch
+Patch1: tdelibs-14.0.0-fix_xdg_menu.patch
Obsoletes: tdelibs < %{version}-%{release}
Provides: tdelibs = %{version}-%{release}
@@ -44,14 +47,13 @@ Provides: trinity-kdelibs-apidocs = %{version}-%{release}
BuildRequires: cmake >= 2.8
BuildRequires: libtool
BuildRequires: trinity-tqt3-devel >= 3.5.0
-BuildRequires: trinity-tqtinterface-devel >= %{version}
-BuildRequires: trinity-arts-devel >= %{version}
-BuildRequires: trinity-dbus-1-tqt-devel >= %{version}
-BuildRequires: trinity-dbus-tqt-devel >= %{version}
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-arts-devel >= %{tde_version}
+BuildRequires: trinity-dbus-1-tqt-devel >= %{tde_version}
+BuildRequires: trinity-dbus-tqt-devel >= %{tde_version}
BuildRequires: krb5-devel
BuildRequires: libxslt-devel
BuildRequires: cups-devel
-BuildRequires: trinity-libart-lgpl-devel
BuildRequires: openssl-devel
BuildRequires: gcc-c++
BuildRequires: alsa-lib-devel
@@ -61,6 +63,9 @@ BuildRequires: glib2-devel
# LUA support are not ready yet
#BuildRequires: lua-devel
+# LIBART_LGPL support
+BuildRequires: trinity-libart-lgpl-devel
+
# ASPELL support
BuildRequires: aspell
BuildRequires: aspell-devel
@@ -90,6 +95,15 @@ BuildRequires: libbz2-devel
BuildRequires: bzip2-devel
%endif
+# UDEV support
+BuildRequires: libudev-devel
+
+# UDISKS2 support
+BuildRequires: udisks-devel
+%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_udisks2 1
+%endif
+
# UTEMPTER support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: libutempter-devel
@@ -124,7 +138,7 @@ BuildRequires: jasper-devel
# 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}
+BuildRequires: trinity-avahi-tqt-devel >= %{tde_version}
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}avahi-client-devel
Requires: %{_lib}avahi-client3
@@ -195,11 +209,14 @@ BuildRequires: xz-devel
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}nm-util-devel
%endif
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: NetworkManager-glib-devel
+%endif
%endif
Requires: trinity-tqt3 >= 3.5.0
-Requires: trinity-tqtinterface >= %{version}
-Requires: trinity-arts >= %{version}
+Requires: trinity-tqtinterface >= %{tde_version}
+Requires: trinity-arts >= %{tde_version}
%description
Libraries for the Trinity Desktop Environment:
@@ -232,13 +249,13 @@ kimgio (image manipulation).
%{tde_bindir}/tdecmshell
%{tde_bindir}/tdeconf_update
%{tde_bindir}/kcookiejar
-%{tde_bindir}/[kt]de-config
-%{tde_bindir}/[kt]de-menu
+%{tde_bindir}/tde-config
+%{tde_bindir}/tde-menu
%{tde_bindir}/kded
-%{tde_bindir}/[kt]deinit
-%{tde_bindir}/[kt]deinit_shutdown
-%{tde_bindir}/[kt]deinit_wrapper
-%{tde_bindir}/[kt]desu_stub
+%{tde_bindir}/tdeinit
+%{tde_bindir}/tdeinit_shutdown
+%{tde_bindir}/tdeinit_wrapper
+%{tde_bindir}/tdesu_stub
%{tde_bindir}/kdetcompmgr
%{tde_bindir}/kdontchangethehostname
%{tde_bindir}/tdedostartupconfig
@@ -265,8 +282,8 @@ kimgio (image manipulation).
%{tde_bindir}/make_driver_db_lpr
%{tde_bindir}/meinproc
%{tde_bindir}/networkstatustestservice
-%{tde_bindir}/start_[kt]deinit
-%{tde_bindir}/start_[kt]deinit_wrapper
+%{tde_bindir}/start_tdeinit
+%{tde_bindir}/start_tdeinit_wrapper
%attr(4755,root,root) %{tde_bindir}/kgrantpty
%{tde_bindir}/tde_dbus_hardwarecontrol
%{tde_bindir}/checkXML
@@ -275,9 +292,9 @@ kimgio (image manipulation).
%{tde_bindir}/preparetips
%{tde_tdelibdir}/*
%{tde_libdir}/lib*.so.*
-%{tde_libdir}/lib[kt]deinit_*.la
-%{tde_libdir}/lib[kt]deinit_*.so
-%{tde_datadir}/applications/[kt]de/*.desktop
+%{tde_libdir}/libtdeinit_*.la
+%{tde_libdir}/libtdeinit_*.so
+%{tde_datadir}/applications/tde/*.desktop
%{tde_datadir}/autostart/tdeab2tdeabc.desktop
%{tde_datadir}/applnk/tdeio_iso.desktop
%{tde_datadir}/apps/*
@@ -296,7 +313,8 @@ kimgio (image manipulation).
%{tde_tdedocdir}/HTML/en/tdespell/
%{_sysconfdir}/dbus-1/system.d/org.trinitydesktop.hardwarecontrol.conf
-%{tde_prefix}/etc/xdg/menus/tde-applications.menu
+%{_sysconfdir}/xdg/menus/tde-applications.menu
+%{_sysconfdir}/xdg/menus/tde-applications.menu-no-kde
%{_sysconfdir}/ld.so.conf.d/trinity.conf
%{_datadir}/dbus-1/system-services/org.trinitydesktop.hardwarecontrol.service
@@ -333,16 +351,16 @@ applications for TDE.
%defattr(-,root,root,-)
%{tde_bindir}/dcopidl*
%{tde_bindir}/*config_compiler
-%{tde_bindir}/make[kt]dewidgets
+%{tde_bindir}/maketdewidgets
%{tde_datadir}/apps/ksgmltools2/
%{tde_tdeincludedir}/*
%{tde_libdir}/*.la
%{tde_libdir}/*.so
%{tde_libdir}/*.a
%{tde_libdir}/pkgconfig/tdelibs.pc
-%exclude %{tde_libdir}/lib[kt]deinit_*.la
-%exclude %{tde_libdir}/lib[kt]deinit_*.so
-%{tde_datadir}/cmake/[kt]delibs.cmake
+%exclude %{tde_libdir}/libtdeinit_*.la
+%exclude %{tde_libdir}/libtdeinit_*.so
+%{tde_datadir}/cmake/tdelibs.cmake
%post devel
/sbin/ldconfig || :
@@ -360,6 +378,8 @@ applications for TDE.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+%patch0 -p1 -b .ftbfs
+%patch1 -p1 -b .xdg
%build
@@ -409,7 +429,7 @@ cd build
%{?!with_gamin:-DWITH_GAMIN=OFF} %{?with_gamin:-DWITH_GAMIN=ON} \
-DWITH_UPOWER=ON \
-DWITH_UDISKS=ON \
- -DWITH_UDISKS2=ON \
+ %{?with_udisks2:-DWITH_UDISKS2=ON} %{?!with_udisks2:-DWITH_UDISKS2=OFF} \
-DWITH_CONSOLEKIT=ON \
%{?with_nm:-DWITH_NETWORK_MANAGER_BACKEND=ON} \
-DWITH_SUDO_TDESU_BACKEND=OFF \
@@ -433,16 +453,6 @@ cat <<EOF >"%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf"
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/tde-applications.menu"
-%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg"
-%else
-%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/tde-applications.menu"
-%endif
-
# Appends TDE version to '.pc' file
echo "Version: %{version}" >>"%{?buildroot}%{tde_libdir}/pkgconfig/tdelibs.pc"
@@ -452,5 +462,5 @@ echo "Version: %{version}" >>"%{?buildroot}%{tde_libdir}/pkgconfig/tdelibs.pc"
%changelog
-* Thu Feb 16 2012 Francois Andriot <[email protected]> - 14.0.0-1
-- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
+* Fri Jul 05 2013 Francois Andriot <[email protected]> - 14.0.0-1
+- Initial build for TDE 14.0.0