RPM Packaging: lots of updates for 3.5.13.2

pull/3/head
François Andriot 11 years ago
parent 6f4cd26a02
commit 0f108a5d0a

@ -1,13 +1,13 @@
# Basic package informations
%define tdecomp amarok
%define tdeversion 3.5.13.2
%define tde_pkg amarok
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -23,43 +23,43 @@
%define _docdir %{tde_docdir}
Name: trinity-%{tdecomp}
Summary: Media player
Version: 1.4.10
Release: 9%{?dist}%{?_variant}
Name: trinity-%{tde_pkg}
Summary: Media player
Version: 1.4.10
Release: %{?!preversion:10}%{?preversion:9_%{preversion}}%{?dist}%{?_variant}
Group: Applications/Multimedia
License: GPLv2+
Group: Applications/Multimedia
License: GPLv2+
Url: http://amarok.kde.org
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch3: amarok-3.5.13.1-fix_rhel4_libs.patch
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: trinity-konqueror-devel >= 3.5.13.2
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-konqueror-devel >= %{tde_version}
BuildRequires: alsa-lib-devel
BuildRequires: desktop-file-utils
BuildRequires: esound-devel
BuildRequires: gettext
BuildRequires: alsa-lib-devel
BuildRequires: desktop-file-utils
BuildRequires: esound-devel
BuildRequires: gettext
BuildRequires: pcre-devel
BuildRequires: taglib-devel
BuildRequires: taglib-devel
BuildRequires: libtool
BuildRequires: libtool
%if 0%{?fedora} > 4 || 0%{?rhel} > 4
BuildRequires: libtool-ltdl-devel
BuildRequires: libtool-ltdl-devel
%endif
BuildRequires: libusb-devel
BuildRequires: mysql-devel
BuildRequires: postgresql-devel
BuildRequires: SDL-devel
BuildRequires: taglib-devel
BuildRequires: libusb-devel
BuildRequires: mysql-devel
BuildRequires: postgresql-devel
BuildRequires: SDL-devel
BuildRequires: taglib-devel
BuildRequires: sqlite-devel
# not used anymore, in favor of libvisual ? -- Rex
#{?fedora:BuildRequires: xmms-devel}
@ -76,7 +76,7 @@ BuildRequires: dbus-devel
%if 0%{?rhel} == 4
BuildRequires: dbus-qt
%else
BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.2
BuildRequires: trinity-dbus-tqt-devel >= %{tde_version}
%endif
# IFP support
@ -84,7 +84,7 @@ BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.2
%if 0%{?pclinuxos} == 0
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_ifp 1
BuildRequires: libifp-devel
BuildRequires: libifp-devel
%endif
%endif
@ -100,34 +100,34 @@ BuildRequires: karma-sharp
# GPOD (ipod) support
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
%define with_gpod 1
BuildRequires: libgpod-devel >= 0.4.2
BuildRequires: libgpod-devel >= 0.4.2
%endif
# MTP players
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
%define with_mtp 1
BuildRequires: libmtp-devel
BuildRequires: libmusicbrainz-devel
BuildRequires: libmtp-devel
BuildRequires: libmusicbrainz-devel
%endif
# Creative Nomad Jukebox
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220
%define with_njb 1
BuildRequires: libnjb-devel
BuildRequires: libnjb-devel
%endif
# VISUAL support
%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
%define with_libvisual 1
BuildRequires: libvisual-devel
BuildRequires: libvisual-devel
%endif
# TUNEPIMP support
%if 0%{?mgaversion} && 0%{?mgaversion} <= 2
BuildRequires: libtunepimp-devel
BuildRequires: libtunepimp-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?suse_version}
BuildRequires: libtunepimp-devel
%if 0%{?fedora} || 0%{?mdkversion} || 0%{?suse_version}
BuildRequires: libtunepimp-devel
%endif
# INOTIFY support
@ -142,10 +142,10 @@ BuildRequires: %{_lib}inotifytools-devel
%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
%define with_xine 1
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
BuildRequires: libxine-devel
BuildRequires: libxine-devel
%endif
%if 0%{?rhel} || 0%{?fedora}
BuildRequires: xine-lib-devel
BuildRequires: xine-lib-devel
%endif
%endif
@ -168,10 +168,10 @@ BuildRequires: libmp4v2-devel
# ruby
BuildRequires: ruby
BuildRequires: ruby-devel
BuildRequires: ruby-devel
# To open the selected browser, works with Patch2
Requires: xdg-utils
Requires: xdg-utils
Requires(post): xdg-utils
Requires(postun): xdg-utils
@ -193,7 +193,7 @@ Amarok is a multimedia player with:
%{tde_bindir}/amarok_proxy.rb
%{tde_datadir}/apps/amarok/
%{tde_datadir}/icons/hicolor/*/*/*
%{tde_datadir}/applications/kde/*.desktop
%{tde_tdeappdir}/*.desktop
%{tde_datadir}/servicetypes/*.desktop
%{tde_datadir}/apps/profiles/amarok.profile.xml
%{tde_datadir}/config/amarokrc
@ -281,11 +281,11 @@ xdg-desktop-menu forceupdate 2> /dev/null || :
##########
%package ruby
Summary: %{name} Ruby support
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
Summary: %{name} Ruby support
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
# For dir ownership and some default plugins (lyrics)
Requires: ruby
Requires: ruby
%description ruby
%{summary}.
@ -297,11 +297,11 @@ Requires: ruby
##########
%package konqueror
Summary: Amarok konqueror (service menus, sidebar) support
Group: Applications/Multimedia
Summary: Amarok konqueror (service menus, sidebar) support
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
Requires: trinity-konqueror
Requires: %{name} = %{version}-%{release}
Requires: trinity-konqueror
%description konqueror
%{summary}.
@ -318,9 +318,9 @@ Requires: trinity-konqueror
%if 0%{?with_libvisual}
%package visualisation
Summary: Visualisation plugins for Amarok
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
Summary: Visualisation plugins for Amarok
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
# No plugins by default, we need libvisual-plugins
#Requires: libvisual-plugins
@ -344,7 +344,7 @@ use any of xmms' visualisation plugins with Amarok.
##########
%prep
%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}}
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%if 0%{?rhel} == 4
%patch3 -p1 -b .rhel4
%endif
@ -370,12 +370,18 @@ cd build
%endif
%cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DCMAKE_SKIP_RPATH="OFF" \
-DQT_LIBRARY_DIRS="${QTLIB:-${QTDIR}/%{_lib}}" \
\
%{?with_libvisual:-DWITH_LIBVISUAL=ON} \
-DWITH_KONQSIDEBAR=ON \
%{?with_xine:-DWITH_XINE=ON} \
@ -394,6 +400,7 @@ cd build
%__make %{?_smp_mflags} || %__make
%install
%__rm -fr $RPM_BUILD_ROOT
%__make install DESTDIR=$RPM_BUILD_ROOT -C build
@ -405,7 +412,7 @@ cd build
%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so
# Locales
%find_lang amarok
%find_lang %{tde_pkg}
# HTML
for lang_dir in $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML/* ; do
@ -423,6 +430,9 @@ done
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.10-10
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.10-9
- Initial release for TDE 3.5.13.2

@ -1,12 +1,13 @@
# Default version for this component
%define kdecomp basket
%define tde_pkg basket
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -22,30 +23,30 @@
%define _docdir %{tde_docdir}
Name: trinity-%{kdecomp}
Summary: Taking care of your ideas.
Version: 1.0.3.1
Release: 4%{?dist}%{?_variant}
Name: trinity-%{tde_pkg}
Summary: Taking care of your ideas.
Version: 1.0.3.1
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: trinity-tdepim-devel >= 3.5.13.2
BuildRequires: desktop-file-utils
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-tdepim-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: gpgme-devel
BuildRequires: gpgme-devel
%description
This application is mainly an all-purpose notes taker. It provide several baskets where
@ -63,7 +64,7 @@ baskets to HTML.
%prep
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -89,6 +90,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \
--disable-rpath \
--disable-debug \
--with-extra-includes=%{tde_includedir}/tqt \
--disable-static
@ -100,7 +102,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%find_lang %{kdecomp}
%find_lang %{tde_pkg}
%clean
%__rm -rf %{buildroot}
@ -121,7 +123,7 @@ done
/sbin/ldconfig
%files -f %{kdecomp}.lang
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{tde_bindir}/basket
@ -157,6 +159,9 @@ done
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.3.1-5
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.3.1-4
- Initial release for TDE 3.5.13.2

@ -1,12 +1,13 @@
# Default version for this component
%define kdecomp digikam
%define tde_pkg digikam
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -22,33 +23,33 @@
%define _docdir %{tde_docdir}
Name: trinity-%{kdecomp}
Summary: digital photo management application for KDE [Trinity]
Version: 0.9.6
Release: 5%{?dist}%{?_variant}
Name: trinity-%{tde_pkg}
Summary: digital photo management application for TDE [Trinity]
Version: 0.9.6
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
# [Digikam] Revert PNG support to libpng12 (for RHEL4)
Patch1: digikam-3.5.13.2-fix_png12_support.patch
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
BuildRequires: trinity-arts-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: trinity-libkexiv2-devel >= 3.5.13.2
BuildRequires: trinity-libkdcraw-devel >= 3.5.13.2
BuildRequires: trinity-libkipi-devel >= 3.5.13.2
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-libkexiv2-devel >= %{tde_version}
BuildRequires: trinity-libkdcraw-devel >= %{tde_version}
BuildRequires: trinity-libkipi-devel >= %{tde_version}
%if 0%{?rhel} == 4 || 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: gphoto2-devel
%else
@ -76,9 +77,9 @@ BuildRequires: libexiv2-devel
BuildRequires: exiv2-devel
%endif
Requires: trinity-libkexiv2 >= 3.5.13.1
Requires: trinity-libkdcraw >= 3.5.13.1
Requires: trinity-libkipi >= 3.5.13.1
Requires: trinity-libkexiv2 >= %{tde_version}
Requires: trinity-libkdcraw >= %{tde_version}
Requires: trinity-libkipi >= %{tde_version}
%description
An easy to use and powerful digital photo management
@ -102,9 +103,9 @@ digiKam is based in part on the work of the Independent JPEG Group.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{version}
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{version}
%description devel
%{summary}
@ -116,7 +117,7 @@ Requires: %{name} = %{version}
%prep
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%if 0%{?rhel} == 4
%patch1 -p1 -b .png12
%endif
@ -146,9 +147,15 @@ export KDEDIR="%{tde_prefix}"
--datadir=%{tde_datadir} \
--mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \
--with-extra-includes=%{tde_tdeincludedir}/tqt \
--enable-closure
\
--with-extra-includes=%{tde_tdeincludedir}/tqt
%__make %{?_smp_mflags} || %__make
@ -159,7 +166,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__make install DESTDIR=%{buildroot}
%find_lang %{kdecomp}
%find_lang %{tde_pkg}
%clean
@ -185,7 +192,7 @@ update-desktop-database %{tde_appdir} 2> /dev/null || :
/sbin/ldconfig || :
%files -f %{kdecomp}.lang
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{tde_bindir}/digikam
@ -312,6 +319,9 @@ update-desktop-database %{tde_appdir} 2> /dev/null || :
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.6-6
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.6-5
- Initial release for TDE 3.5.13.2

@ -1,12 +1,13 @@
# Default version for this component
%define kdecomp filelight
%define tde_pkg filelight
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -22,26 +23,26 @@
%define _docdir %{tde_docdir}
Name: trinity-%{kdecomp}
Summary: Graphical disk usage display
Version: 1.0
Release: 6%{?dist}%{?_variant}
Name: trinity-%{tde_pkg}
Summary: Graphical disk usage display
Version: 1.0
Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
Obsoletes: filelight-l10n < %{version}-%{release}
@ -58,7 +59,7 @@ directories on your computer.
%prep
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -84,7 +85,14 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--includedir=%{tde_tdeincludedir} \
--docdir=%{tde_tdedocdir} \
--libdir=%{tde_libdir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags}
@ -95,7 +103,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%find_lang %{kdecomp} --with-kde
%find_lang %{tde_pkg}
%clean
%__rm -rf %{buildroot}
@ -114,7 +122,7 @@ for f in crystalsvg hicolor ; do
done
%files -f %{kdecomp}.lang
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{tde_bindir}/filelight
@ -136,6 +144,9 @@ done
%lang(sv) %{tde_tdedocdir}/HTML/sv/filelight/
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-7
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-6
- Initial release for TDE 3.5.13.2

@ -0,0 +1,14 @@
--- trinity-k9copy-3.5.13.2/k9author/k9avidecode.h.ORI 2013-07-29 21:52:57.859615464 +0200
+++ trinity-k9copy-3.5.13.2/k9author/k9avidecode.h 2013-07-29 21:57:19.206481299 +0200
@@ -43,7 +43,11 @@
#else
typedef int (*av_find_stream_info_t)(AVFormatContext *);
#endif
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53, 26, 0)
+typedef AVCodec* (*avcodec_find_decoder_t)(enum AVCodecID);
+#else
typedef AVCodec* (*avcodec_find_decoder_t)(enum CodecID);
+#endif
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53, 8, 0)
typedef int (*avcodec_open2_t)(AVCodecContext *, AVCodec *, AVDictionary **);
#else

@ -0,0 +1,18 @@
--- trinity-k9copy-3.5.13.2/k9decmpeg/mpeg2_internal.h.ORI 2013-07-28 19:42:30.331485057 +0200
+++ trinity-k9copy-3.5.13.2/k9decmpeg/mpeg2_internal.h 2013-07-28 19:43:09.713519110 +0200
@@ -21,6 +21,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef __MPEG2_INTERNAL_H__
+#define __MPEG2_INTERNAL_H__
+
/* macroblock modes */
#define MACROBLOCK_INTRA 1
#define MACROBLOCK_PATTERN 2
@@ -298,3 +301,5 @@
extern mpeg2_mc_t mpeg2_mc_altivec;
extern mpeg2_mc_t mpeg2_mc_alpha;
extern mpeg2_mc_t mpeg2_mc_vis;
+
+#endif // __MPEG2_INTERNAL_H__

@ -0,0 +1,102 @@
--- ./k9author/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200
+++ ./k9author/Makefile.am 2013-07-28 20:05:20.857621477 +0200
@@ -14,5 +14,5 @@
k9import.h k9importfiles.h k9lvitemimport.h k9menu.h k9menubutton.h k9menuedit.h \
k9menueditor.h k9newdvd.h k9newtitle.h k9title.h
libk9author_la_LIBADD = $(top_builddir)/libk9copy/libk9copy.la $(LIB_KDEUI)
-INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/k9devices \
+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/k9devices \
-I$(top_srcdir)/k9vamps -I$(top_srcdir)/libk9copy -I$(top_srcdir)/src $(all_includes)
--- ./k9decmpeg/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200
+++ ./k9decmpeg/Makefile.am 2013-07-28 20:05:20.857621477 +0200
@@ -12,7 +12,7 @@
motion_comp_altivec.cpp motion_comp.cpp motion_comp_mmx.cpp motion_comp_vis.cpp mpeg2convert.h \
mpeg2.h mpeg2_internal.h rgb.cpp rgb_mmx.cpp rgb_vis.cpp slice.cpp tendra.h \
uyvy.cpp video_out.h vis.h vlc.h k9decodethread.cpp k9plaympeg2.cpp
-INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/k9vamps \
+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/k9vamps \
-I$(top_srcdir)/libdvdnav -I$(top_srcdir)/libk9copy
noinst_HEADERS = k9decodethread.h k9plaympeg2.h
--- ./k9devices/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200
+++ ./k9devices/Makefile.am 2013-07-28 20:05:20.857621477 +0200
@@ -1,4 +1,4 @@
-INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/libk9copy $(DBUS_INCS) \
+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/libk9copy $(DBUS_INCS) \
$(HAL_INCS) $(K3B_INCS) $(all_includes)
METASOURCES = AUTO
libk9devices_la_LDFLAGS = $(all_libraries)
--- ./k9Mplayer/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200
+++ ./k9Mplayer/Makefile.am 2013-07-28 20:05:20.857621477 +0200
@@ -1,4 +1,4 @@
-INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/libk9copy $(all_includes)
+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/libk9copy $(all_includes)
METASOURCES = AUTO
noinst_LTLIBRARIES = libk9mplayer.la
--- ./k9vamps/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200
+++ ./k9vamps/Makefile.am 2013-07-28 20:05:20.858621351 +0200
@@ -7,6 +7,6 @@
noinst_LTLIBRARIES = libk9vamps.la
libk9vamps_la_SOURCES = cputest.cpp getvlc.h k9fifo.cpp k9requant.cpp \
k9vamps.cpp k9vamps.h putvlc.h qTable.h tcmemcpy.cpp
-INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/k9vamps \
+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/k9vamps \
-I$(top_srcdir)/libk9copy
noinst_HEADERS = k9requant.h ac.h k9fifo.h
--- ./libdvdnav/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200
+++ ./libdvdnav/Makefile.am 2013-07-28 20:05:20.858621351 +0200
@@ -11,4 +11,4 @@
-INCLUDES = -I$(top_srcdir)/dvdread
+INCLUDES = -I/usr/include/dvdread
--- ./libk9copy/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200
+++ ./libk9copy/Makefile.am 2013-07-28 20:05:20.858621351 +0200
@@ -24,6 +24,6 @@
k9saveimage.h k9script.h k9titleencopt.h k9tools.h k9videocodecs.h
-INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/k9decmpeg \
+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/k9decmpeg \
-I$(top_srcdir)/k9vamps -I$(top_srcdir)/libdvdnav
libk9copy_la_LDFLAGS = $(all_libraries)
--- ./src/Makefile.am.dvdread 2013-07-28 20:05:20.855621729 +0200
+++ ./src/Makefile.am 2013-07-28 20:09:10.620642017 +0200
@@ -1,5 +1,5 @@
# set the include path for X, qt and KDE
-INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/k9Mplayer \
+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/k9Mplayer \
-I$(top_srcdir)/k9author -I$(top_srcdir)/k9decmpeg -I$(top_srcdir)/k9devices \
-I$(top_srcdir)/k9vamps -I$(top_srcdir)/libdvdnav -I$(top_srcdir)/libk9copy $(all_includes)
@@ -35,7 +35,7 @@
$(top_builddir)/k9author/libk9author.la $(top_builddir)/k9decmpeg/libk9decmpeg.la \
$(top_builddir)/k9devices/libk9devices.la $(top_builddir)/k9vamps/libk9vamps.la \
$(top_builddir)/libdvdnav/libk9dvdnav.la $(top_builddir)/libk9copy/libk9copy.la \
- $(top_builddir)/dvdread/libdvdread.la $(LIB_KDEUI) -lkmdi $(LIBDL) -lk3b -lk3bdevice
+ -ldvdread $(LIB_KDEUI) -lkmdi $(LIBDL) -lk3b -lk3bdevice
# this is where the desktop file will go
shelldesktopdir = $(kde_appsdir)/Utilities
--- ./Makefile.am.ORI 2013-07-28 20:15:29.961786846 +0200
+++ ./Makefile.am 2013-07-28 20:15:43.375094511 +0200
@@ -1,4 +1,4 @@
-SUBDIRS = doc dvdread libdvdnav k9Mplayer libk9copy k9author k9decmpeg k9devices k9vamps \
+SUBDIRS = doc libdvdnav k9Mplayer libk9copy k9author k9decmpeg k9devices k9vamps \
po src
$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
@@ -29,11 +29,3 @@
AM_CXXFLAGS = -O0 -g3
-
-
-
-
-
-
-
-INCLUDES = -I$(top_srcdir)/dvdread

@ -1,13 +1,13 @@
# Default version for this component
%define tdecomp k9copy
%define tdeversion 3.5.13.2
%define tde_pkg k9copy
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -24,35 +24,38 @@
%define _docdir %{tde_docdir}
Name: trinity-%{tdecomp}
Summary: DVD backup tool for Trinity
Version: 1.2.3
Release: 4%{?dist}%{?_variant}
Name: trinity-%{tde_pkg}
Summary: DVD backup tool for Trinity
Version: 1.2.3
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch1: k9copy-3.5.13.2-fix_k3b_link.patch
Patch1: k9copy-3.5.13.2-fix_k3b_link.patch
Patch2: k9copy-3.5.13.2-ftbfs.patch
Patch3: k9copy-3.5.13.2-use_external_dvdread.patch
Patch4: k9copy-3.5.13.2-avcodec.patch
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: trinity-arts-devel >= 3.5.13.2
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: trinity-k3b-devel
# Warning: the target distribution must have ffmpeg !
BuildRequires: ffmpeg-devel
Requires: ffmpeg
BuildRequires: ffmpeg-devel
Requires: ffmpeg
%description
k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9
@ -66,8 +69,14 @@ This is the Trinity version
%prep
%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}}
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .ftbfs
%patch2 -p1 -b .ftbfs
%patch3 -p1 -b .dvdread
%patch4 -p1 -b .avcodec
# Removes internal dvdread headers
%__rm -rf dvdread
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -80,7 +89,6 @@ This is the Trinity version
%__make -f "admin/Makefile.common"
%build
unset QTDIR || : ; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
@ -90,16 +98,25 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
if [ -d /usr/include/ffmpeg ]; then
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg"
fi
# NOTICE: --enable-final causes FTBFS !
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--disable-final \
--enable-new-ldflags \
--enable-closure \
--disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt \
--enable-closure
\
--enable-k3bdevices
%__make %{?_smp_mflags} || %__make
@ -109,7 +126,8 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%find_lang %{tdecomp}
%find_lang %{tde_pkg}
%clean
%__rm -rf %{buildroot}
@ -126,7 +144,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
update-desktop-database %{tde_appdir} &> /dev/null
%files -f %{tdecomp}.lang
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{tde_bindir}/k9copy
@ -138,6 +156,9 @@ update-desktop-database %{tde_appdir} &> /dev/null
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.3-5
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.3-4
- Initial release for TDE 3.5.13.2

@ -1,5 +1,6 @@
# Default version for this component
%define kdecomp kaffeine-mozilla
%define tde_pkg kaffeine-mozilla
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
@ -23,29 +24,29 @@
%define _docdir %{tde_docdir}
Name: trinity-%{kdecomp}
Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity]
Version: 0.4.3.1
Release: 4%{?dist}%{?_variant}
Name: trinity-%{tde_pkg}
Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity]
Version: 0.4.3.1
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Multimedia
License: GPLv2+
Group: Applications/Multimedia
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
# Fix 'nspr' includes location
Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
%if 0%{?suse_version}
@ -57,14 +58,14 @@ BuildRequires: nspr-devel
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}xaw-devel
%endif
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
BuildRequires: libXaw-devel
%endif
Requires: trinity-kaffeine
%description
This mozilla plugin launches kaffeine, the xine-based media player for KDE,
This mozilla plugin launches kaffeine, the xine-based media player for TDE,
when a page containing a supported media format is loaded.
@ -74,8 +75,7 @@ when a page containing a supported media format is loaded.
%prep
unset QTDIR; . /etc/profile.d/qt3.sh
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .nspr
# Ugly hack to modify TQT include directory inside autoconf files.
@ -90,17 +90,23 @@ unset QTDIR; . /etc/profile.d/qt3.sh
%build
unset QTDIR; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%configure \
--disable-rpath \
--with-extra-includes=%{tde_includedir}/tqt \
--enable-closure \
--prefix=%{_libdir}/mozilla
--prefix=%{_libdir}/mozilla \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath
%__make %{?_smp_mflags}
%install
export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
@ -109,6 +115,7 @@ export PATH="%{tde_bindir}:${PATH}"
# Remove useless filess
%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a
%clean
%__rm -rf %{buildroot}

@ -1,12 +1,13 @@
# Default version for this component
%define kdecomp kaffeine
%define tde_pkg kaffeine
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -21,55 +22,60 @@
%define _docdir %{tde_docdir}
Name: trinity-%{kdecomp}
Summary: Xine-based media player
Name: trinity-%{tde_pkg}
Summary: Xine-based media player
Version: 0.8.8
Release: 5%{?dist}%{?_variant}
Version: 0.8.8
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Multimedia
URL: http://kaffeine.sourceforge.net/
License: GPLv2+
Group: Applications/Multimedia
URL: http://kaffeine.sourceforge.net/
Source0: %{name}-3.5.13.2.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: gettext
# VORBIS support
BuildRequires: libvorbis-devel
BuildRequires: libcdio-devel
# CDDA support
BuildRequires: libcdio-devel
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: libcdda-devel
BuildRequires: %{_lib}xext%{?mgaversion:6}-devel
BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel
BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel
# dvb
%if 0%{?pclinuxos} == 0
BuildRequires: kernel-headers
%endif
BuildRequires: libgstreamer-devel >= 0.10
BuildRequires: libgstreamer-plugins-base-devel >= 0.10
%else
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: cdparanoia
BuildRequires: cdparanoia-devel
%endif
%if 0%{?suse_version} >= 1220
BuildRequires: libcdio-paranoia-devel
%endif
# X11 stuff
%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}xext%{?mgaversion:6}-devel
BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel
BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel
%endif
%if 0%{?rhel} == 4
BuildRequires: xorg-x11-devel
%else
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220
BuildRequires: libXext-devel
BuildRequires: libXtst-devel
BuildRequires: libXinerama-devel
%endif
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
BuildRequires: libxcb-devel
%endif
# dvb
# GSTREAMER support
%if 0%{?rhel} >= 5 || 0%{?suse_version} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%define with_gstreamer 1
BuildRequires: gstreamer-devel
%if 0%{?suse_version}
BuildRequires: gstreamer-0_10-plugins-base-devel
@ -80,15 +86,14 @@ BuildRequires: gstreamer-plugins-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: gstreamer-plugins-base-devel >= 0.10
BuildRequires: glibc-kernheaders
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: libgstreamer-devel >= 0.10
BuildRequires: libgstreamer-plugins-base-devel >= 0.10
%endif
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
BuildRequires: libxcb-devel
%endif
# xine-lib
# XINE support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
BuildRequires: libxine-devel
%endif
@ -96,31 +101,41 @@ BuildRequires: libxine-devel
BuildRequires: xine-lib-devel
%endif
# LAME
# LAME support
%if 0%{?suse_version}
BuildRequires: libmp3lame-devel
%else
BuildRequires: lame-devel
%endif
# WTF support
%if 0%{?pclinuxos} == 0
BuildRequires: kernel-headers
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: glibc-kernheaders
%endif
Requires: %{name}-libs = %{version}-%{release}
%description
Kaffeine is a xine-based media player for KDE. It plays back CDs,
Kaffeine is a xine-based media player for TDE. It plays back CDs,
and VCDs, and can decode all (local or streamed) multimedia formats
supported by xine-lib.
Additionally, Kaffeine is fully integrated in KDE, it supports drag
Additionally, Kaffeine is fully integrated in TDE, it supports drag
and drop and provides an editable playlist, a bookmark system, a
Konqueror plugin, OSD and much more.
%files -f %{kdecomp}.lang
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README TODO
%{tde_bindir}/kaffeine
%{tde_libdir}/libkaffeinepart.so
%{tde_tdelibdir}/lib*.*
%{tde_datadir}/appl*/*/*.desktop
%if 0%{?with_gstreamer}
%{tde_datadir}/apps/gstreamerpart/
%endif
%{tde_datadir}/apps/kaffeine/
%{tde_datadir}/apps/konqueror/servicemenus/*.desktop
%{tde_datadir}/apps/profiles/
@ -144,10 +159,10 @@ update-desktop-database >& /dev/null ||:
##########
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
Requires: trinity-tdelibs-devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
Requires: trinity-tdelibs-devel
%description devel
%{summary}.
@ -167,11 +182,11 @@ Requires: trinity-tdelibs-devel
##########
%package libs
Summary: %{name} runtime libraries
Group: System Environment/Libraries
Summary: %{name} runtime libraries
Group: System Environment/Libraries
# include to be paranoid, installing libs-only is still mostly untested -- Rex
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
%description libs
%{summary}.
@ -195,7 +210,7 @@ Requires: %{name} = %{version}-%{release}
%prep
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -221,16 +236,19 @@ export KDEDIR=%{tde_prefix}
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
--mandir=%{tde_mandir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--disable-debug --disable-warnings \
--disable-dependency-tracking --enable-final \
--enable-final \
--enable-closure \
--disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt \
\
--with-xinerama \
--with-gstreamer \
--with-lame \
--with-extra-includes=%{tde_includedir}/tqt \
--with-extra-libs=%{_prefix}/%{_lib} \
--enable-closure \
%if 0%{?rhel} > 0 && 0%{?rhel} <= 5
--without-dvb \
%endif
@ -246,23 +264,7 @@ export PATH="%{tde_bindir}:${PATH}"
## File lists
# locale's
%find_lang %{kdecomp}
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then
for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
done
popd
fi
done
fi
%find_lang %{tde_pkg}
# Unpackaged files
rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la
@ -272,7 +274,6 @@ rm -f $RPM_BUILD_ROOT%{tde_datadir}/mimelnk/application/x-mplayer2.desktop
rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.8-5
- Initial release for TDE 3.5.13.2

@ -1,12 +1,13 @@
# Default version for this component
%define kdecomp kdbusnotification
%define tde_pkg kdbusnotification
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -23,37 +24,37 @@
%define _docdir %{tde_docdir}
Name: trinity-%{kdecomp}
Summary: a DBUS notification service [Trinity]
Name: trinity-%{tde_pkg}
Summary: a DBUS notification service [Trinity]
Version: 0.1
Release: 4.1%{?dist}%{?_variant}
Version: 0.1
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch1: kdbusnotification-14.0.0-fix_utf8.patch
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
BuildRequires: trinity-arts-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: desktop-file-utils
BuildRequires: gtk2-devel
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: gtk2-devel
%if 0%{?suse_version}
BuildRequires: dbus-1-glib-devel
BuildRequires: dbus-1-glib-devel
%else
BuildRequires: dbus-glib-devel
BuildRequires: dbus-glib-devel
%endif
%description
@ -67,7 +68,7 @@ DBUS notifications via unobtrusive, easily dismissed passive popups.
%prep
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .utf8
# Ugly hack to modify TQT include directory inside autoconf files.
@ -93,9 +94,15 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \
--with-extra-includes=%{tde_includedir}/tqt \
--enable-closure
\
--with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags}
@ -120,7 +127,7 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog
* Sun Jul 21 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-4.1
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-5
- Fix UTF8 messages
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-4

@ -1,12 +1,13 @@
# Default version for this component
%define tdecomp kdiff3
%define tde_pkg kdiff3
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -23,27 +24,27 @@
%define _docdir %{tde_docdir}
Name: trinity-%{tdecomp}
Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories.
Version: 0.9.91
Release: 6%{?dist}%{?_variant}
Name: trinity-%{tde_pkg}
Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories.
Version: 0.9.91
Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
BuildRequires: trinity-arts-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
%description
@ -60,7 +61,7 @@ Unicode & UTF-8 support
%prep
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -86,9 +87,15 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \
--with-extra-includes=%{tde_includedir}/tqt \
--enable-closure
\
--with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags}
@ -101,7 +108,7 @@ export PATH="%{tde_bindir}:${PATH}"
# Unwanted files
%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/kdiff3/
%find_lang %{tdecomp}
%find_lang %{tde_pkg}
%clean
%__rm -rf %{buildroot}
@ -120,7 +127,7 @@ for f in hicolor locolor; do
done
%files -f %{tdecomp}.lang
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{tde_bindir}/kdiff3
@ -140,6 +147,9 @@ done
%{tde_tdelibdir}/libkdiff3plugin.so
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.91-7
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.91-6
- Initial release for TDE 3.5.13.2

@ -1,12 +1,13 @@
# Default version for this component
%define tdecomp kile
%define tde_pkg kile
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -23,26 +24,26 @@
%define _docdir %{tde_docdir}
Name: trinity-%{tdecomp}
Summary: KDE Integrated LaTeX Environment [Trinity]
Version: 2.0.2
Release: 5%{?dist}%{?_variant}
Name: trinity-%{tde_pkg}
Summary: TDE Integrated LaTeX Environment [Trinity]
Version: 2.0.2
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Publishing
License: GPLv2+
Group: Applications/Publishing
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: gettext
@ -113,7 +114,7 @@ Kile can support large projects consisting of several smaller files.
%prep
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -139,7 +140,14 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags}
@ -156,7 +164,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml
%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml
%find_lang %{tdecomp}
%find_lang %{tde_pkg}
%clean
%__rm -rf %{buildroot}
@ -173,7 +181,7 @@ touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%files -f %{tdecomp}.lang
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%{tde_bindir}/kile
%{tde_tdeappdir}/kile.desktop
@ -196,6 +204,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-6
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-5
- Initial release for TDE 3.5.13.2

@ -46,6 +46,13 @@ BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: desktop-file-utils
BuildRequires: gettext
# HAL support
# On RHEL4, we do not use HAL (too old)
%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
%define with_hal 1
BuildRequires: hal-devel >= 0.4.8
%endif
%description
This applet monitors various temperature,
@ -85,7 +92,14 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir}
# SMP safe !

@ -1,12 +1,13 @@
# Default version for this component
%define tdecomp kiosktool
%define tde_pkg kiosktool
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -23,24 +24,24 @@
%define _docdir %{tde_docdir}
Name: trinity-%{tdecomp}
Version: 1.0
Release: 4%{?dist}%{?_variant}
Summary: tool to configure the TDE kiosk framework
Name: trinity-%{tde_pkg}
Version: 1.0
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
Summary: tool to configure the TDE kiosk framework
License: GPLv2+
Group: Applications/Multimedia
License: GPLv2+
Group: Applications/Multimedia
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Source0: %{name}-3.5.13.2.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gettext
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: gettext
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
%description
@ -55,7 +56,7 @@ groups of users.
%prep
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -82,14 +83,16 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
--disable-rpath \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--disable-debug --disable-warnings \
--disable-dependency-tracking --enable-final \
--enable-final \
--enable-closure \
--with-extra-includes=%{tde_includedir}/tqt
--disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt \
%__make %{?_smp_mflags}
@ -98,25 +101,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf $RPM_BUILD_ROOT
%__make install DESTDIR=$RPM_BUILD_ROOT
## File lists
# locale's
%find_lang %{tdecomp}
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then
for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
done
popd
fi
done
fi
%find_lang %{tde_pkg}
%clean
@ -135,7 +120,7 @@ update-desktop-database >& /dev/null ||:
%files -f %{tdecomp}.lang
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc ChangeLog COPYING README TODO
%{tde_bindir}/kiosktool
@ -148,6 +133,9 @@ update-desktop-database >& /dev/null ||:
%{tde_datadir}/apps/kiosktool/kiosktoolui.rc
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-5
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-4
- Initial release for TDE 3.5.13.2

@ -1,12 +1,13 @@
# Default version for this component
%define tdecomp kmplayer
%define tde_pkg kmplayer
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -23,30 +24,34 @@
%define _docdir %{tde_docdir}
Name: trinity-%{tdecomp}
Summary: media player for Trinity
Version: 0.10.0c
Release: 5%{?dist}%{?_variant}
Name: trinity-%{tde_pkg}
Summary: media player for Trinity
Version: 0.10.0c
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Multimedia
License: GPLv2+
Group: Applications/Multimedia
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://kmplayer.kde.org
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://kmplayer.kde.org
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
# DBUS support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: trinity-dbus-tqt-devel >= %{tde_version}
%endif
# GSTREAMER support
%if 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{?pclinuxos}
BuildRequires: libgstreamer0.10-devel
@ -54,24 +59,35 @@ BuildRequires: libgstreamer0.10-devel
BuildRequires: %{_lib}gstreamer0.10-devel
%endif
BuildRequires: %{_lib}gstreamer-plugins-base0.10-devel
BuildRequires: libxv-devel
%endif
%if 0%{?rhel} || 0%{?fedora}
%if 0%{?rhel} == 4
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora}
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-base-devel
BuildRequires: libXv-devel
%endif
%if 0%{?suse_version}
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-0_10-plugins-base-devel
%if 0%{?suse_version} == 1140
BuildRequires: xorg-x11-libXv-devel
%else
%endif
# X11 stuff
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: libxv-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1210
BuildRequires: libXv-devel
%endif
%if 0%{?rhel} == 4
BuildRequires: xorg-x11-devel
%endif
%if 0%{?suse_version} == 1140
BuildRequires: xorg-x11-libXv-devel
%endif
Requires: %{name}-base
Requires: %{name}-base
%description
A basic audio/video viewer application for Trinity.
@ -84,7 +100,7 @@ KMPlayer can:
* show backend player's console output
* launch ffserver (only 0.4.8 works) when viewing from a v4l device
* DCOP KMediaPlayer interface support
* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard KDE
* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard TDE
shortcut configure window
* Lots of configurable shortcuts. Highly recommended for the VDR keys
(if you have VDR) and volume increase/decrease
@ -125,7 +141,7 @@ Documention for KMPlayer, a basic audio/video viewer application for TDE.
%prep
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -152,11 +168,17 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
--includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \
--with-extra-includes=%{tde_includedir}/tqt \
--enable-closure
\
--with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags}
%__make %{?_smp_mflags} || %__make
%install
@ -164,7 +186,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%find_lang %{tdecomp}
%find_lang %{tde_pkg}
# Removes unwanted files
%__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop
@ -191,7 +213,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
/sbin/ldconfig || :
%files -f %{tdecomp}.lang
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog INSTALL README TODO kmplayer.lsm
%{tde_bindir}/kmplayer

@ -0,0 +1,19 @@
--- ./kmymoney2/widgets/Makefile.am.ftbfs 2013-06-06 19:37:02.000000000 +0200
+++ ./kmymoney2/widgets/Makefile.am 2013-07-28 18:58:51.406093917 +0200
@@ -7,14 +7,14 @@
libwidgets_a_METASOURCES = AUTO
libwidgets_a_SOURCES = kbudgetvalues.cpp kbudgetvaluesdecl.ui kguiutils.cpp klistviewsearchline.cpp kmymoneyaccountcombo.cpp kmymoneyaccountcompletion.cpp kmymoneyaccountselector.cpp kmymoneyaccounttreebase.cpp kmymoneyaccounttree.cpp kmymoneyaccounttreebudget.cpp kmymoneyaccounttreeforecast.cpp kmymoneybriefschedule.cpp kmymoneycalculator.cpp kmymoneycalendar.cpp kmymoneycategory.cpp kmymoneychecklistitem.cpp kmymoneycombo.cpp kmymoneycompletion.cpp kmymoneycurrencyselector.cpp kmymoneydateinput.cpp kmymoneydatetbl.cpp kmymoneyedit.cpp kmymoneyforecastlistviewitem.cpp kmymoneygpgconfig.cpp kmymoneygpgconfigdecl.ui kmymoneylineedit.cpp kmymoneylistviewitem.cpp kmymoneyonlinequoteconfig.cpp kmymoneyonlinequoteconfigdecl.ui kmymoneypriceview.cpp kmymoneyreportconfigtab1decl.ui kmymoneyreportconfigtab2decl.ui kmymoneyreportconfigtab3decl.ui kmymoneyreportconfigtabchartdecl.ui kmymoneyreportcontroldecl.ui kmymoneyscheduledcalendar.cpp kmymoneyscheduleddatetbl.cpp kmymoneyselector.cpp kmymoneytitlelabel.cpp kmymoneywizard.cpp kschedulebriefwidget.ui register.cpp registeritem.cpp registersearchline.cpp transaction.cpp scheduledtransaction.cpp stdtransactiondownloaded.cpp stdtransactionmatched.cpp transactioneditorcontainer.cpp transactionform.cpp kaccounttemplateselectordecl.ui kaccounttemplateselector.cpp \
-transactionsortoption.cpp transactionsortoption.ui \
+transactionsortoption.ui \
selectedtransaction.cpp
#libwidgets_a_SOURCES = kmymoneyregisterinvestment.cpp kmymoneyequity.cpp kmymoneyequitycompletion.cpp kmymoneycompletion.cpp kmymoneyequityselector.cpp kmymoneyaccountcombo.cpp kmymoneyaccountcompletion.cpp kmymoneycurrencyselector.cpp kmymoneypriceview.cpp kmymoneypriceviewdecl.ui kschedulebriefwidget.ui kmymoneyaccountselector.cpp kmymoneyregisterloan.cpp kmymoneyregistersearch.cpp kmymoneybriefschedule.cpp kmymoneyscheduleddatetbl.cpp kmymoneydatetbl.cpp kmymoneyscheduledcalendar.cpp kmymoneycalendar.cpp kmymoneycalculator.cpp kmymoneycategory.cpp kmymoneypayee.cpp kmymoneytransactionform.cpp kmymoneyregistercheckings.cpp kmymoneyregister.cpp kmymoneycombo.cpp kmymoneyhlayout.cpp kmymoneylineedit.cpp kmymoneyedit.cpp kmymoneydateinput.cpp kmymoneyreportcontroldecl.ui kmymoneyreportconfigtab1decl.ui kmymoneyreportconfigtab2decl.ui kmymoneyreportconfigtab3decl.ui kmymoneyreportconfigtabchartdecl.ui kmymoneyonlinequoteconfig.cpp kmymoneyonlinequoteconfigdecl.ui kmymoneyaccounttree.cpp kmymoneygpgconfigdecl.ui kmymoneygpgconfig.cpp kmymoneytitlelabel.cpp kguiutils.cpp kmymoneywizard.cpp kmymoneyaccounttreebudget.cpp kmymoneyaccounttreeforecast.cpp \
#register.cpp registeritem.cpp transaction.cpp transactionform.cpp transactioneditor.cpp transactioneditorcontainer.cpp kmymoneychecklistitem.cpp kmymoneylistviewitem.cpp kmymoneyforecastlistviewitem.cpp kmymoneyselector.cpp \
#transactionsortoption.ui
-EXTRA_DIST = kmymoney.widgets kmymoneygpgconfigdecl.ui kmymoneyonlinequoteconfigdecl.ui kmymoneyreportconfigtab1decl.ui kmymoneyreportconfigtab2decl.ui kmymoneyreportconfigtab3decl.ui kmymoneyreportcontroldecl.ui kschedulebriefwidget.ui kmymoneyreportconfigtabchartdecl.ui transactionsortoption.ui transactionsortoption.ui.h sortoptionlistitem.h kbudgetvaluesdecl.ui kaccounttemplateselectordecl.ui
+EXTRA_DIST = kmymoney.widgets kmymoneygpgconfigdecl.ui kmymoneyonlinequoteconfigdecl.ui kmymoneyreportconfigtab1decl.ui kmymoneyreportconfigtab2decl.ui kmymoneyreportconfigtab3decl.ui kmymoneyreportcontroldecl.ui kschedulebriefwidget.ui kmymoneyreportconfigtabchartdecl.ui transactionsortoption.ui.h sortoptionlistitem.h kbudgetvaluesdecl.ui kaccounttemplateselectordecl.ui
# include the widgets that are available to 3rd party sw (e.g. plugins or
# Qt designer) here

@ -1,5 +1,6 @@
# Default version for this component
%define tdecomp kmymoney
%define tde_pkg kmymoney
%define tde_version 3.5.13.2
# Required for Mageia 2: removes the ldflag '--no-undefined'
%define _disable_ld_no_undefined 1
@ -19,7 +20,7 @@
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -36,24 +37,27 @@
%define _docdir %{tde_docdir}
Name: trinity-%{tdecomp}
Summary: personal finance manager for TDE
Name: trinity-%{tde_pkg}
Summary: personal finance manager for TDE
Version: 1.0.5
Release: 4%{?dist}%{?_variant}
Version: 1.0.5
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz
Source1: kmymoneytitlelabel.png
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: kmymoneytitlelabel.png
# [kmymoney] Fix FTBFS
Patch1: kmymoney-3.5.13.2-ftbfs.patch
# [kmymoney] Missing LDFLAGS causing FTBFS
Patch4: kmymoney-3.5.13-missing_ldflags.patch
@ -61,10 +65,10 @@ Patch4: kmymoney-3.5.13-missing_ldflags.patch
# [kmymoney] Fix QT3 plugins directory location
Patch5: kmymoney-3.5.13-fix_qt3_plugins_location.patch
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
BuildRequires: trinity-arts-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: recode
@ -101,9 +105,9 @@ support.
%package common
Summary: KMyMoney architecture independent files
Group: Applications/Utilities
Requires: %{name} == %{version}
Summary: KMyMoney architecture independent files
Group: Applications/Utilities
Requires: %{name} == %{version}
%description common
This package contains architecture independent files needed for KMyMoney to
@ -112,9 +116,9 @@ have '%{name}' package installed, you will hardly find this package useful.
%package devel
Summary: KMyMoney development files
Group: Development/Libraries
Requires: %{name} == %{version}
Summary: KMyMoney development files
Group: Development/Libraries
Requires: %{name} == %{version}
%description devel
This package contains development files needed for KMyMoney plugins.
@ -126,7 +130,8 @@ This package contains development files needed for KMyMoney plugins.
%prep
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .ftbfs
%if 0%{?mgaversion} || 0%{?mdkversion}
%patch5 -p1 -b .qtpluginsdir
%endif
@ -165,6 +170,7 @@ export QTPLUGINS="%{_libdir}/qt3/plugins"
grep -v "^#~" po/it.po >/tmp/it.po && mv -f /tmp/it.po po/it.po
%endif
# NOTICE: --enable-final causes FTBFS !
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
@ -173,9 +179,16 @@ grep -v "^#~" po/it.po >/tmp/it.po && mv -f /tmp/it.po po/it.po
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--disable-final \
--enable-closure \
--disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt \
--enable-closure \
\
%{?with_pdf:--enable-pdf-docs} %{?!with_pdf:--disable-pdf-docs} \
--enable-ofxplugin \
--enable-ofxbanking \
@ -198,29 +211,9 @@ export QTPLUGINS=%{_libdir}/qt3/plugins
%__make install DESTDIR=%{buildroot}
## File lists
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
done
popd
fi
done
fi
%find_lang kmymoney2
%clean
%__rm -rf %{buildroot}
@ -241,6 +234,7 @@ for f in hicolor locolor Tango oxygen; do
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
done
%files
%defattr(-,root,root,-)
%{tde_bindir}/kmymoney
@ -286,6 +280,9 @@ done
%{qt3pluginsdir}/designer/libkmymoney.so
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-5
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-4
- Initial release for TDE 3.5.13.2

@ -1,5 +1,6 @@
# Default version for this component
%define tdecomp koffice
%define tde_pkg koffice
%define tde_version 3.5.13.2
# Required for Mageia 2: removes the ldflag '--no-undefined'
%define _disable_ld_no_undefined 1
@ -9,7 +10,7 @@
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -37,80 +38,80 @@
%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/')
Name: trinity-%{tdecomp}
Summary: An integrated office suite
Version: 1.6.3
Release: 7%{?dist}%{?_variant}
Name: trinity-%{tde_pkg}
Summary: An integrated office suite
Version: 1.6.3
Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant}
Group: Applications/Productivity
License: GPLv2+
Group: Applications/Productivity
License: GPLv2+
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
# BuildRequires: world-devel ;)
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdegraphics-devel >= 3.5.13.2
BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel >= 3.5.13.2
BuildRequires: automake libtool
BuildRequires: fontconfig-devel
BuildRequires: libart_lgpl-devel
BuildRequires: libtiff-devel
BuildRequires: libjpeg-devel
BuildRequires: ImageMagick-devel
BuildRequires: zlib-devel
BuildRequires: openssl-devel
BuildRequires: python-devel
BuildRequires: pcre-devel
BuildRequires: gettext-devel
BuildRequires: mysql-devel
BuildRequires: desktop-file-utils
BuildRequires: perl
BuildRequires: doxygen
BuildRequires: aspell-devel
BuildRequires: libxslt-devel
BuildRequires: OpenEXR-devel
BuildRequires: libexif-devel
BuildRequires: readline-devel
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdegraphics-devel >= %{tde_version}
BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel >= %{tde_version}
BuildRequires: automake libtool
BuildRequires: fontconfig-devel
BuildRequires: libart_lgpl-devel
BuildRequires: libtiff-devel
BuildRequires: libjpeg-devel
BuildRequires: ImageMagick-devel
BuildRequires: zlib-devel
BuildRequires: openssl-devel
BuildRequires: python-devel
BuildRequires: pcre-devel
BuildRequires: gettext-devel
BuildRequires: mysql-devel
BuildRequires: desktop-file-utils
BuildRequires: perl
BuildRequires: doxygen
BuildRequires: aspell-devel
BuildRequires: libxslt-devel
BuildRequires: OpenEXR-devel
BuildRequires: libexif-devel
BuildRequires: readline-devel
%if 0%{?suse_version}
BuildRequires: libbz2-devel
BuildRequires: liblcms-devel
BuildRequires: liblcms-devel
%else
BuildRequires: bzip2-devel
BuildRequires: lcms-devel
BuildRequires: bzip2-devel
BuildRequires: lcms-devel
BuildRequires: libpaper-devel
BuildRequires: libpaper-devel
%endif
# RUBY support
%if 0%{?with_ruby}
BuildRequires: ruby ruby-devel >= 1.8.1
BuildRequires: ruby ruby-devel >= 1.8.1
%endif
# FREETYPE support
%if 0%{?suse_version} == 1140
BuildRequires: freetype2-devel
BuildRequires: freetype2-devel
%else
BuildRequires: freetype-devel
BuildRequires: freetype-devel
%endif
# LIBPNG support
%if 0%{?mgaversion}
BuildRequires: %{_lib}png-devel
BuildRequires: %{_lib}png-devel
%endif
%if 0%{?mdkversion} && 0%{?pclinuxos} == 0
BuildRequires: %{_lib}png15-devel
BuildRequires: %{_lib}png15-devel
%endif
%if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel}
BuildRequires: libpng-devel
BuildRequires: libpng-devel
%endif
# GRAPHICSMAGICK support
@ -139,7 +140,7 @@ BuildRequires: libutempter-devel
# Requires 'libpqxx', for kexi-driver-pgqsl
%if 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version}
%define with_postgresql 1
BuildRequires: libpqxx-devel
BuildRequires: libpqxx-devel
%endif
Obsoletes: trinity-libpqxx
@ -150,10 +151,10 @@ Obsoletes: trinity-libwpd
# WV2 support
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}wv2-devel
BuildRequires: %{_lib}wv2-devel
%endif
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: wv2-devel
BuildRequires: wv2-devel
%endif
# MESA support
@ -162,11 +163,11 @@ BuildRequires: %{_lib}mesagl1-devel
BuildRequires: %{_lib}mesaglu1-devel
%endif
%if 0%{?fedora} || 0%{?rhel}
BuildRequires: libGL-devel
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
%endif
%if 0%{?suse_version} >= 1220
BuildRequires: Mesa-libGL-devel
BuildRequires: Mesa-libGL-devel
BuildRequires: Mesa-libGLU-devel
%endif
@ -180,13 +181,13 @@ BuildRequires: %{_lib}openjpeg-devel
BuildRequires: %{_lib}xi-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora}
BuildRequires: libXi-devel
BuildRequires: libXi-devel
%endif
%if 0%{?suse_version} == 1140
BuildRequires: libXi6-devel
BuildRequires: libXi6-devel
%endif
%if 0%{?suse_version} >= 1220
BuildRequires: libXi-devel
BuildRequires: libXi-devel
%endif
@ -196,25 +197,25 @@ KOffice is an integrated office suite.
##########
%package suite
Summary: An integrated office suite
Group: Applications/Productivity
Summary: An integrated office suite
Group: Applications/Productivity
Obsoletes: %{name} <= %{version}-%{release}
Obsoletes: %{name}-i18n < 4:%{version}
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-kword = %{version}-%{release}
Requires: %{name}-kspread = %{version}-%{release}
Requires: %{name}-kpresenter = %{version}-%{release}
Requires: %{name}-kivio = %{version}-%{release}
Requires: %{name}-karbon = %{version}-%{release}
Requires: %{name}-kugar = %{version}-%{release}
Requires: %{name}-kexi = %{version}-%{release}
Requires: %{name}-kexi-driver-mysql = %{version}-%{release}
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-kword = %{version}-%{release}
Requires: %{name}-kspread = %{version}-%{release}
Requires: %{name}-kpresenter = %{version}-%{release}
Requires: %{name}-kivio = %{version}-%{release}
Requires: %{name}-karbon = %{version}-%{release}
Requires: %{name}-kugar = %{version}-%{release}
Requires: %{name}-kexi = %{version}-%{release}
Requires: %{name}-kexi-driver-mysql = %{version}-%{release}
%{?with_postgresql:Requires: %{name}-kexi-driver-pgsql = %{version}-%{release}}
Requires: %{name}-kchart = %{version}-%{release}
Requires: %{name}-kformula = %{version}-%{release}
Requires: %{name}-filters = %{version}-%{release}
Requires: %{name}-kplato = %{version}-%{release}
Requires: %{name}-chalk = %{version}-%{release}
Requires: %{name}-kchart = %{version}-%{release}
Requires: %{name}-kformula = %{version}-%{release}
Requires: %{name}-filters = %{version}-%{release}
Requires: %{name}-kplato = %{version}-%{release}
Requires: %{name}-chalk = %{version}-%{release}
%description suite
KOffice is an integrated office suite.
@ -225,10 +226,10 @@ KOffice is an integrated office suite.
##########
%package core
Summary: Core support files for %{name}
Group: Applications/Productivity
Requires: %{name}-libs = %{version}-%{release}
Requires: perl
Summary: Core support files for %{name}
Group: Applications/Productivity
Requires: %{name}-libs = %{version}-%{release}
Requires: perl
Conflicts: koffice-i18n < %{version}
%description core
@ -317,11 +318,11 @@ fi
##########
%package libs
Summary: Runtime libraries for %{name}
Group: System Environment/Libraries
Summary: Runtime libraries for %{name}
Group: System Environment/Libraries
Conflicts: %{name} <= %{version}-%{release}
Requires: trinity-kdelibs
License: LGPLv2+
Requires: trinity-kdelibs
License: LGPLv2+
%description libs
%{summary}.
@ -359,10 +360,10 @@ License: LGPLv2+
##########
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
License: LGPLv2+
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
License: LGPLv2+
%description devel
%{summary}.
@ -379,9 +380,9 @@ License: LGPLv2+
##########
%package kword
Summary: A frame-based word processor capable of professional standard documents
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Summary: A frame-based word processor capable of professional standard documents
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
%description kword
%{summary}.
@ -413,9 +414,9 @@ update-desktop-database -q &> /dev/null ||:
##########
%package kspread
Summary: A powerful spreadsheet application
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Summary: A powerful spreadsheet application
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
%description kspread
%{summary}.
@ -450,9 +451,9 @@ Requires: %{name}-core = %{version}-%{release}
##########
%package kpresenter
Summary: A full-featured presentation program
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Summary: A full-featured presentation program
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
%description kpresenter
%{summary}.
@ -484,9 +485,9 @@ update-desktop-database -q &> /dev/null ||:
##########
%package kivio
Summary: A flowcharting application
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Summary: A flowcharting application
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Obsoletes: kivio < %{version}-%{release}
%description kivio
@ -508,9 +509,9 @@ Obsoletes: kivio < %{version}-%{release}
##########
%package karbon
Summary: A vector drawing application
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Summary: A vector drawing application
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
%description karbon
%{summary}.
@ -539,9 +540,9 @@ Requires: %{name}-core = %{version}-%{release}
##########
%package kugar
Summary: A tool for generating business quality reports
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Summary: A tool for generating business quality reports
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
%description kugar
%{summary}.
@ -577,9 +578,9 @@ update-desktop-database -q &> /dev/null ||:
##########
%package kexi
Summary: An integrated environment for managing data
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Summary: An integrated environment for managing data
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
%if 0%{?with_postgresql} == 0
Obsoletes: %{name}-kexi-driver-pgsql
@ -631,9 +632,9 @@ update-desktop-database -q &> /dev/null ||:
##########
%package kexi-driver-mysql
Summary: Mysql-driver for kexi
Group: Applications/Productivity
Requires: %{name}-kexi = %{version}-%{release}
Summary: Mysql-driver for kexi
Group: Applications/Productivity
Requires: %{name}-kexi = %{version}-%{release}
%description kexi-driver-mysql
%{summary}.
@ -650,9 +651,9 @@ Requires: %{name}-kexi = %{version}-%{release}
%if 0%{?with_postgresql}
%package kexi-driver-pgsql
Summary: Postgresql driver for kexi
Group: Applications/Productivity
Requires: %{name}-kexi = %{version}-%{release}
Summary: Postgresql driver for kexi
Group: Applications/Productivity
Requires: %{name}-kexi = %{version}-%{release}
%description kexi-driver-pgsql
%{summary}.
@ -669,9 +670,9 @@ Requires: %{name}-kexi = %{version}-%{release}
##########
%package kchart
Summary: An integrated graph and chart drawing tool
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Summary: An integrated graph and chart drawing tool
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
%description kchart
%{summary}.
@ -699,26 +700,26 @@ update-desktop-database -q &> /dev/null ||:
##########
%package kformula
Summary: A powerful formula editor
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Summary: A powerful formula editor
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
%if 0%{?mgaversion} || 0%{?mdkversion}
Requires: fonts-ttf-dejavu
%else
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
Requires: dejavu-lgc-sans-fonts
Requires: lyx-cmex10-fonts
Requires: dejavu-lgc-sans-fonts
Requires: lyx-cmex10-fonts
%endif
%if 0%{?rhel} == 5
Requires: dejavu-lgc-fonts
Requires: lyx-cmex10-fonts
Requires: dejavu-lgc-fonts
Requires: lyx-cmex10-fonts
%endif
%if 0%{?suse_version} >= 1220
Requires: dejavu-fonts
Requires: dejavu-fonts
%endif
%if 0%{?suse_version} == 1140
Requires: dejavu
Requires: dejavu
%endif
%endif
@ -738,9 +739,9 @@ Requires: dejavu
##########
%package filters
Summary: Import and Export Filters for KOffice
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Summary: Import and Export Filters for KOffice
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
%description filters
%{summary}.
@ -808,9 +809,9 @@ Requires: %{name}-core = %{version}-%{release}
##########
%package kplato
Summary: An integrated project management and planning tool
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Summary: An integrated project management and planning tool
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
%description kplato
%{summary}.
@ -829,11 +830,11 @@ Requires: %{name}-core = %{version}-%{release}
##########
%package chalk
Summary: pixel-based image manipulation program for the TDE Office Suite [Trinity]
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-chalk-data = %{version}-%{release}
Requires: %{name}-filters
Summary: pixel-based image manipulation program for the TDE Office Suite [Trinity]
Group: Applications/Productivity
Requires: %{name}-core = %{version}-%{release}
Requires: %{name}-chalk-data = %{version}-%{release}
Requires: %{name}-filters
%description chalk
Chalk is a painting and image editing application for KOffice. Chalk contains
@ -1022,7 +1023,7 @@ update-desktop-database -q &> /dev/null ||:
%package chalk-data
Summary: data files for Chalk painting program [Trinity]
Group: Applications/Productivity
Group: Applications/Productivity
%description chalk-data
This package contains architecture-independent data files for Chalk,
@ -1053,7 +1054,7 @@ This package is part of the TDE Office Suite.
##########
%prep
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%if 0%{?mgaversion} >= 3 || 0%{?pclinuxos} >= 2013
%__cp /usr/share/automake-1.13/test-driver admin/
@ -1097,6 +1098,7 @@ export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux"
--mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \
--disable-rpath --disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--disable-debug --disable-warnings \
--with-pic --enable-shared --disable-static \

@ -1,12 +1,13 @@
# Default version for this component
%define tdecomp kpilot
%define tde_pkg kpilot
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -23,38 +24,38 @@
%define _docdir %{tde_docdir}
Name: trinity-%{tdecomp}
Summary: TDE Palm Pilot hot-sync tool
Version: 0.7
Release: 4%{?dist}%{?_variant}
Name: trinity-%{tde_pkg}
Summary: TDE Palm Pilot hot-sync tool
Version: 0.7
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: pilot-link-devel
BuildRequires: trinity-kdepim-devel
BuildRequires: trinity-tdepim-devel >= %{tde_version}
%description
KPilot is an application that synchronizes your Palm Pilot or similar device
(like the Handspring Visor) with your KDE desktop, much like the Palm HotSync
(like the Handspring Visor) with your TDE desktop, much like the Palm HotSync
software does for Windows. KPilot can back-up and restore your Palm Pilot
and synchronize the built-in applications with their KDE counterparts.
and synchronize the built-in applications with their TDE counterparts.
%if 0%{?suse_version} || 0%{?pclinuxos}
@ -63,7 +64,7 @@ and synchronize the built-in applications with their KDE counterparts.
%prep
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -89,7 +90,14 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir}
# SMP safe !
@ -174,6 +182,9 @@ done
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.7-5
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.7-4
- Initial release for TDE 3.5.13.2

@ -1,12 +1,13 @@
# Default version for this component
%define tdecomp kuickshow
%define tde_pkg kuickshow
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -23,25 +24,25 @@
%define _docdir %{tde_docdir}
Name: trinity-%{tdecomp}
Summary: Quick picture viewer for KDE
Version: 0.8.13
Release: 6%{?dist}%{?_variant}
Name: trinity-%{tde_pkg}
Summary: Quick picture viewer for TDE
Version: 0.8.13
Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion}
@ -52,7 +53,7 @@ BuildRequires: imlib1-devel
%endif
%description
Kuickshow is a picture viewer for KDE. It displays the directory structure,
Kuickshow is a picture viewer for TDE. It displays the directory structure,
displaying images as thumbnails.
Clicking on an image shows the image in its normal size.
@ -63,7 +64,7 @@ Clicking on an image shows the image in its normal size.
%prep
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -89,9 +90,15 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \
--with-extra-includes=%{tde_includedir}/tqt \
--enable-closure
\
--with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags}
@ -123,7 +130,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%{tde_datadir}/applications/*/*.desktop
%{tde_datadir}/apps/*/
%{tde_datadir}/icons/hicolor/*/*/*
%{tde_libdir}/lib[kt]deinit_%{tdecomp}.so
%{tde_libdir}/lib[kt]deinit_%{tde_pkg}.so
%{tde_libdir}/*.la
%{tde_tdelibdir}/*.so
%{tde_tdelibdir}/*.la
@ -131,6 +138,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.13-7
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.13-6
- Initial release for TDE 3.5.13.2

@ -1,5 +1,6 @@
# Default version for this component
%define tdecomp rosegarden
%define tde_pkg rosegarden
%define tde_version 3.5.13.2
# Required for Mageia 2: removes the ldflag '--no-undefined'
%define _disable_ld_no_undefined 1
@ -9,7 +10,7 @@
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -26,34 +27,38 @@
%define _docdir %{tde_tdedocdir}
Name: trinity-%{tdecomp}
Summary: music editor and MIDI/audio sequencer [Trinity]
Version: 1.7.0
Release: 4%{?dist}%{?_variant}
Name: trinity-%{tde_pkg}
Summary: music editor and MIDI/audio sequencer [Trinity]
Version: 1.7.0
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Multimedia
License: GPLv2+
Group: Applications/Multimedia
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.rosegardenmusic.com/
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.rosegardenmusic.com/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: fftw-devel
BuildRequires: dssi-devel
BuildRequires: liblo-devel
BuildRequires: fontconfig-devel
# DSSI support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: dssi-devel
%endif
# LRDF support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: liblrdf-devel
@ -67,40 +72,40 @@ BuildRequires: jack-audio-connection-kit-devel
%endif
# LIRC support
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6
%define with_lirc 1
BuildRequires: lirc-devel
%endif
Requires: lilypond
Requires: perl-XML-Twig
Requires: lilypond
Requires: perl-XML-Twig
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
Requires: libsndfile-progs
Requires: libsndfile-progs
%else
%if 0%{?rhel}
Requires: libsndfile
Requires: libsndfile
%else
Requires: libsndfile-utils
Requires: libsndfile-utils
%endif
%endif
Requires: %{name}-data == %{version}-%{release}
Requires: %{name}-data == %{version}-%{release}
%description
Rosegarden is a KDE application which provides a mixed Audio/MIDI
Rosegarden is a TDE application which provides a mixed Audio/MIDI
sequencer (for playback and recording), a multi-track editor, music
editing using both piano-roll and score notation, MIDI file IO,
lilypond and Csound files export, etc.
%package data
Group: Applications/Multimedia
Requires: %{name} == %{version}-%{release}
Summary: music editor and MIDI/audio sequencer data files [Trinity]
Group: Applications/Multimedia
Requires: %{name} == %{version}-%{release}
Summary: music editor and MIDI/audio sequencer data files [Trinity]
%description data
Rosegarden is a KDE application which provides a mixed Audio/MIDI
Rosegarden is a TDE application which provides a mixed Audio/MIDI
sequencer (for playback and recording), a multi-track editor, music
editing using both piano-roll and score notation, MIDI file IO,
lilypond and Csound files export, etc.
@ -114,7 +119,7 @@ This package provides the data files necessary for running Rosegarden
%prep
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Hard-coded path to TQT binaries spotted !!!
%__sed -i CMakeLists.txt \
@ -134,14 +139,20 @@ cd build
%endif
%cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWANT_DEBUG=OFF \
-DWANT_FULLDBG=OFF \
\
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
-DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DCMAKE_SKIP_RPATH="OFF" \
-DWANT_DEBUG=OFF \
-DWANT_FULLDBG=OFF \
\
-DWANT_SOUND=ON \
-DWANT_JACK=ON \
-DWANT_DSSI=ON \
@ -159,8 +170,11 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build
# Unwanted files
%__rm -f %{?buildroot}%{tde_libdir}/*.a
%find_lang %{tde_pkg}
%find_lang %{tdecomp}
%clean
%__rm -rf %{buildroot}
@ -189,7 +203,7 @@ done
%{tde_bindir}/rosegarden-project-package
%{tde_bindir}/rosegardensequencer
%files data -f %{tdecomp}.lang
%files data -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%{tde_tdeappdir}/rosegarden.desktop
%{tde_datadir}/apps/profiles/rosegarden.profile.xml
@ -207,6 +221,9 @@ done
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.7.0-5
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.7.0-4
- Initial release for TDE 3.5.13.2

@ -1,12 +1,13 @@
# Default version for this component
%define tdecomp tdesvn
%define tde_pkg tdesvn
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -23,26 +24,26 @@
%define _docdir %{tde_docdir}
Name: trinity-%{tdecomp}
Summary: subversion client with tight KDE integration [Trinity]
Version: 1.0.4
Release: 5%{?dist}%{?_variant}
Name: trinity-%{tde_pkg}
Summary: subversion client with tight TDE integration [Trinity]
Version: 1.0.4
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.elliptique.net/~ken/kima/
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.elliptique.net/~ken/kima/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: gettext
@ -57,13 +58,13 @@ TDESvn is a graphical client for the subversion revision control
system (svn).
Besides offering common and advanced svn operations, it features
a tight integration into KDE and can be embedded into other KDE
applications like konqueror via the KDE component technology KParts.
a tight integration into TDE and can be embedded into other TDE
applications like konqueror via the TDE component technology KParts.
%package -n trinity-libsvnqt
Group: Development/Libraries
Summary: Qt wrapper library for subversion [Trinity]
Group: Development/Libraries
Summary: Qt wrapper library for subversion [Trinity]
%description -n trinity-libsvnqt
This package provides svnqt, a Qt wrapper library around the
@ -73,11 +74,11 @@ It is based on the RapidSvn SvnCpp library, a subversion client API
written in C++.
%package -n trinity-libsvnqt-devel
Group: Development/Libraries
Requires: trinity-libsvnqt = %{version}-%{release}
Requires: qt-devel
Requires: subversion-devel
Summary: Qt wrapper library for subversion (development files) [Trinity]
Group: Development/Libraries
Requires: trinity-libsvnqt = %{version}-%{release}
Requires: qt-devel
Requires: subversion-devel
Summary: Qt wrapper library for subversion (development files) [Trinity]
%description -n trinity-libsvnqt-devel
This package contains the header files and symbolic links that developers
@ -85,9 +86,9 @@ using svnqt will need.
%package tdeio-plugins
Group: Development/Libraries
Group: Development/Libraries
Conflicts: trinity-kdesdk-tdeio-plugins
Summary: subversion I/O slaves for Trinity
Summary: subversion I/O slaves for Trinity
Obsoletes: trinity-kdesvn-kio-plugins < %{version}-%{release}
Provides: trinity-kdesvn-kio-plugins = %{version}-%{release}
@ -108,7 +109,7 @@ This package is part of tdesvn-trinity.
%prep
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -141,6 +142,12 @@ cd build
%endif
%cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
-DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_includedir} \
@ -149,7 +156,6 @@ cd build
-DDATA_INSTALL_DIR=%{tde_datadir} \
-DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DCMAKE_SKIP_RPATH="OFF" \
..
# SMP safe !
@ -162,8 +168,6 @@ export PATH="%{_bindir}:${PATH}"
%__make install DESTDIR=%{buildroot} -C build
%find_lang kdesvn
# Installs SVN protocols as alternatives
%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesvn
%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesvn
@ -176,6 +180,8 @@ export PATH="%{_bindir}:${PATH}"
%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol
%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol
%find_lang %{tde_pkg}
%clean
%__rm -rf %{buildroot}
@ -271,6 +277,9 @@ fi
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.4-6
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.4-5
- Initial release for TDE 3.5.13.2

@ -0,0 +1,19 @@
--- trinity-tellico-3.5.13.2/src/barcode/barcode.cpp.ORI 2013-07-29 17:21:06.358915613 +0200
+++ trinity-tellico-3.5.13.2/src/barcode/barcode.cpp 2013-07-29 17:22:29.505126885 +0200
@@ -172,14 +172,14 @@
for (int i = 0; i < 10; i++) {
TQCString temp;
temp.setNum( i );
- fprintf( stderr, temp + " : " );
+ fprintf( stderr, "%s : ", *(temp) );
for (int j = 0; j < 13; j++) {
if (array[i][j][level] == -1)
fprintf( stderr, "x " );
else {
TQCString temp;
temp.setNum( array[i][j][level] );
- fprintf( stderr, temp + " " );
+ fprintf( stderr, "%s ", *(temp) );
}
}
fprintf( stderr, "\n" );

@ -0,0 +1,11 @@
--- trinity-tellico-3.5.13.2/src/barcode/barcode_v4l.h.ORI 2013-07-28 22:22:41.390223800 +0200
+++ trinity-tellico-3.5.13.2/src/barcode/barcode_v4l.h 2013-07-28 22:23:10.085637439 +0200
@@ -31,7 +31,7 @@
#endif
//#include <linux/videodev2.h>
-#include <linux/videodev.h>
+#include <libv4l1.h>
#include <tqstring.h>
#include <tqimage.h>

@ -1,12 +1,13 @@
# Default version for this component
%define tdecomp tellico
%define tde_pkg tellico
%define tde_version 3.5.13.2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr"
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -23,26 +24,29 @@
%define _docdir %{tde_tdedocdir}
Name: trinity-%{tdecomp}
Summary: Icollection manager for books, videos, music [Trinity]
Version: 1.3.2.1
Release: 5%{?dist}%{?_variant}
Name: trinity-%{tde_pkg}
Summary: Icollection manager for books, videos, music [Trinity]
Version: 1.3.2.1
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://periapsis.org/tellico/
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://periapsis.org/tellico/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-3.5.13.2.tar.gz
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
BuildRequires: trinity-tdebase-devel >= 3.5.13.2
Patch1: tellico-3.5.13.2-videodev.patch
Patch2: tellico-3.5.13.2-ftbfs.patch
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: gettext
@ -51,8 +55,16 @@ BuildRequires: yaz
BuildRequires: %{_lib}yaz-devel
%endif
Requires: %{name}-data = %{version}-%{release}
Requires: %{name}-scripts = %{version}-%{release}
# V4L support
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version}
BuildRequires: libv4l-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}v4l-devel
%endif
Requires: %{name}-data = %{version}-%{release}
Requires: %{name}-scripts = %{version}-%{release}
%description
Tellico is a collection manager for TDE. It includes default collections for
@ -70,8 +82,8 @@ It also makes it easy for other softwares to use the Tellico data.
%package data
Group: Applications/Utilities
Summary: collection manager for books, videos, music [data] [Trinity]
Group: Applications/Utilities
Summary: collection manager for books, videos, music [data] [Trinity]
%description data
Tellico is a collection manager for TDE. It includes default collections for
@ -91,8 +103,8 @@ This package contains the architecture independent files, such data files and
documentation.
%package scripts
Group: Applications/Utilities
Summary: collection manager for books, videos, music [scripts] [Trinity]
Group: Applications/Utilities
Summary: collection manager for books, videos, music [scripts] [Trinity]
%description scripts
Tellico is a collection manager for TDE. It includes default collections for
@ -119,7 +131,12 @@ as a separate package which can be updated through debian-volatile.
%prep
%setup -q -n %{name}-3.5.13.2
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
if [ -r /usr/include/libv4l1-videodev.h ]; then
%patch1 -p1 -b .videodev
fi
%patch2 -p1 -b .ftbfs
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -137,6 +154,7 @@ unset QTDIR; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
# Warning, --enable-final causes FTBFS §
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
@ -145,8 +163,17 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--disable-final \
--enable-closure \
--disable-rpath \
--with-extra-includes=%{tde_includedir}/tqt
\
--with-extra-includes=%{tde_includedir}/tqt \
\
--enable-webcam
%__make %{?_smp_mflags} || %__make
@ -164,7 +191,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm %{?buildroot}%{tde_tdedocdir}/HTML/fr/tellico/common
%find_lang %{tdecomp}
%find_lang %{tde_pkg}
%clean
@ -180,7 +207,7 @@ touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%files -f %{tdecomp}.lang
%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%{tde_bindir}/tellico
#%{tde_datadir}/pixmaps
@ -217,6 +244,9 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-6
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-5
- Initial release for TDE 3.5.13.2

@ -3,6 +3,8 @@
%define _variant .opt
%endif
%define tde_version 3.5.13.2
%define tde_bindir %{tde_prefix}/bin
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
@ -13,8 +15,8 @@
%define _docdir %{tde_datadir}/doc
Name: trinity-arts
Version: 3.5.13.2
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPL
Summary: aRts (analog realtime synthesizer) - the TDE sound system
Group: System Environment/Daemons
@ -29,7 +31,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Source1: kcmartsrc-pulseaudio
BuildRequires: trinity-tqtinterface-devel >= %{version}
BuildRequires: cmake >= 2.8
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: audiofile-devel
BuildRequires: alsa-lib-devel
BuildRequires: glib2-devel
@ -97,7 +100,7 @@ Obsoletes: arts
%endif
%description
arts (analog real-time synthesizer) is the sound system of KDE 3.
arts (analog real-time synthesizer) is the sound system of TDE.
The principle of arts is to create/process sound using small modules which do
certain tasks. These may be create a waveform (oscillators), play samples,
@ -205,20 +208,25 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
cd build
%endif
%cmake \
%cmake .. \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DBIN_INSTALL_DIR="%{tde_bindir}" \
-DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}/arts" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \
-DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
\
-DWITH_ALSA=ON \
-DWITH_AUDIOFILE=ON \
-DWITH_VORBIS=ON \
%{?with_libmad:-DWITH_MAD=ON} %{!?with_libmad:-DWITH_MAD=OFF} \
%{?with_esound:-DWITH_ESOUND=ON} \
%{?with_jack:-DWITH_JACK=ON} \
-DCMAKE_SKIP_RPATH=OFF \
..
%{?with_jack:-DWITH_JACK=ON}
%__make %{?_smp_mflags} || %__make
@ -238,6 +246,9 @@ cd build
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2

@ -3,7 +3,9 @@
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
%define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_sbindir %{tde_prefix}/sbin
%define tde_datadir %{tde_prefix}/share
@ -21,7 +23,7 @@
Name: trinity-tdeadmin
Summary: Administrative tools for TDE
Version: 3.5.13.2
Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPLv2
@ -400,24 +402,27 @@ if [ -d /usr/X11R6 ]; then
fi
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--sbindir=%{tde_sbindir} \
--libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
--enable-new-ldflags \
--disable-dependency-tracking \
--disable-rpath \
--with-rpm \
--with-pam=kde \
--with-shadow \
--with-private-groups \
--enable-final \
--enable-closure \
--with-private-groups \
--with-extra-includes=%{tde_includedir}/tqt
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--sbindir=%{tde_sbindir} \
--libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt \
\
--with-rpm \
--with-pam=kde \
--with-shadow \
--with-private-groups
%__make %{?_smp_mflags}
@ -447,23 +452,6 @@ comps="kcron kdat knetworkconf kpackage ksysv kuser"
%endif
%endif
# locale's
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}/$HTML_DIR ]; then
for lang_dir in %{buildroot}/$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
done
popd
fi
done
fi
# rpmdocs
for dir in $comps ; do
for file in AUTHORS ChangeLog README TODO ; do

File diff suppressed because it is too large Load Diff

@ -0,0 +1,136 @@
--- tdebase/kcontrol/input/xcursor/themepage.cpp.ORI 2013-07-22 19:33:45.153674930 +0200
+++ tdebase/kcontrol/input/xcursor/themepage.cpp 2013-07-23 15:24:01.664497762 +0200
@@ -33,6 +33,8 @@
#include <kio/netaccess.h>
#include <ktar.h>
+#include "../../krdb/krdb.h"
+
#include <tqlayout.h>
#include <tqdir.h>
#include <tqpixmap.h>
@@ -42,6 +44,7 @@
#include <tqpainter.h>
#include <tqfileinfo.h>
#include <tqpushbutton.h>
+#include <dcopref.h>
#include <cstdlib> // for getenv()
@@ -53,6 +56,10 @@
#include <X11/Xlib.h>
#include <X11/Xcursor/Xcursor.h>
+#ifdef HAVE_XFIXES
+# include <X11/extensions/Xfixes.h>
+#endif
+
// Check for older version
#if !defined(XCURSOR_LIB_MAJOR) && defined(XCURSOR_MAJOR)
# define XCURSOR_LIB_MAJOR XCURSOR_MAJOR
@@ -133,6 +140,65 @@
{
}
+bool ThemePage::applyTheme(TQString theme, TQString size)
+{
+#ifdef HAVE_XCURSOR
+ if (theme.isEmpty()) {
+ return false;
+ }
+
+ // Apply the TDE cursor theme to ourselves
+ XcursorSetTheme(qt_xdisplay(), theme.latin1());
+
+ // Tell klauncher to set the XCURSOR_THEME and XCURSOR_SIZE environment
+ // variables when launching applications.
+ DCOPRef klauncher("klauncher");
+ klauncher.send("setLaunchEnv", TQCString("XCURSOR_THEME"), theme);
+ if( !size.isEmpty()) {
+ klauncher.send("setLaunchEnv", TQCString("XCURSOR_SIZE"), size);
+ }
+
+ // Update the Xcursor X resources
+ runRdb(0);
+
+ // Apply the TDE cursor size to ourselves
+ if (!size.isEmpty()) {
+ XcursorSetDefaultSize(qt_xdisplay(), size.toUInt());
+ }
+
+ // Reload the standard cursors
+ TQStringList names;
+
+ // Qt cursors
+ names << "left_ptr" << "up_arrow" << "cross" << "wait"
+ << "left_ptr_watch" << "ibeam" << "size_ver" << "size_hor"
+ << "size_bdiag" << "size_fdiag" << "size_all" << "split_v"
+ << "split_h" << "pointing_hand" << "openhand"
+ << "closedhand" << "forbidden" << "whats_this" << "copy" << "move" << "link";
+
+ // X core cursors
+ names << "X_cursor" << "right_ptr" << "hand1"
+ << "hand2" << "watch" << "xterm"
+ << "crosshair" << "left_ptr_watch" << "center_ptr"
+ << "sb_h_double_arrow" << "sb_v_double_arrow" << "fleur"
+ << "top_left_corner" << "top_side" << "top_right_corner"
+ << "right_side" << "bottom_right_corner" << "bottom_side"
+ << "bottom_left_corner" << "left_side" << "question_arrow"
+ << "pirate";
+
+ for (int i = 0; i < names.size(); ++i)
+ {
+ const char* name = (*(names.at(i))).ascii();
+ Cursor handle = XcursorLibraryLoadCursor(qt_xdisplay(), name);
+ XFixesChangeCursorByName(qt_xdisplay(), handle, TQFile::encodeName(name));
+ XFreeCursor(qt_xdisplay(), handle); // Don't leak the cursor
+ }
+
+ return true;
+#else // HAVE_XCURSOR
+ return false;
+#endif
+}
void ThemePage::save()
{
@@ -145,10 +209,17 @@
c.setGroup( "Mouse" );
c.writeEntry( "cursorTheme", selectedTheme != "system" ? selectedTheme : TQString::null );
- KMessageBox::information( this, i18n("You have to restart KDE for these "
+ // The Kcontrol panel does not allow to set cursor size for now.
+ // So we keep the same size as written in config file.
+ TQCString size = c.readEntry("cursorSize", TQString()).local8Bit();
+
+ if (!applyTheme(selectedTheme, size))
+ {
+ KMessageBox::information( this, i18n("You have to restart KDE for these "
"changes to take effect."), i18n("Cursor Settings Changed"),
"CursorSettingsChanged" );
-
+ }
+
currentTheme = selectedTheme;
}
--- tdebase/kcontrol/input/xcursor/themepage.h.ORI 2013-07-22 19:49:33.467191658 +0200
+++ tdebase/kcontrol/input/xcursor/themepage.h 2013-07-22 19:56:03.990484896 +0200
@@ -45,6 +45,7 @@
void load();
void load( bool useDefaults );
void defaults();
+ bool applyTheme(TQString theme, TQString size);
signals:
void changed( bool );
--- tdebase/kcontrol/input/xcursor/CMakeLists.txt.ORI 2013-07-23 15:24:41.178064068 +0200
+++ tdebase/kcontrol/input/xcursor/CMakeLists.txt 2013-07-23 15:27:31.694851294 +0200
@@ -21,5 +21,6 @@
tde_add_library( themepage STATIC_PIC AUTOMOC
SOURCES
- themepage.cpp previewwidget.cpp
+ themepage.cpp previewwidget.cpp ../../krdb/krdb.cpp
+ LINK Xfixes
)

@ -3,7 +3,9 @@
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
%define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -23,7 +25,7 @@
Name: trinity-tdebase
Version: 3.5.13.2
Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPL
Summary: Trinity Base Programs
@ -77,27 +79,27 @@ Source8: tdm%{?dist}.pp
Source9: mgabutton.svg
%endif
# TDE 3.5.13 patches
# Patch party !
# Permanent patches, all TDE versions
## [tdebase/kdesktop] Modifies 'open terminal here' on desktop [RHEL/Fedora]
Patch1: kdebase-3.5.12-desktop-openterminalhere.patch
## [tdebase] Sets default Start Icon in 'kickerrc' [RHEL/Fedora]
Patch2: kdebase-3.5.13.1-startkde_icon.patch
## [tdebase/kcontrol] Adds FR translation for KCM ICC
Patch3: tdebase-3.5.13.2-displayconfig_translation.patch
## [tdebase/kicker] Adds default entries for Kickoff menu
Patch4: tdebase-3.5.13.2-kickoff_default_favs.patch
## [tdebase] Changes konsole default word separator
Patch5: tdebase-14.0.0-konsole_wordseps.patch
# Permanent patches, this TDE version only
## [tdebase/kdm] Fix PID file is 'tdm.pid' instead of 'kdm.pid' (needed for openSUSE)
Patch11: kdebase-3.5.13.1-fix_tdm_pid_file.patch
## [kdebase/kdesu] Remove 'ignore' button on 'kdesu' dialog box [RHEL/Fedora]
Patch1: tdebase-3.5.13.2-kdesu-noignorebutton.patch
## [kdebase/kdesktop] Modifies 'open terminal here' on desktop [RHEL/Fedora]
Patch2: kdebase-3.5.12-desktop-openterminalhere.patch
## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xinit/Xsession' [RHEL/Fedora]
Patch3: kdebase-3.5.13-genkdmconf_Xsession_location.patch
## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xdm/Xsession' [openSUSE]
Patch4: kdebase-3.5.13-genkdmconf_Xsession_location_xdm.patch
## [kdebase/startkde] Sets default Start Icon in 'kickerrc' [RHEL/Fedora]
Patch5: kdebase-3.5.13.1-startkde_icon.patch
## [kdebase/kdm/kfrontend] Allows to hide KDM menu button [RHEL/Fedora]
Patch6: kdebase-3.5.12-kdm_hide_menu_button.patch
## [kdebase/kdm] Fix PID file is 'tdm.pid' instead of 'kdm.pid' (needed for openSUSE)
Patch7: kdebase-3.5.13.1-fix_tdm_pid_file.patch
## [kdebase/kicker] Fixes for Kickoff menu
Patch8: tdebase-3.5.13.2-kickoff_default_favs.patch
## [kdebase/kcontrol] Adds FR translation for KCM ICC
Patch9: tdebase-3.5.13.2-displayconfig_translation.patch
Patch10: tdebase-3.5.13.2-kcm_xcursor_applytheme.patch
Patch12: tdebase-3.5.13.2-kdesu-noignorebutton.patch
## [kdebase/applnk] Fix XDG menu to avoid KDE4 conflict
Patch13: tdebase-3.5.13.2-fix_xdg_menu.patch
# Patches from Mandriva
Patch101: tdebase-3.5.13.2-vibrate_dialog.patch
@ -107,21 +109,23 @@ Patch104: tdebase-3.5.13.2-kickoff_xdg_dirs.patch
Patch105: tdebase-3.5.13.2-suspend_unmount.patch
Patch106: tdebase-3.5.13.2-bookmark_global_copy.patch
# Experimental patches
Patch201: tdebase-3.5.13.2-kcm_xcursor_applytheme.patch
### Specific patches for RHEL4 (should not go upstream)
## [tdebase] Fix build on RHEL4, detect old libraries without pkg file
Patch201: kdebase-3.5.13-fix_lib_detection.patch
Patch301: kdebase-3.5.13-fix_lib_detection.patch
## [tdebase] Do not build against DBUS-TQT, only DBUS and DBUS-QT
Patch202: kdebase-3.5.13.2-build_without_dbustqt.patch
Patch302: kdebase-3.5.13.2-build_without_dbustqt.patch
## [tdebase] Do not build against ConsoleKit
Patch203: kdebase-3.5.13-build_without_consolekit.patch
Patch303: kdebase-3.5.13-build_without_consolekit.patch
## [tdebase] Add WITH_COMPOSITE option to CMakeLists.txt
Patch204: kdebase-3.5.13.2-add_disable_composite_option.patch
Patch304: kdebase-3.5.13.2-add_disable_composite_option.patch
## [tdebase] Downgrade halbackend to support Hal 0.4
Patch205: kdebase-3.5.13-support_hal_04.patch
Patch305: kdebase-3.5.13-support_hal_04.patch
## [tdebase] Other(s) FTBFS ...
Patch206: kdebase-3.5.13-fix_rhel4_compilation.patch
Patch306: kdebase-3.5.13-fix_rhel4_compilation.patch
### Distribution-specific settings ###
@ -300,12 +304,12 @@ Requires: opensuse-manuals_en
%endif
BuildRequires: cmake >= 2.8
BuildRequires: trinity-tqtinterface-devel >= %{version}
BuildRequires: trinity-arts-devel >= %{version}
BuildRequires: trinity-tdelibs-devel >= %{version}
BuildRequires: qt%{?_qt_suffix}-devel
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: qt%{?_qt_suffix}-devel
BuildRequires: openssl-devel
BuildRequires: audiofile-devel
BuildRequires: alsa-lib-devel
@ -421,10 +425,10 @@ BuildRequires: nas-devel
%if 0%{?rhel} == 4
# Dbus bindings were rebuilt with Qt support
BuildRequires: dbus-devel >= 0.22-12.EL.9p1
Requires: dbus-qt
Requires: dbus-qt >= 0.22-12.EL.9p1
%else
BuildRequires: trinity-dbus-tqt-devel
Requires: trinity-dbus-tqt >= %{version}
BuildRequires: trinity-dbus-tqt-devel >= %{tde_version}
Requires: trinity-dbus-tqt >= %{tde_version}
%endif
%if 0%{?fedora} >= 17
@ -439,7 +443,7 @@ BuildRequires: %{_lib}jack-devel
BuildRequires: jack-audio-connection-kit-devel
%endif
# LIBART support
# LIBART_LGPL support
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} >= 5
%define with_libart 1
%if 0%{?mgaversion} || 0%{?mdkversion}
@ -542,9 +546,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: qt%{?_qt_suffix}
Requires: openssl
@ -681,7 +685,7 @@ Such as the desktop right-click-"Create New" list
%{tde_datadir}/locale/l10n/*/entry.desktop
%{tde_datadir}/locale/l10n/*/flag.png
%{tde_datadir}/sounds/pop.wav
%{tde_datadir}/templates
%{tde_datadir}/templates/
%post runtime-data-common
for f in hicolor ; do
@ -781,8 +785,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}/libkdeinit_kate.la
%{tde_libdir}/libkdeinit_kate.so
%{tde_tdeappdir}/kate.desktop
%{tde_datadir}/apps/kate/
%{tde_datadir}/apps/kconf_update/kate-2.4.upd
@ -848,8 +852,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}/libkdeinit_kwrite.la
%{tde_libdir}/libkdeinit_kwrite.so
%{tde_tdeappdir}/kwrite.desktop
%{tde_datadir}/apps/kwrite/kwriteui.rc
%{tde_datadir}/icons/hicolor/*/apps/kwrite.png
@ -939,8 +943,6 @@ plugdev group.
%{tde_tdelibdir}/kcm_fontinst.so
%{tde_tdelibdir}/kcm_fonts.la
%{tde_tdelibdir}/kcm_fonts.so
#%{tde_tdelibdir}/kcm_hwmanager.la
#%{tde_tdelibdir}/kcm_hwmanager.so
%{tde_tdelibdir}/kcm_icons.la
%{tde_tdelibdir}/kcm_icons.so
%{tde_tdelibdir}/kcm_info.la
@ -953,8 +955,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_kdm.la
%{tde_tdelibdir}/kcm_kdm.so
%{tde_tdelibdir}/kcm_kdnssd.so
%{tde_tdelibdir}/kcm_kdnssd.la
%{tde_tdelibdir}/kcm_keys.la
@ -1017,10 +1019,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}/libkdeinit_kaccess.la
%{tde_libdir}/libkdeinit_kaccess.so
%{tde_libdir}/libkdeinit_kcontrol.la
%{tde_libdir}/libkdeinit_kcontrol.so
%{tde_libdir}/libkfontinst.so.*
%{tde_tdeappdir}/arts.desktop
%{tde_tdeappdir}/background.desktop
@ -1062,7 +1064,7 @@ plugdev group.
%{tde_tdeappdir}/kcmusb.desktop
%{tde_tdeappdir}/kcmview1394.desktop
%{tde_tdeappdir}/KControl.desktop
%{tde_tdeappdir}/[kt]dm.desktop
%{tde_tdeappdir}/kdm.desktop
%{tde_tdeappdir}/keys.desktop
%{tde_tdeappdir}/kfontview.desktop
%{tde_tdeappdir}/khtml_behavior.desktop
@ -1193,7 +1195,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}/kdmtsak
%{tde_bindir}/tsak
%endif
%{tde_bindir}/kdebugdialog
@ -1209,8 +1211,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}/kdesu
%attr(0755,root,root) %{tde_bindir}/kdesud
%{tde_bindir}/kdialog
%{tde_bindir}/khotkeys
%{tde_bindir}/knetattach
@ -1240,14 +1242,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}/libkdeinit_kcminit.la
%{tde_libdir}/libkdeinit_kcminit.so
%{tde_libdir}/libkdeinit_kcminit_startup.la
%{tde_libdir}/libkdeinit_kcminit_startup.so
%{tde_libdir}/libkdeinit_khotkeys.la
%{tde_libdir}/libkdeinit_khotkeys.so
%{tde_libdir}/libkdeinit_kxkb.la
%{tde_libdir}/libkdeinit_kxkb.so
%{tde_libdir}/libkhotkeys_shared.so.*
%{tde_tdeappdir}/keyboard.desktop
%{tde_tdeappdir}/keyboard_layout.desktop
@ -1268,7 +1270,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/kdesu/
%{tde_tdedocdir}/HTML/en/knetattach/
%{tde_tdedocdir}/HTML/en/kxkb/
@ -1376,7 +1378,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/kdmconfig.png
%{tde_datadir}/icons/crystalsvg/*/apps/key_bindings.png
%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.png
%{tde_datadir}/icons/crystalsvg/*/apps/kscreensaver.png
@ -1576,17 +1578,11 @@ needed for a basic TDE desktop installation.
%{tde_datadir}/sounds/
%{tde_datadir}/wallpapers/*
%if "%{tde_prefix}" != "/usr"
%{tde_prefix}/etc/xdg/menus/applications-merged/kde-essential.menu
%{tde_prefix}/etc/xdg/menus/kde-information.menu
%{tde_prefix}/etc/xdg/menus/kde-screensavers.menu
%{tde_prefix}/etc/xdg/menus/kde-settings.menu
%else
%{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu
%{_sysconfdir}/xdg/menus/kde-information.menu
%{_sysconfdir}/xdg/menus/kde-screensavers.menu
%{_sysconfdir}/xdg/menus/kde-settings.menu
%endif
# 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
%{tde_tdedocdir}/HTML/en/kcontrol/
%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/
@ -1796,7 +1792,6 @@ update-desktop-database %{tde_appdir} 2> /dev/null || :
%postun tdeio-plugins
update-desktop-database %{tde_appdir} 2> /dev/null || :
##########
%package -n trinity-kdepasswd
@ -1814,11 +1809,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/kdm/pics/users/default1.png
%exclude %{tde_datadir}/apps/kdm/pics/users/default2.png
%exclude %{tde_datadir}/apps/kdm/pics/users/default3.png
%exclude %{tde_datadir}/apps/kdm/pics/users/root1.png
%{tde_datadir}/apps/kdm/pics/users/*.png
%{tde_datadir}/config.kcfg/kcm_useraccount.kcfg
%{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg
@ -1845,7 +1840,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}/kdeprintfax
%{tde_bindir}/kjobviewer
%{tde_bindir}/kprinter
%{tde_tdelibdir}/kcm_printmgr.la
@ -1856,19 +1851,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}/libkdeprint_part.la
%{tde_tdelibdir}/libkdeprint_part.so
%{tde_libdir}/libkdeinit_kjobviewer.la
%{tde_libdir}/libkdeinit_kjobviewer.so
%{tde_libdir}/libkdeinit_kprinter.la
%{tde_libdir}/libkdeinit_kprinter.so
%{tde_tdeappdir}/kdeprintfax.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/kdeprint_part.rc
%{tde_datadir}/apps/kdeprint/
%{tde_datadir}/apps/kdeprintfax/
%{tde_datadir}/apps/kjobviewer/
%{tde_datadir}/apps/kdeprint_part/kdeprint_part.rc
%{tde_datadir}/icons/hicolor/*/apps/kdeprintfax.png
%{tde_datadir}/icons/hicolor/*/apps/kjobviewer.png
%{tde_datadir}/icons/hicolor/*/apps/printmgr.png
@ -1885,7 +1880,7 @@ Installation of smbclient will make you able to use smb shared printers.
%{tde_datadir}/services/kdeprint_part.desktop
%{tde_datadir}/services/print.protocol
%{tde_datadir}/services/printdb.protocol
%{tde_tdedocdir}/HTML/en/[kt]deprint/
%{tde_tdedocdir}/HTML/en/kdeprint/
%post -n trinity-tdeprint
/sbin/ldconfig || :
@ -1932,8 +1927,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}/libkdeinit_kdesktop.la
%{tde_libdir}/libkdeinit_kdesktop.so
%{tde_datadir}/apps/kdesktop/
%{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop
%{tde_datadir}/autostart/kdesktop.desktop
@ -2024,24 +2019,24 @@ 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}/genkdmconf
%{tde_bindir}/kdm
%{tde_bindir}/kdm_config
%{tde_bindir}/kdmctl
%{tde_bindir}/kdm_greet
%{tde_bindir}/krootimage
%{tde_datadir}/apps/[kt]dm/pics/kdelogo.png
%{tde_datadir}/apps/[kt]dm/pics/kdelogo-crystal.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/kdm/pics/kdelogo.png
%{tde_datadir}/apps/kdm/pics/kdelogo-crystal.png
%{tde_datadir}/apps/kdm/pics/shutdown.jpg
%{tde_datadir}/apps/kdm/pics/users/default1.png
%{tde_datadir}/apps/kdm/pics/users/default2.png
%{tde_datadir}/apps/kdm/pics/users/default3.png
%{tde_datadir}/apps/kdm/pics/users/root1.png
%{tde_datadir}/apps/kdm/sessions/*.desktop
%{tde_datadir}/apps/kdm/themes/
%{tde_datadir}/config/kdm
%{_sysconfdir}/trinity/[kt]dm/
%{tde_tdedocdir}/HTML/en/[kt]dm/
%{_sysconfdir}/trinity/kdm/
%{tde_tdedocdir}/HTML/en/kdm/
%if 0%{?suse_version} == 0
%{_sysconfdir}/pam.d/kdm-trinity
%{_sysconfdir}/pam.d/kdm-trinity-np
@ -2188,8 +2183,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}/libkdeinit_khelpcenter.la
%{tde_libdir}/libkdeinit_khelpcenter.so
%{tde_tdeappdir}/Help.desktop
%{tde_datadir}/apps/khelpcenter/
%{tde_datadir}/config.kcfg/khelpcenter.kcfg
@ -2247,8 +2242,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_kdeprint.la
%{tde_tdelibdir}/kickermenu_kdeprint.so
%{tde_tdelibdir}/kickermenu_konqueror.la
%{tde_tdelibdir}/kickermenu_konqueror.so
%{tde_tdelibdir}/kickermenu_konsole.la
@ -2287,12 +2282,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}/libkdeinit_appletproxy.la
%{tde_libdir}/libkdeinit_appletproxy.so
%{tde_libdir}/libkdeinit_extensionproxy.la
%{tde_libdir}/libkdeinit_extensionproxy.so
%{tde_libdir}/libkdeinit_kicker.la
%{tde_libdir}/libkdeinit_kicker.so
%{tde_libdir}/libkickermain.so.*
%{tde_libdir}/libtaskbar.so.*
%{tde_libdir}/libtaskmanager.so.*
@ -2400,8 +2395,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}/libkdeinit_klipper.la
%{tde_libdir}/libkdeinit_klipper.so
%{tde_tdeappdir}/klipper.desktop
%{tde_datadir}/apps/kconf_update/klipper-1-2.pl
%{tde_datadir}/apps/kconf_update/klipper-trinity1.sh
@ -2447,10 +2442,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}/libkdeinit_kcontroledit.la
%{tde_libdir}/libkdeinit_kcontroledit.so
%{tde_libdir}/libkdeinit_kmenuedit.la
%{tde_libdir}/libkdeinit_kmenuedit.so
%{tde_tdeappdir}/kmenuedit.desktop
%{tde_datadir}/applnk/System/kmenuedit.desktop
%{tde_datadir}/apps/kcontroledit/
@ -2537,12 +2532,12 @@ ever launching another application.
%{tde_tdelibdir}/konqueror.so
%{tde_tdelibdir}/libkhtmlkttsdplugin.la
%{tde_tdelibdir}/libkhtmlkttsdplugin.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}/libkdeinit_keditbookmarks.la
%{tde_libdir}/libkdeinit_keditbookmarks.so
%{tde_libdir}/libkdeinit_kfmclient.la
%{tde_libdir}/libkdeinit_kfmclient.so
%{tde_libdir}/libkdeinit_konqueror.la
%{tde_libdir}/libkdeinit_konqueror.so
%{tde_libdir}/libkonqsidebarplugin.so.*
%{tde_tdeappdir}/Home.desktop
%{tde_tdeappdir}/kcmhistory.desktop
@ -2684,7 +2679,7 @@ Requires: %{name}-data = %{version}-%{release}
%description -n trinity-konsole
Konsole is an X terminal emulation which provides a command-line interface
(CLI) while using the graphical K Desktop Environment. Konsole helps to
(CLI) while using the graphical Trinity Desktop Environment. Konsole helps to
better organize user's desktop by containing multiple sessions in a single
window (a less cluttered desktop).
@ -2708,8 +2703,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}/libkdeinit_konsole.la
%{tde_libdir}/libkdeinit_konsole.so
%{tde_tdeappdir}/konsole.desktop
%{tde_tdeappdir}/konsolesu.desktop
%{tde_datadir}/applnk/.hidden/kcmkonsole.desktop
@ -2821,15 +2816,15 @@ Requires: %{name}-data = %{version}-%{release}
Requires: trinity-twin = %{version}-%{release}
%description -n trinity-ksmserver
This package contains the KDE session manager. It is responsible for
This package contains the TDE session manager. It is responsible for
restoring your TDE session on login. It is also needed to properly
start a KDE session. It registers KDE with X display managers, and
provides the 'starttde' command, for starting an X session with KDE
start a TDE session. It registers KDE with X display managers, and
provides the 'starttde' command, for starting an X session with TDE
from the console.
If you are running TDE for the first time for a certain user,
kpersonalizer is used to help with setup. If it is not present,
KDE will start, but many good defaults will not be set.
TDE will start, but many good defaults will not be set.
%files -n trinity-ksmserver
%defattr(-,root,root,-)
@ -2838,8 +2833,8 @@ KDE will start, but many good defaults will not be set.
%{tde_bindir}/migratekde3
%{tde_tdelibdir}/ksmserver.la
%{tde_tdelibdir}/ksmserver.so
%{tde_libdir}/lib[kt]deinit_ksmserver.la
%{tde_libdir}/lib[kt]deinit_ksmserver.so
%{tde_libdir}/libkdeinit_ksmserver.la
%{tde_libdir}/libkdeinit_ksmserver.so
%{tde_datadir}/apps/kconf_update/ksmserver.upd
%{tde_datadir}/apps/kconf_update/move_session_config.sh
%{tde_datadir}/apps/ksmserver/pics/shutdownkonq.png
@ -2851,9 +2846,15 @@ KDE will start, but many good defaults will not be set.
%post -n trinity-ksmserver
/sbin/ldconfig || :
%if 0%{?mdkversion} || 0%{?mgaversion}
fndSession
%endif
%postun -n trinity-ksmserver
/sbin/ldconfig || :
%if 0%{?mdkversion} || 0%{?mgaversion}
fndSession
%endif
##########
@ -3049,45 +3050,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}/kconf_update_bin/[kt]win_update_default_rules
%{tde_libdir}/kconf_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}/kwin
%{tde_bindir}/kwin_killer_helper
#%{tde_bindir}/kwin_resumer_helper
%{tde_bindir}/kwin_rules_dialog
%{tde_libdir}/kconf_update_bin/kwin_update_default_rules
%{tde_libdir}/kconf_update_bin/kwin_update_window_settings
%{tde_tdelibdir}/kcm_kwin*.la
%{tde_tdelibdir}/kcm_kwin*.so
%{tde_tdelibdir}/kwin*.la
%{tde_tdelibdir}/kwin*.so
%{tde_libdir}/libkdecorations.so.*
%{tde_libdir}/libkdeinit_kwin_rules_dialog.la
%{tde_libdir}/libkdeinit_kwin_rules_dialog.so
%{tde_libdir}/libkdeinit_kwin.la
%{tde_libdir}/libkdeinit_kwin.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/kconf_update/[kt]win3_plugin.pl
%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.upd
%{tde_datadir}/apps/kconf_update/[kt]win_focus1.sh
%{tde_datadir}/apps/kconf_update/[kt]win_focus1.upd
%{tde_datadir}/apps/kconf_update/[kt]win_focus2.sh
%{tde_datadir}/apps/kconf_update/[kt]win_focus2.upd
%{tde_datadir}/apps/kconf_update/[kt]win_fsp_workarounds_1.upd
%{tde_datadir}/apps/kconf_update/[kt]winiconify.upd
%{tde_datadir}/apps/kconf_update/[kt]winsticky.upd
%{tde_datadir}/apps/kconf_update/[kt]win.upd
%{tde_datadir}/apps/kconf_update/[kt]winupdatewindowsettings.upd
%{tde_tdeappdir}/kwindecoration.desktop
%{tde_tdeappdir}/kwinoptions.desktop
%{tde_tdeappdir}/kwinrules.desktop
%{tde_datadir}/applnk/.hidden/kwinactions.desktop
%{tde_datadir}/applnk/.hidden/kwinadvanced.desktop
%{tde_datadir}/applnk/.hidden/kwinfocus.desktop
%{tde_datadir}/applnk/.hidden/kwinmoving.desktop
%{tde_datadir}/applnk/.hidden/kwintranslucency.desktop
%{tde_datadir}/apps/kconf_update/kwin3_plugin.pl
%{tde_datadir}/apps/kconf_update/kwin3_plugin.upd
%{tde_datadir}/apps/kconf_update/kwin_focus1.sh
%{tde_datadir}/apps/kconf_update/kwin_focus1.upd
%{tde_datadir}/apps/kconf_update/kwin_focus2.sh
%{tde_datadir}/apps/kconf_update/kwin_focus2.upd
%{tde_datadir}/apps/kconf_update/kwin_fsp_workarounds_1.upd
%{tde_datadir}/apps/kconf_update/kwiniconify.upd
%{tde_datadir}/apps/kconf_update/kwinsticky.upd
%{tde_datadir}/apps/kconf_update/kwin.upd
%{tde_datadir}/apps/kconf_update/kwinupdatewindowsettings.upd
%{tde_datadir}/apps/kconf_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/kwin/
%{tde_datadir}/config.kcfg/kwin.kcfg
%{tde_datadir}/icons/crystalsvg/*/apps/kwin.png
%{tde_tdedocdir}/HTML/en/kompmgr/
%post -n trinity-twin
@ -3118,7 +3119,7 @@ Requires: trinity-twin = %{version}-%{release}
%files -n trinity-twin-devel
%defattr(-,root,root,-)
%{tde_tdeincludedir}/[kt]win/
%{tde_tdeincludedir}/kwin/
%{tde_tdeincludedir}/kcommondecoration.h
%{tde_tdeincludedir}/kdecoration.h
%{tde_tdeincludedir}/kdecoration_p.h
@ -3248,21 +3249,15 @@ Windows and Samba shares.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .openterminalhere
%patch2 -p1 -b .startmenuicon
%patch3 -p1 -b .displayconfigtranslation
%patch4 -p1 -b .kickoffdefaultsfav
%patch5 -p1 -b .konsolewordseps
%patch1 -p1 -b .kdesu_no_ignore
%patch2 -p1 -b .openterminalhere
%if 0%{?rhel} || 0%{?fedora}
%patch3 -p1 -b .Xsession
%endif
%if 0%{?suse_version}
%patch4 -p1 -b .Xsession
%endif
%patch5 -p1 -b .tdeicon
%patch6 -p1 -b .xtestsupport
%patch7 -p1 -b .pid
%patch8 -p1 -b .kickoff_default_favs
%patch9 -p1 -b .translation
%patch10 -p1 -b .kcmxcursor
%patch11 -p1 -b .tdmpid
%patch12 -p1 -b .kdesunoignorebutton
%patch13 -p1 -b .xdgmenu
%patch101 -p1 -b .vibrate_dialog
%patch102 -p1 -b .kcontrol_menu_entry
@ -3271,14 +3266,16 @@ Windows and Samba shares.
%patch105 -p1 -b .suspend_unmount
%patch106 -p1 -b .bookmark_global_copy
%patch201 -p1 -b .kcmxcursor
%if 0%{?rhel} == 4
%patch201 -p1 -b .libdetect
%patch202 -p1 -b .dbustqt
%patch203 -p1 -b .consolekit
%patch204 -p1 -b .composite
#patch205 -p1 -b .hal04
%patch206 -p1 -b .rhel4
%patch301 -p1 -b .libdetect
%patch302 -p1 -b .dbustqt
%patch303 -p1 -b .consolekit
%patch304 -p1 -b .composite
#patch305 -p1 -b .hal04
%patch306 -p1 -b .rhel4
%endif
# Applies an optional distro-specific graphical theme
@ -3307,17 +3304,22 @@ Windows and Samba shares.
%__sed -i "kdm/config.def" \
-e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |"
# TDE default directory in 'startkde' script (KDEDIR)
%__sed -i "startkde" \
-e "s|/opt/trinity|%{tde_prefix}|g"
# TDE default start button icon
# TDE default directory and icon in startup script
%__sed -i "startkde" \
-e "s|/opt/trinity|%{tde_prefix}|g" \
-e "s|%%{tde_starticon}|%{tde_starticon}|g"
# Xsession script location may vary on some distro
%if 0%{?rhel} || 0%{?fedora}
%__sed -i "kdm/kfrontend/genkdmconf.c" -e "s|/etc/X11/Xsession|/etc/X11/xinit/Xsession|"
%endif
%if 0%{?suse_version}
%__sed -i "kdm/kfrontend/genkdmconf.c" -e "s|/etc/X11/Xsession|/etc/X11/xdm/Xsession|"
%endif
%build
unset QTDIR || : ; . /etc/profile.d/qt3.sh
unset QTDIR; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
@ -3344,14 +3346,20 @@ cd build
%endif
%cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DBIN_INSTALL_DIR="%{tde_bindir}" \
-DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
\
-DWITH_SASL=ON \
-DWITH_LDAP=ON \
-DWITH_SAMBA=ON \
@ -3458,12 +3466,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}
@ -3490,7 +3492,7 @@ EOF
%__install -D -m 644 "%{SOURCE7}" "%{?buildroot}/usr/lib/systemd/system/tdm.service"
%endif
# Symlink KDM configuration
# Symlink TDM configuration
%__mkdir_p "%{?buildroot}%{tde_datadir}/config"
%__ln_s "%{_sysconfdir}/trinity/kdm" "%{?buildroot}%{tde_datadir}/config/kdm"
@ -3510,5 +3512,10 @@ EOF
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
- Fix XDG menu
- Fix Mageia/Mandriva specific icons
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2

@ -3,7 +3,9 @@
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
%define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -20,8 +22,8 @@
Name: trinity-tdegames
Summary: Trinity Desktop Environment - Games
Version: 3.5.13.2
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPLv2
Group: Amusements/Games
@ -38,11 +40,11 @@ Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: autoconf automake libtool m4
BuildRequires: libtool
BuildRequires: tqtinterface-devel >= %{version}
BuildRequires: trinity-arts-devel >= %{version}
BuildRequires: trinity-tdelibs-devel >= %{version}
BuildRequires: trinity-tdemultimedia-devel >= %{version}
BuildRequires: qt3-devel
BuildRequires: tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdemultimedia-devel >= %{tde_version}
BuildRequires: qt3-devel >= 3.3.8.d
Obsoletes: trinity-kdegames < %{version}-%{release}
Provides: trinity-kdegames = %{version}-%{release}
@ -1546,21 +1548,23 @@ if [ -d "/usr/X11R6" ]; then
fi
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
--enable-new-ldflags \
--disable-dependency-tracking \
--disable-rpath \
--enable-final \
--disable-debug \
--disable-warnings \
--enable-closure \
--disable-setgid \
--with-extra-includes=%{tde_includedir}/tqt
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \
\
--with-extra-includes=%{tde_includedir}/tqt \
\
--disable-setgid
# WTF hack for RHEL4
%if 0%{?rhel} == 4
@ -1576,28 +1580,14 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
# locale's
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
done
popd
fi
done
fi
%clean
%__rm -rf %{buildroot}
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2

@ -3,7 +3,9 @@
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
%define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -19,8 +21,9 @@
Name: trinity-tdegraphics
Version: 3.5.13.2
Release: 1%{?dist}%{?_variant}
Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPL
Summary: Trinity Desktop Environment - Graphics Applications
@ -33,9 +36,9 @@ URL: http://www.trinitydesktop.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}.tar.gz
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
# TDE 3.5.13
# TDE
## RHEL / Fedora specific patches
# [kdegraphics/kpdf/xpdf] Disable 'mkstemps' support for RHEL5
Patch3: kdegraphics-3.5.13-xpdf_disable_mkstemps.patch
@ -1228,7 +1231,7 @@ Requires: %{name}-libpoppler-tqt-devel = %{version}-%{release}
##########
%prep
%setup -q
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%if 0%{?rhel} && 0%{?rhel} <= 5
%patch3 -p1 -b .mkstemps
@ -1262,13 +1265,19 @@ cd build
%endif
%cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
-DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
-DCMAKE_SKIP_RPATH="OFF" \
\
%{?with_t1lib:-DWITH_T1LIB=ON} \
%{?with_paper:-DWITH_LIBPAPER=ON} \
-DWITH_TIFF=ON \
@ -1287,23 +1296,6 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build
# locale's
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
done
popd
fi
done
fi
# rpmdocs
for dir in k* ; do
for file in AUTHORS ChangeLog README TODO ; do
@ -1320,5 +1312,8 @@ done
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2

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

@ -3,7 +3,9 @@
%define _variant .opt
%endif
# TDE 3.5.13 specific variables
%define tde_version 3.5.13.2
# TDE specific variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -17,8 +19,8 @@
%define _docdir %{tde_docdir}
Name: trinity-tdelibs
Version: 3.5.13.2
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPL
Summary: TDE Libraries
Group: Environment/Libraries
@ -31,9 +33,12 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
# Fix categories in T-menu
Patch1: tdelibs-3.5.13.2-fix_xdg_menu.patch
Patch1: tdelibs-3.5.13.2-xdg_dirs_set_path.patch
Patch2: tdelibs-3.5.13.2-cups_by_default.patch
# Patches from Mandriva
Patch101: tdelibs-3.5.13.2-xdg_dirs_set_path.patch
Patch102: tdelibs-3.5.13.2-cups_by_default.patch
Obsoletes: tdelibs < %{version}-%{release}
Provides: tdelibs = %{version}-%{release}
@ -45,13 +50,12 @@ Provides: trinity-kdelibs-apidocs = %{version}-%{release}
BuildRequires: cmake >= 2.8
BuildRequires: libtool
BuildRequires: qt3-devel
BuildRequires: trinity-tqtinterface-devel >= %{version}
BuildRequires: trinity-arts-devel >= %{version}
BuildRequires: qt3-devel >= 3.3.8.d
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: krb5-devel
BuildRequires: libxslt-devel
BuildRequires: cups-devel
BuildRequires: libart_lgpl-devel
BuildRequires: openssl-devel
BuildRequires: gcc-c++
BuildRequires: alsa-lib-devel
@ -61,6 +65,9 @@ BuildRequires: glib2-devel
# LUA support are not ready yet
#BuildRequires: lua-devel
# LIBART_LGPL support
BuildRequires: libart_lgpl-devel
# ASPELL support
BuildRequires: aspell
BuildRequires: aspell-devel
@ -124,7 +131,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
@ -189,9 +196,21 @@ BuildRequires: xz-devel
%endif
%endif
Requires: trinity-tqtinterface >= %{version}
Requires: trinity-arts >= %{version}
# Certificates support
%if 0%{?rhel} || 0%{?fedora}
%define cacert %{_sysconfdir}/ssl/certs/ca-certificates.crt
Requires: ca-certificates
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
%define cacert %{_sysconfdir}/ssl/certs/ca-bundle.crt
Requires: openssl
%endif
# Trinity dependencies
Requires: qt3 >= 3.3.8.d
Requires: trinity-tqtinterface >= %{tde_version}
Requires: trinity-arts >= %{tde_version}
%description
Libraries for the Trinity Desktop Environment:
@ -231,6 +250,7 @@ kimgio (image manipulation).
%{tde_bindir}/kdeinit_shutdown
%{tde_bindir}/kdeinit_wrapper
%{tde_bindir}/kdesu_stub
%{tde_bindir}/kdetcompmgr
%{tde_bindir}/kdontchangethehostname
%{tde_bindir}/kdostartupconfig
%{tde_bindir}/kfile
@ -259,10 +279,14 @@ kimgio (image manipulation).
%{tde_bindir}/start_kdeinit
%{tde_bindir}/start_kdeinit_wrapper
%attr(4755,root,root) %{tde_bindir}/kgrantpty
%{tde_bindir}/checkXML
%{tde_bindir}/ksvgtopng
%{tde_bindir}/kunittestmodrunner
%{tde_bindir}/preparetips
%{tde_tdelibdir}/*
%{tde_libdir}/lib*.so.*
%{tde_libdir}/lib[kt]deinit_*.la
%{tde_libdir}/lib[kt]deinit_*.so
%{tde_libdir}/libkdeinit_*.la
%{tde_libdir}/libkdeinit_*.so
%{tde_datadir}/applications/kde/*.desktop
%{tde_datadir}/autostart/kab2kabc.desktop
%{tde_datadir}/applnk/kio_iso.desktop
@ -270,48 +294,19 @@ kimgio (image manipulation).
%exclude %{tde_datadir}/apps/ksgmltools2/
%config(noreplace) %{tde_datadir}/config/*
%{tde_datadir}/emoticons/*
%{tde_datadir}/icons/crystalsvg/
%{tde_datadir}/icons/default.kde
%{_sysconfdir}/alternatives/default.kde
%{tde_datadir}/icons/hicolor/index.theme
%{tde_datadir}/locale/all_languages
%{tde_datadir}/mimelnk/magic
%{tde_datadir}/mimelnk/*/*.desktop
%{tde_datadir}/services/*
%{tde_datadir}/servicetypes/*
%{tde_datadir}/icons/crystalsvg/
%{tde_tdedocdir}/HTML/en/kspell/
# remove conflicts with kdelibs-4
%if "%{?tde_prefix}" != "/usr"
%{tde_bindir}/checkXML
%{tde_bindir}/ksvgtopng
%{tde_bindir}/kunittestmodrunner
%{tde_bindir}/preparetips
%{tde_datadir}/icons/hicolor/index.theme
%{tde_datadir}/locale/all_languages
%{tde_tdedocdir}/HTML/en/common/*
%{_sysconfdir}/ld.so.conf.d/trinity.conf
%else
%exclude %{tde_bindir}/checkXML
%exclude %{tde_bindir}/ksvgtopng
%exclude %{tde_bindir}/kunittestmodrunner
%exclude %{tde_bindir}/preparetips
%exclude %{tde_datadir}/config/colors
%exclude %{tde_datadir}/config/kdebug.areas
%exclude %{tde_datadir}/config/kdebugrc
%exclude %{tde_datadir}/config/ksslcalist
%exclude %{tde_datadir}/config/ui/ui_standards.rc
%exclude %{tde_datadir}/icons/hicolor/index.theme
%exclude %{tde_datadir}/locale/all_languages
%exclude %{tde_tdedocdir}/HTML/en/common/*
%endif
# Avoid conflict with 'redhat-menus' package
%if "%{tde_prefix}" == "/usr"
%{_sysconfdir}/xdg/menus/kde-applications.menu
%else
%{tde_prefix}/etc/xdg/menus/kde-applications.menu
%endif
%{tde_tdedocdir}/HTML/en/kspell/
# New in TDE 3.5.13
%{tde_bindir}/kdetcompmgr
%{_sysconfdir}/xdg/menus/tde-applications.menu
%{_sysconfdir}/ld.so.conf.d/trinity.conf
%pre
# TDE Bug #1074
@ -321,19 +316,6 @@ fi
%post
/sbin/ldconfig || :
# Sets default theme as 'crystalsvg'
update-alternatives --install \
%{tde_datadir}/icons/default.kde \
default.kde \
%{tde_datadir}/icons/crystalsvg \
10 || :
%preun
if [ $1 -eq 0 ]; then
update-alternatives --remove \
default.kde \
%{tde_datadir}/icons/crystalsvg || :
fi
%postun
/sbin/ldconfig || :
@ -364,11 +346,9 @@ applications for TDE.
%{tde_libdir}/*.la
%{tde_libdir}/*.so
%{tde_libdir}/*.a
%exclude %{tde_libdir}/lib[kt]deinit_*.la
%exclude %{tde_libdir}/lib[kt]deinit_*.so
# New in TDE 3.5.13
%{tde_datadir}/cmake/[kt]delibs.cmake
%exclude %{tde_libdir}/libkdeinit_*.la
%exclude %{tde_libdir}/libkdeinit_*.so
%{tde_datadir}/cmake/kdelibs.cmake
%post devel
/sbin/ldconfig || :
@ -386,12 +366,13 @@ applications for TDE.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .xdg_path
%patch2 -p1 -b .cups_by_default
%patch1 -p1 -b .xdg
%patch101 -p1 -b .xdg_path
%patch102 -p1 -b .cups_by_default
%build
unset QTDIR || : ; . /etc/profile.d/qt3.sh
unset QTDIR; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
@ -412,6 +393,12 @@ cd build
%endif
%cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DBIN_INSTALL_DIR="%{tde_bindir}" \
-DDOC_INSTALL_DIR="%{tde_docdir}" \
@ -419,7 +406,8 @@ cd build
-DLIB_INSTALL_DIR="%{tde_libdir}" \
-DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
-DCMAKE_SKIP_RPATH=OFF \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_ARTS=ON \
-DWITH_ALSA=ON \
-DWITH_LIBART=ON \
@ -434,9 +422,9 @@ cd build
%{?with_avahi:-DWITH_AVAHI=ON} \
%{?!with_pcre:-DWITH_PCRE=OFF} \
%{?!with_inotify:-DWITH_INOTIFY=OFF} \
%{?!with_gamin:-DWITH_GAMIN=OFF} %{?with_gamin:-DWITH_GAMIN=ON} \
%{?!with_gamin:-DWITH_GAMIN=OFF} \
-DWITH_SUDO_KDESU_BACKEND=OFF \
%{?with_lzma:-DWITH_LZMA=ON} %{?!with_lzma:-DWITH_LZMA=OFF} \
%{?!with_lzma:-DWITH_LZMA=OFF} \
-DWITH_ASPELL=ON \
%{?with_hspell:-DWITH_HSPELL=ON} \
..
@ -455,27 +443,21 @@ 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/kde-applications.menu"
%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg"
%else
%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu"
# Use system-wide CA certificate
%if "%{?cacert}" != ""
%__rm -f "%{?buildroot}%{tde_datadir}/apps/kssl/ca-bundle.crt"
%__ln_s "%{cacert}" "%{?buildroot}%{tde_datadir}/apps/kssl/ca-bundle.crt"
%endif
# Makes 'default.kde' theme an alternative with 'crystalsvg-updated'
%__rm -f "%{?buildroot}%{tde_datadir}/icons/default.kde"
%__ln_s "%{_sysconfdir}/alternatives/default.kde" "%{?buildroot}%{tde_datadir}/icons/default.kde"
%__mkdir_p "%{?buildroot}%{_sysconfdir}/alternatives"
%__ln_s "%{tde_datadir}/icons/crystalsvg" "%{?buildroot}%{_sysconfdir}/alternatives/default.kde"
%clean
%__rm -rf "%{?buildroot}"
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
- Fix XDG menu
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2

@ -0,0 +1,250 @@
diff -Nuar trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/kde-multimedia-music.directory trinity-tdemultimedia-3.5.13.2/kappfinder-data/kde-multimedia-music.directory
--- trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/kde-multimedia-music.directory 2013-07-28 16:37:31.827222470 +0200
+++ trinity-tdemultimedia-3.5.13.2/kappfinder-data/kde-multimedia-music.directory 1970-01-01 01:00:00.000000000 +0100
@@ -1,89 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Music
-Name[br]=Sonerezh
-Name[bs]=Muzika
-Name[ca]=Música
-Name[da]=Musik
-Name[el]=Μουσική
-Name[eo]=Muziko
-Name[es]=Musica
-Name[et]=Muusika
-Name[eu]=Musika
-Name[fa]=موسیقی
-Name[fi]=Musiikki
-Name[fr]=Musique
-Name[ga]=Ceol
-Name[gl]=Música
-Name[he]=מוזיקה
-Name[hu]=Zene
-Name[is]=Tónlist
-Name[it]=Musica
-Name[ja]=音楽
-Name[km]=តន្ត្រី
-Name[lt]=Muzika
-Name[nb]=Musikk
-Name[ne]=सङ्गित
-Name[nl]=Muziek
-Name[nn]=Musikk
-Name[pa]=ਸੰਗੀਤ
-Name[pl]=Muzyka
-Name[pt]=Música
-Name[pt_BR]=Música
-Name[sk]=Hudba
-Name[sl]=Glasba
-Name[sr]=Музика
-Name[sr@Latn]=Muzika
-Name[sv]=Musik
-Name[tr]=Müzik
-Name[uk]=Музика
-Name[zh_CN]=音乐
-Name[zh_HK]=音樂
-GenericName=Professional Audio
-GenericName[bg]=Професионално аудио
-GenericName[bs]=Profesionalni audio
-GenericName[ca]=Àudio professional
-GenericName[cs]=Profesionální zvuk
-GenericName[da]=Professionel lyd
-GenericName[el]=Επαγγελματικός ήχος
-GenericName[es]=Audio profesional
-GenericName[et]=Professionaalne audio
-GenericName[eu]=Audio profesionala
-GenericName[fa]=صوتی حرفه‌ای
-GenericName[fi]=Ammattilaisääni
-GenericName[fr]=Audio professionnel
-GenericName[ga]=Fuaim Phroifisiúnta
-GenericName[gl]=Son Profesional
-GenericName[he]=שמע מקצועי
-GenericName[hu]=Professzinonális minőségű hanganyag
-GenericName[is]=Atvinnumannahljóð
-GenericName[it]=Audio professionale
-GenericName[ja]=プロフェッショナルオーディオ
-GenericName[kk]=Кәсіпқой Аудио
-GenericName[km]=អូឌីយ៉ូ​ឯកទេស
-GenericName[ko]=전문가 오디오
-GenericName[lt]=Profesionalus audio
-GenericName[mk]=Професионално аудио
-GenericName[nb]=Profesjonell lyd
-GenericName[nds]=Profeschonell Klang
-GenericName[ne]=पेशागत अडियो
-GenericName[nl]=Professionele audio
-GenericName[nn]=Profesjonell lydhandsaming
-GenericName[pa]=ਵਪਾਰਕ ਆਡੀਓ
-GenericName[pl]=Profesjonalne audio
-GenericName[pt]=Áudio Profissional
-GenericName[pt_BR]=Áudio Profissional
-GenericName[ru]=Профессиональное аудио
-GenericName[sk]=Profesionálne audio
-GenericName[sl]=Profesionalni zvok
-GenericName[sr]=Професионални звук
-GenericName[sr@Latn]=Profesionalni zvuk
-GenericName[sv]=Professionellt ljud
-GenericName[th]=โปรแกรมจัดการเสียงสำหรับมืออาชีพ
-GenericName[tr]=Profesyonel Ses
-GenericName[uk]=Професійне аудіо
-GenericName[zh_CN]=专业音频
-GenericName[zh_HK]=專業音效
-GenericName[zh_TW]=專業音效
-Icon=package
-
diff -Nuar trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/kde-multimedia-music.menu trinity-tdemultimedia-3.5.13.2/kappfinder-data/kde-multimedia-music.menu
--- trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/kde-multimedia-music.menu 2013-07-28 16:37:31.827222470 +0200
+++ trinity-tdemultimedia-3.5.13.2/kappfinder-data/kde-multimedia-music.menu 1970-01-01 01:00:00.000000000 +0100
@@ -1,21 +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>
-<Menu>
- <Name>Multimedia</Name>
- <Exclude>
- <Category>Music</Category>
- </Exclude>
- <Menu>
- <Name>Jack and More</Name>
- <Directory>kde-multimedia-music.directory</Directory>
- <Include>
- <And>
- <Category>Music</Category>
- </And>
- </Include>
- </Menu>
-</Menu>
-</Menu>
diff -Nuar trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/Makefile.am trinity-tdemultimedia-3.5.13.2/kappfinder-data/Makefile.am
--- trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/Makefile.am 2013-07-28 16:37:31.827222470 +0200
+++ trinity-tdemultimedia-3.5.13.2/kappfinder-data/Makefile.am 2013-07-28 16:38:07.202464444 +0200
@@ -22,8 +22,8 @@
EXTRA_DIST = $(kappfinder_multimedia_data_DATA)
-xdg_directory_DATA = kde-multimedia-music.directory
+xdg_directory_DATA = tde-multimedia-music.directory
-xdg_mergedmenu_DATA = kde-multimedia-music.menu
+xdg_mergedmenu_DATA = tde-multimedia-music.menu
xdg_mergedmenudir = $(xdg_menudir)/applications-merged
diff -Nuar trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/tde-multimedia-music.directory trinity-tdemultimedia-3.5.13.2/kappfinder-data/tde-multimedia-music.directory
--- trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/tde-multimedia-music.directory 1970-01-01 01:00:00.000000000 +0100
+++ trinity-tdemultimedia-3.5.13.2/kappfinder-data/tde-multimedia-music.directory 2013-06-07 19:26:15.000000000 +0200
@@ -0,0 +1,89 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Music
+Name[br]=Sonerezh
+Name[bs]=Muzika
+Name[ca]=Música
+Name[da]=Musik
+Name[el]=Μουσική
+Name[eo]=Muziko
+Name[es]=Musica
+Name[et]=Muusika
+Name[eu]=Musika
+Name[fa]=موسیقی
+Name[fi]=Musiikki
+Name[fr]=Musique
+Name[ga]=Ceol
+Name[gl]=Música
+Name[he]=מוזיקה
+Name[hu]=Zene
+Name[is]=Tónlist
+Name[it]=Musica
+Name[ja]=音楽
+Name[km]=តន្ត្រី
+Name[lt]=Muzika
+Name[nb]=Musikk
+Name[ne]=सङ्गित
+Name[nl]=Muziek
+Name[nn]=Musikk
+Name[pa]=ਸੰਗੀਤ
+Name[pl]=Muzyka
+Name[pt]=Música
+Name[pt_BR]=Música
+Name[sk]=Hudba
+Name[sl]=Glasba
+Name[sr]=Музика
+Name[sr@Latn]=Muzika
+Name[sv]=Musik
+Name[tr]=Müzik
+Name[uk]=Музика
+Name[zh_CN]=音乐
+Name[zh_HK]=音樂
+GenericName=Professional Audio
+GenericName[bg]=Професионално аудио
+GenericName[bs]=Profesionalni audio
+GenericName[ca]=Àudio professional
+GenericName[cs]=Profesionální zvuk
+GenericName[da]=Professionel lyd
+GenericName[el]=Επαγγελματικός ήχος
+GenericName[es]=Audio profesional
+GenericName[et]=Professionaalne audio
+GenericName[eu]=Audio profesionala
+GenericName[fa]=صوتی حرفه‌ای
+GenericName[fi]=Ammattilaisääni
+GenericName[fr]=Audio professionnel
+GenericName[ga]=Fuaim Phroifisiúnta
+GenericName[gl]=Son Profesional
+GenericName[he]=שמע מקצועי
+GenericName[hu]=Professzinonális minőségű hanganyag
+GenericName[is]=Atvinnumannahljóð
+GenericName[it]=Audio professionale
+GenericName[ja]=プロフェッショナルオーディオ
+GenericName[kk]=Кәсіпқой Аудио
+GenericName[km]=អូឌីយ៉ូ​ឯកទេស
+GenericName[ko]=전문가 오디오
+GenericName[lt]=Profesionalus audio
+GenericName[mk]=Професионално аудио
+GenericName[nb]=Profesjonell lyd
+GenericName[nds]=Profeschonell Klang
+GenericName[ne]=पेशागत अडियो
+GenericName[nl]=Professionele audio
+GenericName[nn]=Profesjonell lydhandsaming
+GenericName[pa]=ਵਪਾਰਕ ਆਡੀਓ
+GenericName[pl]=Profesjonalne audio
+GenericName[pt]=Áudio Profissional
+GenericName[pt_BR]=Áudio Profissional
+GenericName[ru]=Профессиональное аудио
+GenericName[sk]=Profesionálne audio
+GenericName[sl]=Profesionalni zvok
+GenericName[sr]=Професионални звук
+GenericName[sr@Latn]=Profesionalni zvuk
+GenericName[sv]=Professionellt ljud
+GenericName[th]=โปรแกรมจัดการเสียงสำหรับมืออาชีพ
+GenericName[tr]=Profesyonel Ses
+GenericName[uk]=Професійне аудіо
+GenericName[zh_CN]=专业音频
+GenericName[zh_HK]=專業音效
+GenericName[zh_TW]=專業音效
+Icon=package
+
diff -Nuar trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/tde-multimedia-music.menu trinity-tdemultimedia-3.5.13.2/kappfinder-data/tde-multimedia-music.menu
--- trinity-tdemultimedia-3.5.13.2/kappfinder-data.ORI/tde-multimedia-music.menu 1970-01-01 01:00:00.000000000 +0100
+++ trinity-tdemultimedia-3.5.13.2/kappfinder-data/tde-multimedia-music.menu 2013-07-28 16:38:14.396310283 +0200
@@ -0,0 +1,21 @@
+ <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
+ "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
+
+<Menu>
+<Name>Applications</Name>
+<Menu>
+ <Name>Multimedia</Name>
+ <Exclude>
+ <Category>Music</Category>
+ </Exclude>
+ <Menu>
+ <Name>Jack and More</Name>
+ <Directory>tde-multimedia-music.directory</Directory>
+ <Include>
+ <And>
+ <Category>Music</Category>
+ </And>
+ </Include>
+ </Menu>
+</Menu>
+</Menu>

@ -3,7 +3,9 @@
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
%define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -25,8 +27,8 @@
Name: trinity-tdemultimedia
Summary: Multimedia applications for the Trinity Desktop Environment (TDE)
Version: 3.5.13.2
Release: %{?!preversion:2}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Version: %{tde_version}
Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
License: GPLv2
Group: Applications/Multimedia
@ -39,8 +41,8 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Patch0: tdemultimedia-3.5.13.2-ftbfs.patch
Patch1: tdemultimedia-3.5.13.2-fix_xdg_menu.patch
Obsoletes: trinity-kdemultimedia < %{version}-%{release}
Provides: trinity-kdemultimedia = %{version}-%{release}
@ -53,17 +55,15 @@ Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release}
BuildRequires: autoconf automake libtool m4
BuildRequires: qt3-devel
BuildRequires: trinity-tqtinterface-devel >= %{version}
BuildRequires: trinity-arts-devel >= %{version}
BuildRequires: trinity-tdelibs-devel >= %{version}
BuildRequires: qt3-devel >= 3.3.8.d
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= %{tde_version}
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
%if "%{?_with_akode}" != ""
BuildRequires: trinity-akode-devel
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
BuildRequires: trinity-akode-libmad
%endif
%endif
BuildRequires: desktop-file-utils
BuildRequires: zlib-devel
@ -567,8 +567,8 @@ This package provides data on multimedia applications for kappfinder.
%files kappfinder-data
%defattr(-,root,root,-)
%{tde_datadir}/apps/kappfinder/*
%{tde_datadir}/desktop-directories/[kt]de-multimedia-music.directory
%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu
%{tde_datadir}/desktop-directories/tde-multimedia-music.directory
%{_sysconfdir}/xdg/menus/applications-merged/tde-multimedia-music.menu
##########
@ -671,8 +671,8 @@ This package includes TDE's dockable sound mixer applet.
%{tde_tdelibdir}/kmix_panelapplet.so
%{tde_tdelibdir}/kmixctrl.la
%{tde_tdelibdir}/kmixctrl.so
%{tde_libdir}/lib[kt]deinit_kmix.so
%{tde_libdir}/lib[kt]deinit_kmixctrl.so
%{tde_libdir}/libkdeinit_kmix.so
%{tde_libdir}/libkdeinit_kmixctrl.so
%{tde_tdeappdir}/kmix.desktop
%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop
%{tde_datadir}/apps/kmix/
@ -725,7 +725,7 @@ This is a sound recording utility for Trinity.
%{tde_tdelibdir}/libkrecexport_ogg.so
%{tde_tdelibdir}/libkrecexport_wave.la
%{tde_tdelibdir}/libkrecexport_wave.so
%{tde_libdir}/lib[kt]deinit_krec.so
%{tde_libdir}/libkdeinit_krec.so
%{tde_tdeappdir}/krec.desktop
%{tde_datadir}/apps/krec/
%{tde_datadir}/icons/hicolor/*/apps/krec.png
@ -1020,7 +1020,7 @@ formats supported by your installation of aRts (including aRts plugins).
%{tde_tdelibdir}/noatunsimple.so
%{tde_libdir}/libartseffects.la
%{tde_libdir}/libartseffects.so
%{tde_libdir}/lib[kt]deinit_noatun.so
%{tde_libdir}/libkdeinit_noatun.so
%{tde_libdir}/libnoatun.so.*
%{tde_libdir}/libnoatunarts.la
%{tde_libdir}/libnoatunarts.so
@ -1105,10 +1105,10 @@ noatun plugins.
%{tde_libdir}/libaudiocdplugins.so
%{tde_libdir}/libkcddb.la
%{tde_libdir}/libkcddb.so
%{tde_libdir}/lib[kt]deinit_kmix.la
%{tde_libdir}/lib[kt]deinit_kmixctrl.la
%{tde_libdir}/lib[kt]deinit_krec.la
%{tde_libdir}/lib[kt]deinit_noatun.la
%{tde_libdir}/libkdeinit_kmix.la
%{tde_libdir}/libkdeinit_kmixctrl.la
%{tde_libdir}/libkdeinit_krec.la
%{tde_libdir}/libkdeinit_noatun.la
%{tde_libdir}/libkmidlib.la
%{tde_libdir}/libkmidlib.so
%{tde_libdir}/libmpeg.la
@ -1139,8 +1139,8 @@ noatun plugins.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch0 -p1 -b .ftbfs
%patch1 -p1 -b .xdgmenu
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -1168,31 +1168,33 @@ if [ -d "/usr/X11R6" ]; then
fi
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--libdir=%{tde_libdir} \
--includedir=%{tde_tdeincludedir} \
--datadir=%{tde_datadir} \
--enable-new-ldflags \
--disable-dependency-tracking \
--with-cdparanoia \
--with-flac \
--with-theora \
--with-vorbis \
--with-alsa \
--with-gstreamer \
--with-lame \
--disable-debug \
--disable-warnings \
--enable-final \
--disable-rpath \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
--bindir=%{tde_bindir} \
--libdir=%{tde_libdir} \
--includedir=%{tde_tdeincludedir} \
--datadir=%{tde_datadir} \
\
--disable-dependency-tracking \
--disable-debug \
--enable-new-ldflags \
--enable-final \
--enable-closure \
--disable-rpath \
\
--with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_includedir}/tqt:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \
\
--with-cdparanoia \
--with-flac \
--with-theora \
--with-vorbis \
--with-alsa \
--with-gstreamer \
--with-lame \
%{?_with_akode} %{!?_with_akode:--without-akode} \
%{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \
%{?_with_taglib} %{!?_with_taglib:--without-taglib} \
%{?with_xine:--with-xine} %{!?with_xine:--without-xine} \
--with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_includedir}/tqt:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \
--enable-closure
%{?with_xine:--with-xine} %{!?with_xine:--without-xine}
%__make %{?_smp_mflags}
@ -1205,35 +1207,16 @@ export PATH="%{tde_bindir}:${PATH}"
# don't make these world-writeable
chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/*
# locale's
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
done
popd
fi
done
fi
# Moves the XDG configuration files to TDE directory
%__install -p -D -m644 \
"%{?buildroot}%{_sysconfdir}/xdg/menus/applications-merged/kde-multimedia-music.menu" \
"%{?buildroot}%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu"
%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg"
%clean
%__rm -rf %{buildroot}
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-3
- Rebuild with NDEBUG option
- Fix XDG menu
* Mon Jun 17 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Enable "LAME" support

@ -6,7 +6,9 @@
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
%define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -32,8 +34,8 @@
%endif
Name: trinity-tdenetwork
Version: 3.5.13.2
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
Summary: Trinity Desktop Environment - Network Applications
Vendor: Trinity Project
@ -49,8 +51,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Source1: kppp.pamd
Source2: ktalk
Source4: lisarc
Source5: lisa.redhat
# RedHat/Fedora legacy patches
Patch3: kdenetwork-3.5.8-kppp.patch
@ -65,12 +65,17 @@ Patch1: kdenetwork-3.5.13-missing_ldflags.patch
Patch201: kdenetwork-3.5.13.1-fix_rhel4_libraries.patch
Patch202: tdenetwork-3.5.13.2-fix_conflicting_definitions.patch
BuildRequires: cmake >= 2.8
BuildRequires: gettext
BuildRequires: trinity-tqtinterface-devel >= %{version}
BuildRequires: trinity-tdelibs-devel >= %{version}
BuildRequires: coreutils
BuildRequires: openssl-devel
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: sqlite3-devel
%else
BuildRequires: sqlite-devel
%endif
BuildRequires: gnutls-devel
# GADU support
@ -86,6 +91,10 @@ BuildRequires: libXtst-devel
BuildRequires: libXxf86vm-devel
%endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
BuildRequires: libxtst-devel
%endif
# Wifi support
%if "%{?_with_wifi:1}" == "1"
%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5
@ -148,9 +157,9 @@ BuildRequires: meanwhile-devel
%endif
# ORTP support
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
BuildRequires: ortp-devel
%endif
#%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
#BuildRequires: ortp-devel
#%endif
# SPEEX support
%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion}
@ -252,12 +261,12 @@ update-desktop-database 2> /dev/null || :
%package devel
Summary: Development files for the Trinity network module
Group: Development/Libraries
Requires: trinity-tdenetwork = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Requires: trinity-kdict = %{version}-%{release}
Requires: trinity-kopete = %{version}-%{release}
Requires: trinity-ksirc = %{version}-%{release}
Requires: trinity-librss = %{version}-%{release}
Requires: trinity-tdelibs-devel
Requires: trinity-tdelibs-devel >= %{tde_version}
Obsoletes: trinity-kdenetwork-devel < %{version}-%{release}
Provides: trinity-kdenetwork-devel = %{version}-%{release}
@ -775,11 +784,11 @@ Servers using RDP.
%{tde_bindir}/krdc
%{tde_tdeappdir}/krdc.desktop
%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop
%{tde_datadir}/apps/krdc
%{tde_datadir}/apps/krdc/
%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png
%{tde_datadir}/services/rdp.protocol
%{tde_datadir}/services/vnc.protocol
%{tde_tdedocdir}/HTML/en/krdc
%{tde_tdedocdir}/HTML/en/krdc/
%post -n trinity-krdc
for f in crystalsvg ; do
@ -825,7 +834,7 @@ task.
%{tde_datadir}/services/kinetd_krfb.desktop
%{tde_datadir}/services/kinetd_krfb_httpd.desktop
%{tde_datadir}/servicetypes/kinetdmodule.desktop
%{tde_tdedocdir}/HTML/en/krfb
%{tde_tdedocdir}/HTML/en/krfb/
%post -n trinity-krfb
for f in crystalsvg locolor ; do
@ -983,13 +992,6 @@ automatically when needed.
%package -n trinity-lisa
Summary: LAN information server for Trinity
Group: Applications/Internet
%if 0%{?suse_version}
Requires(preun): aaa_base
Requires(post): aaa_base
%else
Requires(preun): chkconfig
Requires(post): chkconfig
%endif
%description -n trinity-lisa
LISa is intended to provide TDE with a kind of "network neighborhood"
@ -997,8 +999,6 @@ but relying only on the TCP/IP protocol.
%files -n trinity-lisa
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/lisarc*
%config(noreplace) %{_initrddir}/lisa
%{tde_tdelibdir}/kcm_lanbrowser.la
%{tde_tdelibdir}/kcm_lanbrowser.so
%{tde_tdelibdir}/kio_lan.la
@ -1018,20 +1018,15 @@ but relying only on the TCP/IP protocol.
%{tde_bindir}/reslisa
%post -n trinity-lisa
/sbin/chkconfig --add lisa ||:
update-desktop-database 2> /dev/null || :
%postun -n trinity-lisa
if [ $1 -eq 0 ]; then
/sbin/service lisa stop > /dev/null 2>&1 ||:
/sbin/chkconfig --del lisa ||:
fi
update-desktop-database 2> /dev/null || :
##########
%package -n trinity-kdnssd
Summary: Zeroconf support for KDE
Summary: Zeroconf support for TDE
Group: Applications/Internet
%description -n trinity-kdnssd
@ -1101,10 +1096,17 @@ cd build
%endif
%cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
\
-DWITH_JINGLE=ON \
%{?with_speex:-DWITH_SPEEX=ON} \
-DWITH_WEBCAM=ON \
@ -1128,33 +1130,6 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build
## File lists
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && %{__rm} -f $i/common && ln -sf ../common $i/common
done
popd
fi
done
fi
# Show only in KDE, FIXME, need to re-evaluate these -- Rex
for i in fileshare kcmkrfb kcmktalkd kcmwifi krfb kppp kppplogview \
kwifimanager kget knewsticker ksirc kdict ; do
if [ -f %{buildroot}%{tde_tdeappdir}/$i.desktop ] ; then
echo "OnlyShowIn=KDE;" >> %{buildroot}%{tde_datadir}/applications/kde/$i.desktop
fi
done
%if 0%{?with_consolehelper}
# Run kppp through consolehelper, and rename it to 'kppp3'
%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3
@ -1177,15 +1152,6 @@ EOF
# ktalk
%__install -p -m 0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xinetd.d/ktalk
# Add lisa startup script
%__install -p -m 0644 -D %{SOURCE4} %{buildroot}%{_sysconfdir}/lisarc
%__install -p -m 0755 -D %{SOURCE5} %{buildroot}%{_initrddir}/lisa
# RHEL 5: Avoids conflict with 'kdenetwork'
%if 0%{?rhel} == 5
%__mv -f %{buildroot}%{_sysconfdir}/lisarc %{buildroot}%{_sysconfdir}/lisarc.tde
%endif
# Avoids conflict with trinity-kvirc
%__mv -f %{buildroot}%{tde_datadir}/services/irc.protocol %{buildroot}%{tde_datadir}/apps/kopete/
@ -1195,5 +1161,9 @@ EOF
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
- Disable 'lisa' service
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2

@ -3,8 +3,9 @@
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
BuildRequires: cmake >= 2.8
%define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -29,8 +30,8 @@ BuildRequires: gnokii-devel
Name: trinity-tdepim
Version: 3.5.13.2
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPL
Group: Applications/Productivity
@ -47,12 +48,13 @@ Patch14: kdepim-3.5.13-missing_ldflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
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: trinity-libcaldav-devel
BuildRequires: trinity-libcarddav-devel
BuildRequires: cmake >= 2.8
BuildRequires: gpgme-devel
BuildRequires: libgpg-error-devel
BuildRequires: flex
@ -2187,6 +2189,11 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch14 -p1 -b .ldflags
# Fix 'ical2vcal' contains '/bin/perl' instead of '/usr/bin/perl'
if [ -x /usr/bin/perl ]; then
%__sed -i "korganizer/ical2vcal.in" -e "s|@PERL@|/usr/bin/perl|"
fi
%build
unset QTDIR || : ; . /etc/profile.d/qt3.sh
@ -2206,12 +2213,18 @@ cd build
%endif
%cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
-DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DCMAKE_SKIP_RPATH="OFF" \
\
-DWITH_ARTS=ON \
-DWITH_SASL=ON \
-DWITH_NEWDISTRLISTS=ON \
@ -2247,5 +2260,8 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2

@ -3,7 +3,9 @@
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
%define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -18,9 +20,9 @@
Name: trinity-tdesdk
Summary: The KDE Software Development Kit (SDK)
Version: 3.5.13.2
Release: 1%{?dist}%{?_variant}
Summary: The Trinity Software Development Kit (SDK)
Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPLv2
Group: User Interface/Desktops
@ -31,7 +33,7 @@ Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}.tar.gz
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: cmake >= 2.8
BuildRequires: libtool
@ -1060,7 +1062,7 @@ Provides: trinity-kdesdk-devel = %{version}-%{release}
%prep
%setup -q
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%build
@ -1081,13 +1083,19 @@ cd build
%cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \
-DMAN_INSTALL_DIR=%{tde_mandir} \
-DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DCMAKE_SKIP_RPATH="OFF" \
\
-DWITH_DBSEARCHENGINE=ON \
-DWITH_KCAL=ON \
-DBUILD_ALL=ON \
@ -1145,12 +1153,15 @@ fi
# Removes useless stuff
%__rm -f %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/debianrules
%clean
%__rm -rf %{buildroot}
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2

@ -3,7 +3,9 @@
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
%define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -19,8 +21,8 @@
%define _docdir %{tde_docdir}
Name: trinity-tdeutils
Version: 3.5.13.2
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPL
Summary: TDE Utilities
Group: Applications/System
@ -989,6 +991,12 @@ cd build
%endif
%cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DBIN_INSTALL_DIR="%{tde_bindir}" \
-DDOC_INSTALL_DIR="%{tde_docdir}" \
@ -996,7 +1004,7 @@ cd build
-DLIB_INSTALL_DIR="%{tde_libdir}" \
-DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
-DCMAKE_SKIP_RPATH=OFF \
\
-DWITH_DPMS=ON \
%{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \
-DWITH_ASUS=ON \
@ -1021,31 +1029,6 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{?buildroot}
%__make install DESTDIR=%{?buildroot} -C build
## File lists
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
done
popd
pushd $lang_dir/kcontrol
for i in *; do
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common
done
popd
fi
done
fi
%if 0%{?build_klaptopdaemon}
### Use consolehelper for 'klaptop_acpi_helper'
%if 0%{?with_consolehelper}
@ -1068,7 +1051,7 @@ fi
%else
# Klaptop's documentation is installed even if we did not build it ...
# Klaptop's documentation is installed even if we did not build the program ...
%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/
%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/
%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/laptop/
@ -1082,5 +1065,8 @@ fi
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2

@ -0,0 +1,30 @@
diff -Nuar trinity-tdevelop-3.5.13.2.ORI/CMakeLists.txt trinity-tdevelop-3.5.13.2/CMakeLists.txt
--- trinity-tdevelop-3.5.13.2.ORI/CMakeLists.txt 2013-07-28 16:47:38.143269451 +0200
+++ trinity-tdevelop-3.5.13.2/CMakeLists.txt 2013-07-28 16:48:05.207700906 +0200
@@ -142,7 +142,7 @@
DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES
- kde-development-kdevelop.directory
+ tde-development-kdevelop.directory
DESTINATION ${XDG_DIRECTORY_INSTALL_DIR} )
install( FILES
diff -Nuar trinity-tdevelop-3.5.13.2.ORI/kde-development-kdevelop.directory trinity-tdevelop-3.5.13.2/kde-development-kdevelop.directory
--- trinity-tdevelop-3.5.13.2.ORI/kde-development-kdevelop.directory 2013-07-28 16:47:38.101270333 +0200
+++ trinity-tdevelop-3.5.13.2/kde-development-kdevelop.directory 1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=KDevelop
-Name[ne]=केडीई विकास
-Icon=kdevelop
diff -Nuar trinity-tdevelop-3.5.13.2.ORI/tde-development-kdevelop.directory trinity-tdevelop-3.5.13.2/tde-development-kdevelop.directory
--- trinity-tdevelop-3.5.13.2.ORI/tde-development-kdevelop.directory 1970-01-01 01:00:00.000000000 +0100
+++ trinity-tdevelop-3.5.13.2/tde-development-kdevelop.directory 2013-06-07 19:41:29.000000000 +0200
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=KDevelop
+Name[ne]=केडीई विकास
+Icon=kdevelop

@ -3,7 +3,9 @@
%define _variant .opt
%endif
# TDE 3.5.13 specific building variables
%define tde_version 3.5.13.2
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@ -19,8 +21,8 @@
Name: trinity-tdevelop
Summary: Integrated Development Environment for C++/C
Version: 3.5.13.2
Release: 1%{?dist}%{?_variant}
Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
License: GPLv2
Group: Development/Tools
@ -32,17 +34,17 @@ URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}.tar.gz
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2
# [c_cpp_ref] Fix library directories detection
Patch1: c_cpp_reference-2.0.2-config.patch
Patch1: c_cpp_reference-2.0.2-config.patch
# [kdevelop] fix FTBFS
Patch2: kdevelop-3.5.13-kdevdesigner-ftbfs.patch
# [kdevelop] Fix XDG menu
Patch3: tdevelop-3.5.13.2-fix_xdg_menu.patch
# [c_cpp_ref] Fix installation of 'asm' files
Patch4: c_cpp_reference-2.0.2-install.patch
Patch4: c_cpp_reference-2.0.2-install.patch
Requires: %{name}-libs = %{version}-%{release}
@ -51,13 +53,13 @@ Requires: make
Requires: perl
Requires: flex >= 2.5.4
%if 0%{?rhel} || 0%{?fedora}
Requires: qt3-designer
Requires: qt3-designer >= 3.3.8.d
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
Requires: %{_lib}qt3-devel
Requires: %{_lib}qt3-devel >= 3.3.8.d
%endif
%if 0%{?suse_version}
Requires: qt3-devel
Requires: qt3-devel >= 3.3.8.d
%endif
Requires: gettext
Requires: ctags
@ -71,7 +73,7 @@ BuildRequires: trinity-tdesdk-devel >= %{version}
BuildRequires: db4-devel
%endif
BuildRequires: flex
# FIXME: No CVS support in KDevelop? This is going to suck...
# FIXME: No CVS support in tdevelop? This is going to suck...
# Requires kdesdk3.
BuildRequires: subversion-devel
BuildRequires: neon-devel
@ -444,7 +446,7 @@ individual needs.
%{tde_datadir}/apps/kio_pydoc/kde_pydoc.py*
%{tde_datadir}/config/kdevassistantrc
%{tde_datadir}/config/kdeveloprc
%{tde_datadir}/desktop-directories/kde-development-kdevelop.directory
%{tde_datadir}/desktop-directories/tde-development-kdevelop.directory
%{tde_tdedocdir}/HTML/en/kdevelop/
%{tde_libdir}/libd.so.0
%{tde_libdir}/libd.so.0.0.0
@ -503,7 +505,7 @@ Provides: trinity-kdevelop-devel = %{version}-%{release}
%package libs
Summary: %{name} runtime libraries
Group: System Environment/Libraries
Requires: trinity-kdelibs
Requires: trinity-tdelibs >= %{tde_version}
# include to be paranoid, installing libs-only is still mostly untested -- Rex
Requires: %{name} = %{version}-%{release}
@ -566,6 +568,7 @@ Provides: trinity-kdevelop-libs = %{version}-%{release}
%setup -q -a1
%patch1 -p0 -b .config
%patch2 -p1
%patch3 -p1 -b .xdgmenu
%patch4 -p1
# Ugly hack to modify TQT include directory inside autoconf files.
@ -583,7 +586,7 @@ Provides: trinity-kdevelop-libs = %{version}-%{release}
%build
unset QTDIR || : ; . /etc/profile.d/qt3.sh
unset QTDIR; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
@ -614,11 +617,17 @@ cd build
%endif
%cmake \
-DCMAKE_BUILD_TYPE="" \
-DCMAKE_C_FLAGS="-DNDEBUG" \
-DCMAKE_CXX_FLAGS="-DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DCMAKE_SKIP_RPATH="OFF" \
\
-DWITH_BUILDTOOL_ALL=ON \
-DWITH_LANGUAGE_ALL=ON \
-DWITH_VCS_ALL=OFF \
@ -642,5 +651,8 @@ cd ..
%changelog
* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
- Rebuild with NDEBUG option
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
- Initial release for TDE 3.5.13.2

Loading…
Cancel
Save