Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
commit
ed4fba5b52
@ -0,0 +1,7 @@
|
|||||||
|
dependencies/qt3
|
||||||
|
dependencies/tqtinterface
|
||||||
|
dependencies/dbus-tqt
|
||||||
|
dependencies/arts
|
||||||
|
kdelibs
|
||||||
|
kdebase
|
||||||
|
kdebindings
|
@ -0,0 +1,131 @@
|
|||||||
|
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%define _variant .opt
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
Name: trinity-arts
|
||||||
|
Version: 3.5.12
|
||||||
|
Release: 4%{?dist}%{?_variant}
|
||||||
|
License: GPL
|
||||||
|
Summary: aRts (analog realtime synthesizer) - the KDE sound system
|
||||||
|
Vendor: Trinity Project
|
||||||
|
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||||
|
|
||||||
|
Source0: http://mirror3.tokra.lv/releases/3.5.12/dependencies/arts-3.5.12.tar.gz
|
||||||
|
Prefix: %{_prefix}
|
||||||
|
|
||||||
|
BuildRequires: autoconf automake libtool m4
|
||||||
|
BuildRequires: qt3-devel >= 3.3.8b
|
||||||
|
BuildRequires: tqtinterface-devel
|
||||||
|
BuildRequires: audiofile-devel
|
||||||
|
BuildRequires: alsa-lib-devel
|
||||||
|
BuildRequires: glib2-devel
|
||||||
|
BuildRequires: libtool-ltdl-devel
|
||||||
|
|
||||||
|
Requires: qt3 >= 3.3.8b
|
||||||
|
Requires: tqtinterface
|
||||||
|
Requires: audiofile
|
||||||
|
|
||||||
|
%if "%{?_prefix}" == "/usr"
|
||||||
|
Obsoletes: arts
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
arts (analog real-time synthesizer) is the sound system of KDE 3.
|
||||||
|
|
||||||
|
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,
|
||||||
|
filter data, add signals, perform effects like delay/flanger/chorus, or
|
||||||
|
output the data to the soundcard.
|
||||||
|
|
||||||
|
By connecting all those small modules together, you can perform complex
|
||||||
|
tasks like simulating a mixer, generating an instrument or things like
|
||||||
|
playing a wave file with some effects.
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Requires: %{name}
|
||||||
|
Summary: %{name} - Development files
|
||||||
|
%if "%{?_prefix}" == "/usr"
|
||||||
|
Obsoletes: arts-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development files for %{name}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n dependencies/arts
|
||||||
|
|
||||||
|
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||||
|
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||||
|
%__make -f admin/Makefile.common
|
||||||
|
|
||||||
|
%build
|
||||||
|
export PATH="%{_bindir}:${PATH}"
|
||||||
|
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||||
|
%configure \
|
||||||
|
--disable-rpath \
|
||||||
|
--disable-debug --disable-warnings \
|
||||||
|
--disable-dependency-tracking \
|
||||||
|
--enable-new-ldflags \
|
||||||
|
--disable-libmad \
|
||||||
|
--with-alsa \
|
||||||
|
--enable-final \
|
||||||
|
--with-extra-includes=%{_includedir}/tqt
|
||||||
|
|
||||||
|
%__make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%__rm -rf %{?buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING.LIB
|
||||||
|
%dir %{_libdir}/mcop
|
||||||
|
%dir %{_libdir}/mcop/Arts
|
||||||
|
%{_libdir}/mcop/Arts/*
|
||||||
|
%{_libdir}/mcop/*.mcopclass
|
||||||
|
%{_libdir}/mcop/*.mcoptype
|
||||||
|
%{_libdir}/lib*.so.*
|
||||||
|
%{_libdir}/lib*.la
|
||||||
|
%{_bindir}/artscat
|
||||||
|
%{_bindir}/artsd
|
||||||
|
%{_bindir}/artsdsp
|
||||||
|
%{_bindir}/artsplay
|
||||||
|
%{_bindir}/artsrec
|
||||||
|
%{_bindir}/artsshell
|
||||||
|
%{_bindir}/artswrapper
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/mcopidl
|
||||||
|
%dir %{_includedir}
|
||||||
|
%{_includedir}/arts/
|
||||||
|
%{_includedir}/artsc/
|
||||||
|
%{_bindir}/artsc-config
|
||||||
|
%{_libdir}/lib*.so
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Sep 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-4
|
||||||
|
- Import to GIT
|
||||||
|
- Removes cmake stuff, build with autotools only
|
||||||
|
|
||||||
|
* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-3
|
||||||
|
- Correct macro to install under "/opt", if desired
|
||||||
|
|
||||||
|
* Sat Dec 18 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
|
||||||
|
- Add cmake support
|
||||||
|
- Add some BuildRequires
|
||||||
|
|
||||||
|
* Fri Dec 17 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
|
||||||
|
- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/trinity)
|
||||||
|
- Add '--with-extra-includes=%{_includedir}/tqt'
|
||||||
|
|
||||||
|
* Tue Dec 07 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-0
|
||||||
|
- Initial version
|
||||||
|
|
@ -0,0 +1,117 @@
|
|||||||
|
# Default version for this component
|
||||||
|
%if "%{?version}" == ""
|
||||||
|
%define version 1.5.10
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%define _variant .opt
|
||||||
|
%define _libdir %{_prefix}/lib
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
Name: trinity-arts
|
||||||
|
Version: %{version}
|
||||||
|
Release: 0%{?dist}%{?_variant}
|
||||||
|
License: GPL
|
||||||
|
Summary: aRts (analog realtime synthesizer) - the KDE sound system
|
||||||
|
Vendor: Trinity Project
|
||||||
|
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||||
|
|
||||||
|
Source0: arts-%{version}.tar.gz
|
||||||
|
Prefix: %{_prefix}
|
||||||
|
|
||||||
|
BuildRequires: cmake >= 2.8
|
||||||
|
BuildRequires: tde-cmake-macros
|
||||||
|
BuildRequires: qt3-devel >= 3.3.8d
|
||||||
|
BuildRequires: tqtinterface-devel
|
||||||
|
BuildRequires: audiofile-devel
|
||||||
|
BuildRequires: alsa-lib-devel
|
||||||
|
BuildRequires: glib2-devel
|
||||||
|
BuildRequires: libtool-ltdl-devel
|
||||||
|
|
||||||
|
Requires: qt3 >= 3.3.8d
|
||||||
|
Requires: tqtinterface
|
||||||
|
Requires: audiofile
|
||||||
|
|
||||||
|
%if "%{?_prefix}" == "/usr"
|
||||||
|
Obsoletes: arts
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
arts (analog real-time synthesizer) is the sound system of KDE 3.
|
||||||
|
|
||||||
|
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,
|
||||||
|
filter data, add signals, perform effects like delay/flanger/chorus, or
|
||||||
|
output the data to the soundcard.
|
||||||
|
|
||||||
|
By connecting all those small modules together, you can perform complex
|
||||||
|
tasks like simulating a mixer, generating an instrument or things like
|
||||||
|
playing a wave file with some effects.
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Requires: %{name}
|
||||||
|
Summary: %{name} - Development files
|
||||||
|
%if "%{?_prefix}" == "/usr"
|
||||||
|
Obsoletes: arts-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development files for %{name}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n dependencies/arts
|
||||||
|
|
||||||
|
%build
|
||||||
|
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||||
|
|
||||||
|
%__mkdir build
|
||||||
|
cd build
|
||||||
|
%cmake \
|
||||||
|
-DPKGCONFIG_INSTALL_DIR=%{_libdir}/pkgconfig \
|
||||||
|
-DWITH_MAD=OFF \
|
||||||
|
..
|
||||||
|
|
||||||
|
%__make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install -C build
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%__rm -rf %{?buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING.LIB
|
||||||
|
%dir %{_libdir}/mcop
|
||||||
|
%dir %{_libdir}/mcop/Arts
|
||||||
|
%{_libdir}/mcop/Arts/*
|
||||||
|
%{_libdir}/mcop/*.mcopclass
|
||||||
|
%{_libdir}/mcop/*.mcoptype
|
||||||
|
%{_libdir}/lib*.so.*
|
||||||
|
%{_libdir}/lib*.la
|
||||||
|
%{_bindir}/artscat
|
||||||
|
%{_bindir}/artsd
|
||||||
|
%{_bindir}/artsdsp
|
||||||
|
%{_bindir}/artsplay
|
||||||
|
%{_bindir}/artsrec
|
||||||
|
%{_bindir}/artsshell
|
||||||
|
%{_bindir}/artswrapper
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/mcopidl
|
||||||
|
%dir %{_includedir}
|
||||||
|
%{_includedir}/*/
|
||||||
|
%{_bindir}/artsc-config
|
||||||
|
%{_libdir}/lib*.so
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
%exclude %{_libdir}/*.a
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Sep 02 2011 Francois Andriot <francois.andriot@free.fr> - 1.5.10-0
|
||||||
|
- Import to GIT
|
||||||
|
- Built with future TDE version (3.5.13 + cmake + QT3.3.8d)
|
@ -0,0 +1,74 @@
|
|||||||
|
# Default version for this component
|
||||||
|
%if "%{?version}" == ""
|
||||||
|
%define version 3.5.13
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%define _variant .opt
|
||||||
|
%define _libdir %{_prefix}/lib
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Name: dbus-tqt
|
||||||
|
Version: %{?version}
|
||||||
|
Release: 0%{?dist}%{?_variant}
|
||||||
|
License: GPL
|
||||||
|
Summary: Dbus TQT Interface
|
||||||
|
Vendor: Trinity Project
|
||||||
|
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||||
|
|
||||||
|
Prefix: %{_prefix}
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: qt3-devel >= 3.3.8d
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: dbus-qt-devel
|
||||||
|
BuildRequires: tqtinterface-devel
|
||||||
|
BuildRequires: cmake >= 2.8
|
||||||
|
|
||||||
|
Requires: qt3 >= 3.3.8d
|
||||||
|
|
||||||
|
%description
|
||||||
|
Dbus TQT Interface
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Requires: %{name}
|
||||||
|
Summary: %{name} - Development files
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development files for %{name}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n dependencies/%{name}
|
||||||
|
|
||||||
|
%build
|
||||||
|
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||||
|
|
||||||
|
%__mkdir build
|
||||||
|
cd build
|
||||||
|
%cmake ..
|
||||||
|
|
||||||
|
%__make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%__rm -rf %{?buildroot}
|
||||||
|
%__mkdir_p %{?buildroot}%{_includedir}
|
||||||
|
%make_install -C build
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%__rm -rf %{?buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/dbus-1.0/*
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/*.la
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Sep 02 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13pre-0
|
||||||
|
- Import to GIT
|
||||||
|
- Built with future TDE version (3.5.13 + cmake + QT3.3.8d)
|
@ -0,0 +1,80 @@
|
|||||||
|
qt-bugs@ issue : none
|
||||||
|
bugs.kde.org number : none
|
||||||
|
applied: no
|
||||||
|
author: Lubos Lunak <l.lunak@kde.org>
|
||||||
|
|
||||||
|
This patch makes override-redirect windows (popup menu, dropdown menu,
|
||||||
|
tooltip, combobox, etc.) also have more window properties like WM_CLASS,
|
||||||
|
so they can be used when compositing.
|
||||||
|
|
||||||
|
--- src/kernel/qwidget_x11.cpp.sav 2007-06-25 10:36:42.000000000 +0200
|
||||||
|
+++ src/kernel/qwidget_x11.cpp 2007-10-02 15:30:13.000000000 +0200
|
||||||
|
@@ -557,7 +557,10 @@ void QWidget::create( WId window, bool i
|
||||||
|
wsa.save_under = True;
|
||||||
|
XChangeWindowAttributes( dpy, id, CWOverrideRedirect | CWSaveUnder,
|
||||||
|
&wsa );
|
||||||
|
- x11SetWindowType();
|
||||||
|
+ XClassHint class_hint;
|
||||||
|
+ class_hint.res_name = (char *) qAppName(); // application name
|
||||||
|
+ class_hint.res_class = (char *) qAppClass(); // application class
|
||||||
|
+ XSetClassHint( dpy, id, &class_hint );
|
||||||
|
} else if ( topLevel && !desktop ) { // top-level widget
|
||||||
|
QWidget *p = parentWidget(); // real parent
|
||||||
|
if (p)
|
||||||
|
@@ -620,8 +623,6 @@ void QWidget::create( WId window, bool i
|
||||||
|
else
|
||||||
|
XDeleteProperty(dpy, id, qt_xa_motif_wm_hints);
|
||||||
|
|
||||||
|
- x11SetWindowType();
|
||||||
|
-
|
||||||
|
// set _NET_WM_WINDOW_STATE
|
||||||
|
if (curr_winstate > 0)
|
||||||
|
XChangeProperty(dpy, id, qt_net_wm_state, XA_ATOM, 32, PropModeReplace,
|
||||||
|
@@ -629,11 +630,6 @@ void QWidget::create( WId window, bool i
|
||||||
|
else
|
||||||
|
XDeleteProperty(dpy, id, qt_net_wm_state);
|
||||||
|
|
||||||
|
- // set _NET_WM_PID
|
||||||
|
- long curr_pid = getpid();
|
||||||
|
- XChangeProperty(dpy, id, qt_net_wm_pid, XA_CARDINAL, 32, PropModeReplace,
|
||||||
|
- (unsigned char *) &curr_pid, 1);
|
||||||
|
-
|
||||||
|
#ifndef QT_NO_XSYNC
|
||||||
|
// set _NET_WM_SYNC_COUNTER
|
||||||
|
createSyncCounter();
|
||||||
|
@@ -645,19 +641,31 @@ void QWidget::create( WId window, bool i
|
||||||
|
// when we create a toplevel widget, the frame strut should be dirty
|
||||||
|
fstrut_dirty = 1;
|
||||||
|
|
||||||
|
+ } else {
|
||||||
|
+ // non-toplevel widgets don't have a frame, so no need to
|
||||||
|
+ // update the strut
|
||||||
|
+ fstrut_dirty = 0;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ if (initializeWindow && (popup || (topLevel && !desktop))) { // properties set on all toplevel windows
|
||||||
|
+ x11SetWindowType();
|
||||||
|
+
|
||||||
|
+ // set _NET_WM_PID
|
||||||
|
+ long curr_pid = getpid();
|
||||||
|
+ XChangeProperty(dpy, id, qt_net_wm_pid, XA_CARDINAL, 32, PropModeReplace,
|
||||||
|
+ (unsigned char *) &curr_pid, 1);
|
||||||
|
+
|
||||||
|
// declare the widget's object name as window role
|
||||||
|
XChangeProperty( dpy, id,
|
||||||
|
qt_window_role, XA_STRING, 8, PropModeReplace,
|
||||||
|
(unsigned char *)name(), qstrlen( name() ) );
|
||||||
|
|
||||||
|
// set client leader property
|
||||||
|
+ if ( !qt_x11_wm_client_leader )
|
||||||
|
+ qt_x11_create_wm_client_leader();
|
||||||
|
XChangeProperty( dpy, id, qt_wm_client_leader,
|
||||||
|
XA_WINDOW, 32, PropModeReplace,
|
||||||
|
(unsigned char *)&qt_x11_wm_client_leader, 1 );
|
||||||
|
- } else {
|
||||||
|
- // non-toplevel widgets don't have a frame, so no need to
|
||||||
|
- // update the strut
|
||||||
|
- fstrut_dirty = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( initializeWindow ) {
|
@ -0,0 +1,9 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Qt3 Assistant
|
||||||
|
Comment=Add translations to Qt3 applications
|
||||||
|
Exec=assistant
|
||||||
|
Icon=assistant3
|
||||||
|
Terminal=false
|
||||||
|
Encoding=UTF-8
|
||||||
|
Type=Application
|
||||||
|
Categories=Qt;Development;
|
@ -0,0 +1,11 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Qt3 Designer
|
||||||
|
GenericName=Interface Designer
|
||||||
|
Comment=Design GUIs for Qt3 applications
|
||||||
|
Exec=designer
|
||||||
|
Icon=designer3
|
||||||
|
MimeType=application/x-designer;
|
||||||
|
Terminal=false
|
||||||
|
Encoding=UTF-8
|
||||||
|
Type=Application
|
||||||
|
Categories=Qt;Development;
|
@ -0,0 +1,10 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Qt3 Linguist
|
||||||
|
Comment=Add translations to Qt3 applications
|
||||||
|
Exec=linguist
|
||||||
|
Icon=linguist3
|
||||||
|
MimeType=application/x-linguist;
|
||||||
|
Terminal=false
|
||||||
|
Encoding=UTF-8
|
||||||
|
Type=Application
|
||||||
|
Categories=Qt;Development;
|
@ -0,0 +1,15 @@
|
|||||||
|
--- qt-x11-free-3.0.5/src/tools/qgpluginmanager.cpp.bero 2002-08-21 15:16:19.000000000 +0200
|
||||||
|
+++ qt-x11-free-3.0.5/src/tools/qgpluginmanager.cpp 2002-08-21 15:16:41.000000000 +0200
|
||||||
|
@@ -501,10 +501,10 @@
|
||||||
|
(*f).latin1(),
|
||||||
|
(const char*) QFile::encodeName( old->library() ) );
|
||||||
|
} else {
|
||||||
|
- qWarning("%s: Feature %s already defined in %s!",
|
||||||
|
+/* qWarning("%s: Feature %s already defined in %s!",
|
||||||
|
(const char*) QFile::encodeName( old->library() ),
|
||||||
|
(*f).latin1(),
|
||||||
|
- (const char*) QFile::encodeName( plugin->library() ) );
|
||||||
|
+ (const char*) QFile::encodeName( plugin->library() ) ); */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
--- qt-x11-free-3.1.0/Makefile.orig 2002-11-14 15:44:17.000000000 +0100
|
||||||
|
+++ qt-x11-free-3.1.0/Makefile 2002-11-14 15:49:33.000000000 +0100
|
||||||
|
@@ -11,7 +11,7 @@
|
||||||
|
install: FORCE
|
||||||
|
@$(MAKE) qt.install
|
||||||
|
|
||||||
|
-all: symlinks src-qmake src-moc sub-src sub-tools sub-tutorial sub-examples
|
||||||
|
+all: symlinks src-qmake src-moc sub-src sub-tools
|
||||||
|
@echo
|
||||||
|
@echo "The Qt library is now built in ./lib"
|
||||||
|
@echo "The Qt examples are built in the directories in ./examples"
|
@ -0,0 +1,18 @@
|
|||||||
|
--- qt-x11-free-3.3.4/src/kernel/qpsprinter.cpp.cjk 2005-01-21 18:16:11.000000000 +0100
|
||||||
|
+++ qt-x11-free-3.3.4/src/kernel/qpsprinter.cpp 2005-01-26 15:09:20.911239907 +0100
|
||||||
|
@@ -4748,10 +4748,11 @@
|
||||||
|
|
||||||
|
// GB18030 fonts on Turbolinux
|
||||||
|
static const psfont SongGBK2K [] = {
|
||||||
|
- { "MSung-Light-GBK2K-H", 0, 100. },
|
||||||
|
- { "MSung-Italic-GBK2K-H", 0, 100. },
|
||||||
|
- { "MSung-Bold-GBK2K-H", 0, 100. },
|
||||||
|
- { "MSung-BoldItalic-GBK2K-H", 0, 100. },
|
||||||
|
+ { "MSungGBK-Light-GBK2K-H", 0, 100. },
|
||||||
|
+ { "MSungGBK-Light-GBK2K-H", 0, 100. },
|
||||||
|
+ { "MSungGBK-Light-GBK2K-H", 0, 100. },
|
||||||
|
+ { "MSungGBK-Light-GBK2K-H", 0, 100. },
|
||||||
|
+
|
||||||
|
};
|
||||||
|
static const psfont KaiGBK2K [] = {
|
||||||
|
{ "MKai-Medium-GBK2K-H", 0, 100. },
|
@ -0,0 +1,15 @@
|
|||||||
|
diff -pruN qt-x11-free-3.3.6.org/src/kernel/qscriptengine_x11.cpp qt-x11-free-3.3.6/src/kernel/qscriptengine_x11.cpp
|
||||||
|
--- qt-x11-free-3.3.6.org/src/kernel/qscriptengine_x11.cpp 2006-12-04 18:47:11.000000000 +0530
|
||||||
|
+++ qt-x11-free-3.3.6/src/kernel/qscriptengine_x11.cpp 2006-12-05 12:05:10.000000000 +0530
|
||||||
|
@@ -1412,7 +1412,10 @@ static bool indic_shape_syllable(QOpenTy
|
||||||
|
toPos += 2;
|
||||||
|
if (script == QFont::Devanagari || script == QFont::Gujarati || script == QFont::Bengali) {
|
||||||
|
if (matra_position == Post || matra_position == Split) {
|
||||||
|
- toPos = matra+1;
|
||||||
|
+ if (matra_position == Post )
|
||||||
|
+ toPos = matra;
|
||||||
|
+ else
|
||||||
|
+ toPos = matra+1;
|
||||||
|
matra -= 2;
|
||||||
|
}
|
||||||
|
} else if (script == QFont::Kannada) {
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -pruN qt-x11-free-3.3.6.org/src/kernel/qscriptengine_x11.cpp qt-x11-free-3.3.6/src/kernel/qscriptengine_x11.cpp
|
||||||
|
--- qt-x11-free-3.3.6.org/src/kernel/qscriptengine_x11.cpp 2007-02-13 14:41:25.000000000 +0530
|
||||||
|
+++ qt-x11-free-3.3.6/src/kernel/qscriptengine_x11.cpp 2007-02-13 14:40:02.000000000 +0530
|
||||||
|
@@ -253,7 +253,7 @@ static const unsigned char indicForms[0x
|
||||||
|
Unknown, Unknown, Unknown, Unknown,
|
||||||
|
Unknown, Unknown, Unknown, Unknown,
|
||||||
|
|
||||||
|
- Other, Other, Other, Other,
|
||||||
|
+ Other, Other, VowelMark, VowelMark,
|
||||||
|
Other, Other, Other, Other,
|
||||||
|
Other, Other, Other, Other,
|
||||||
|
Other, Other, Other, Other,
|
@ -0,0 +1,60 @@
|
|||||||
|
--- qt-x11-free-3.3.6/src/kernel/qscriptengine_x11.cpp.bak 2006-10-13 13:21:37.000000000 +0800
|
||||||
|
+++ qt-x11-free-3.3.6/src/kernel/qscriptengine_x11.cpp 2006-10-13 13:57:36.000000000 +0800
|
||||||
|
@@ -868,7 +868,7 @@
|
||||||
|
None, None, None, None,
|
||||||
|
None, None, None, Post,
|
||||||
|
|
||||||
|
- Post, None, Below, None,
|
||||||
|
+ None, None, None, None,
|
||||||
|
None, Post, None, None,
|
||||||
|
None, None, None, None,
|
||||||
|
None, None, Post, Post,
|
||||||
|
@@ -1271,6 +1271,16 @@
|
||||||
|
int base = 0;
|
||||||
|
int reph = -1;
|
||||||
|
|
||||||
|
+ //for the special conjuctions about Cons+0d4d+0d30 and Cons+0d40+0d31 of Malayalam
|
||||||
|
+ bool is_special_conjuction_malayalam = false;
|
||||||
|
+
|
||||||
|
+ if ((len == 3) &&
|
||||||
|
+ ((reordered[2] == 0x0d30) || (reordered[2] == 0x0d31)) &&
|
||||||
|
+ (reordered[1] == 0x0d4d) &&
|
||||||
|
+ ((reordered[0] >= 0x0d15) && (reordered[0] <= 0x0d39))) {
|
||||||
|
+ is_special_conjuction_malayalam = true;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
#ifdef INDIC_DEBUG
|
||||||
|
IDEBUG("original:");
|
||||||
|
for (i = 0; i < len; i++) {
|
||||||
|
@@ -1547,6 +1557,15 @@
|
||||||
|
reph = i;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ //for the special conjuctions about Cons+0d4d+0d30 and Cons+0d40+0d31 of Malayalam
|
||||||
|
+ if (is_special_conjuction_malayalam) {
|
||||||
|
+ unsigned short temp;
|
||||||
|
+
|
||||||
|
+ temp = reordered[0];
|
||||||
|
+ reordered[0] = reordered[2];
|
||||||
|
+ reordered[2] = temp;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
if (item->font->stringToCMap((const QChar *)reordered.data(), len, item->glyphs, item->advances,
|
||||||
|
&item->num_glyphs, item->flags & QTextEngine::RightToLeft) != QFontEngine::NoError)
|
||||||
|
return FALSE;
|
||||||
|
@@ -1658,6 +1677,15 @@
|
||||||
|
|
||||||
|
// halant always applies
|
||||||
|
|
||||||
|
+ //for the special conjuctions about Cons+0d4d+0d30 and Cons+0d40+0d31 of Malayalam
|
||||||
|
+ if (is_special_conjuction_malayalam) {
|
||||||
|
+ unsigned int temp;
|
||||||
|
+
|
||||||
|
+ temp = properties[0];
|
||||||
|
+ properties[0] = ~PreSubstProperty;
|
||||||
|
+ properties[2] = temp;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
#ifdef INDIC_DEBUG
|
||||||
|
{
|
||||||
|
IDEBUG("OT properties:");
|
@ -0,0 +1,11 @@
|
|||||||
|
--- qt-x11-free-3.3.6/src/kernel/qscriptengine_x11.cpp.orig 2006-11-29 17:17:26.000000000 +0100
|
||||||
|
+++ qt-x11-free-3.3.6/src/kernel/qscriptengine_x11.cpp 2006-11-29 17:22:34.000000000 +0100
|
||||||
|
@@ -864,7 +864,7 @@
|
||||||
|
None, None, None, Post,
|
||||||
|
|
||||||
|
None, None, None, None,
|
||||||
|
- None, Post, None, None,
|
||||||
|
+ None, None, None, None,
|
||||||
|
None, None, None, None,
|
||||||
|
None, None, Post, Post,
|
||||||
|
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -pruN qt-x11-free-3.3.6.org/src/kernel/qfont_x11.cpp qt-x11-free-3.3.6/src/kernel/qfont_x11.cpp
|
||||||
|
--- qt-x11-free-3.3.6.org/src/kernel/qfont_x11.cpp 2006-03-08 00:00:00.000000000 +0530
|
||||||
|
+++ qt-x11-free-3.3.6/src/kernel/qfont_x11.cpp 2006-12-04 18:49:09.000000000 +0530
|
||||||
|
@@ -709,7 +709,7 @@ int QFontMetrics::charWidth( const QStri
|
||||||
|
if ( script >= QFont::Arabic && script <= QFont::Khmer ) {
|
||||||
|
// complex script shaping. Have to do some hard work
|
||||||
|
int from = QMAX( 0, pos - 8 );
|
||||||
|
- int to = QMIN( (int)str.length(), pos + 8 );
|
||||||
|
+ int to = str.length();
|
||||||
|
QConstString cstr( str.unicode()+from, to-from);
|
||||||
|
QTextEngine layout( cstr.string(), d );
|
||||||
|
layout.itemize( QTextEngine::WidthOnly );
|
@ -0,0 +1,11 @@
|
|||||||
|
--- qt-x11-free-3.3.6/src/kernel/qscriptengine_x11.cpp.bak 2006-10-18 17:55:23.000000000 +0800
|
||||||
|
+++ qt-x11-free-3.3.6/src/kernel/qscriptengine_x11.cpp 2006-10-19 16:42:31.641160984 +0800
|
||||||
|
@@ -786,7 +786,7 @@
|
||||||
|
Below, None, Below, Below,
|
||||||
|
Below, Below, Below, Below,
|
||||||
|
|
||||||
|
- Below, None, Below, Below,
|
||||||
|
+ Below, Below, Below, Below,
|
||||||
|
None, Below, Below, Below,
|
||||||
|
Below, Below, None, None,
|
||||||
|
None, None, Post, Above,
|
@ -0,0 +1,23 @@
|
|||||||
|
--- qt-x11-free-3.3.8/src/kernel/qscriptengine_x11.cpp.orig 2007-04-11 15:05:34.000000000 +0200
|
||||||
|
+++ qt-x11-free-3.3.8/src/kernel/qscriptengine_x11.cpp 2007-04-11 15:22:19.000000000 +0200
|
||||||
|
@@ -1240,7 +1240,7 @@
|
||||||
|
int script = item->script;
|
||||||
|
Q_ASSERT(script >= QFont::Devanagari && script <= QFont::Sinhala);
|
||||||
|
const unsigned short script_base = 0x0900 + 0x80*(script-QFont::Devanagari);
|
||||||
|
- const unsigned short ra = script_base + 0x30;
|
||||||
|
+ unsigned short ra = script_base + 0x30; //it was const unsigned short ra before modification
|
||||||
|
const unsigned short halant = script_base + 0x4d;
|
||||||
|
const unsigned short nukta = script_base + 0x3c;
|
||||||
|
|
||||||
|
@@ -1278,6 +1278,11 @@
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+ unsigned short *chkAssamese=reordered.data();
|
||||||
|
+ if((script == QFont::Bengali) && (*chkAssamese==0x09F0)) //if it is assamese ra
|
||||||
|
+ {
|
||||||
|
+ ra = script_base + 0x70;
|
||||||
|
+ }
|
||||||
|
if (len != 1) {
|
||||||
|
unsigned short *uc = reordered.data();
|
||||||
|
bool beginsWithRa = FALSE;
|
@ -0,0 +1,11 @@
|
|||||||
|
--- qt-x11-free-3.3.8/src/kernel/qscriptengine_x11.cpp.orig 2007-04-11 15:05:34.000000000 +0200
|
||||||
|
+++ qt-x11-free-3.3.8/src/kernel/qscriptengine_x11.cpp 2007-04-11 15:22:19.000000000 +0200
|
||||||
|
@@ -601,7 +601,7 @@
|
||||||
|
None, None, None, None,
|
||||||
|
None, None, None, None,
|
||||||
|
|
||||||
|
- None, None, None, None,
|
||||||
|
+ Below, None, None, None,
|
||||||
|
None, None, None, None,
|
||||||
|
None, None, None, None,
|
||||||
|
None, None, None, None,
|
@ -0,0 +1,12 @@
|
|||||||
|
--- qt-x11-free-3.3.2/tools/designer/uic/main.cpp.sopwith 2004-06-16 17:14:17.000000000 -0400
|
||||||
|
+++ qt-x11-free-3.3.2/tools/designer/uic/main.cpp 2004-06-16 17:21:43.000000000 -0400
|
||||||
|
@@ -149,6 +149,9 @@
|
||||||
|
} else {
|
||||||
|
trmacro = &opt[1];
|
||||||
|
}
|
||||||
|
+ } else if ( opt == "nostdlib") {
|
||||||
|
+ QStringList x;
|
||||||
|
+ QApplication::setLibraryPaths(x);
|
||||||
|
} else if ( opt == "L" ) {
|
||||||
|
if ( !(n < argc-1) ) {
|
||||||
|
error = "Missing plugin path.";
|
@ -0,0 +1,14 @@
|
|||||||
|
--- qt-x11-free-3.3.2/src/kernel/qpixmap_x11.cpp.orig 2004-05-10 13:54:03.592289052 +0200
|
||||||
|
+++ qt-x11-free-3.3.2/src/kernel/qpixmap_x11.cpp 2004-05-10 13:56:10.165560473 +0200
|
||||||
|
@@ -288,8 +288,9 @@
|
||||||
|
{
|
||||||
|
#if defined(QT_CHECK_STATE)
|
||||||
|
if ( qApp->type() == QApplication::Tty ) {
|
||||||
|
- qWarning( "QPixmap: Cannot create a QPixmap when no GUI "
|
||||||
|
- "is being used" );
|
||||||
|
+// qWarning( "QPixmap: Cannot create a QPixmap when no GUI "
|
||||||
|
+// "is being used" );
|
||||||
|
+ ;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -0,0 +1,11 @@
|
|||||||
|
--- qt-x11-free-3.3.3/src/kernel/qapplication_x11.cpp.orig 2004-11-09 18:57:15.012843629 +0100
|
||||||
|
+++ qt-x11-free-3.3.3/src/kernel/qapplication_x11.cpp 2004-11-09 19:02:31.351637807 +0100
|
||||||
|
@@ -1412,7 +1412,7 @@
|
||||||
|
False, XA_ATOM, &type, &format, &nitems, &after, &data);
|
||||||
|
|
||||||
|
if (type == XA_ATOM && format == 32) {
|
||||||
|
- ts.writeBlock((const char *) data, nitems * 4);
|
||||||
|
+ ts.writeBlock((const char *) data, nitems * sizeof(long));
|
||||||
|
offset += nitems;
|
||||||
|
} else
|
||||||
|
after = 0;
|
@ -0,0 +1,11 @@
|
|||||||
|
--- qt-x11-free-3.3.6/src/kernel/qfontdatabase_x11.cpp.fonts 2004-08-05 16:42:06.000000000 +0200
|
||||||
|
+++ qt-x11-free-3.3.6/src/kernel/qfontdatabase_x11.cpp 2004-09-28 16:11:54.955374161 +0200
|
||||||
|
@@ -975,7 +981,7 @@
|
||||||
|
};
|
||||||
|
const XftDefaultFont defaults[] = {
|
||||||
|
{ "Serif", "serif", FALSE },
|
||||||
|
- { "Sans Serif", "sans-serif", FALSE },
|
||||||
|
+ { "Sans", "sans-serif", FALSE },
|
||||||
|
{ "Monospace", "monospace", TRUE },
|
||||||
|
{ 0, 0, FALSE }
|
||||||
|
};
|
@ -0,0 +1,92 @@
|
|||||||
|
--- qt-x11-free-3.3.6/src/widgets/qtextedit.cpp.preedit 2006-06-28 17:18:08.000000000 +0200
|
||||||
|
+++ qt-x11-free-3.3.6/src/widgets/qtextedit.cpp 2006-06-28 17:20:09.000000000 +0200
|
||||||
|
@@ -1906,9 +1906,6 @@
|
||||||
|
|
||||||
|
void QTextEdit::removeSelectedText( int selNum )
|
||||||
|
{
|
||||||
|
- if(selNum != 0)
|
||||||
|
- resetInputContext();
|
||||||
|
-
|
||||||
|
QTextCursor c1 = doc->selectionStartCursor( selNum );
|
||||||
|
c1.restoreState();
|
||||||
|
QTextCursor c2 = doc->selectionEndCursor( selNum );
|
||||||
|
@@ -3171,7 +3168,6 @@
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
- resetInputContext();
|
||||||
|
QTextParagraph *p = doc->paragAt( para );
|
||||||
|
if ( !p )
|
||||||
|
return;
|
||||||
|
@@ -3198,7 +3194,6 @@
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
- resetInputContext();
|
||||||
|
for ( int i = 0; i < (int)doc->numSelections(); ++i )
|
||||||
|
doc->removeSelection( i );
|
||||||
|
|
||||||
|
@@ -3240,7 +3235,6 @@
|
||||||
|
if ( d->optimMode )
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
|
- resetInputContext();
|
||||||
|
QTextParagraph *p = doc->paragAt( para );
|
||||||
|
if ( !p )
|
||||||
|
return;
|
||||||
|
@@ -3285,7 +3279,6 @@
|
||||||
|
if ( isReadOnly() || !doc->commands()->isUndoAvailable() || !undoEnabled )
|
||||||
|
return;
|
||||||
|
|
||||||
|
- resetInputContext();
|
||||||
|
for ( int i = 0; i < (int)doc->numSelections(); ++i )
|
||||||
|
doc->removeSelection( i );
|
||||||
|
|
||||||
|
@@ -3336,7 +3329,6 @@
|
||||||
|
if ( isReadOnly() || !doc->commands()->isRedoAvailable() || !undoEnabled )
|
||||||
|
return;
|
||||||
|
|
||||||
|
- resetInputContext();
|
||||||
|
for ( int i = 0; i < (int)doc->numSelections(); ++i )
|
||||||
|
doc->removeSelection( i );
|
||||||
|
|
||||||
|
@@ -3450,7 +3442,6 @@
|
||||||
|
{
|
||||||
|
if ( isReadOnly() )
|
||||||
|
return;
|
||||||
|
- resetInputContext();
|
||||||
|
normalCopy();
|
||||||
|
removeSelectedText();
|
||||||
|
updateMicroFocusHint();
|
||||||
|
@@ -3938,7 +3929,6 @@
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
- resetInputContext();
|
||||||
|
if ( !isModified() && isReadOnly() &&
|
||||||
|
this->context() == context && this->text() == text )
|
||||||
|
return;
|
||||||
|
@@ -4112,7 +4102,6 @@
|
||||||
|
if ( !p )
|
||||||
|
return;
|
||||||
|
|
||||||
|
- resetInputContext();
|
||||||
|
if ( index > p->length() - 1 )
|
||||||
|
index = p->length() - 1;
|
||||||
|
|
||||||
|
@@ -4169,7 +4158,6 @@
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
- resetInputContext();
|
||||||
|
if ( doc->hasSelection( selNum ) ) {
|
||||||
|
doc->removeSelection( selNum );
|
||||||
|
repaintChanged();
|
||||||
|
@@ -5072,7 +5060,6 @@
|
||||||
|
{
|
||||||
|
if ( dc == doc )
|
||||||
|
return;
|
||||||
|
- resetInputContext();
|
||||||
|
doc = dc;
|
||||||
|
delete cursor;
|
||||||
|
cursor = new QTextCursor( doc );
|
@ -0,0 +1,36 @@
|
|||||||
|
--- qt-x11-free-3.3.6/mkspecs/linux-g++/qmake.conf.orig 2006-06-21 15:37:53.000000000 +0200
|
||||||
|
+++ qt-x11-free-3.3.6/mkspecs/linux-g++/qmake.conf 2006-06-21 15:38:02.000000000 +0200
|
||||||
|
@@ -84,7 +84,7 @@
|
||||||
|
QMAKE_MOVE = mv -f
|
||||||
|
QMAKE_DEL_FILE = rm -f
|
||||||
|
QMAKE_DEL_DIR = rmdir
|
||||||
|
-QMAKE_STRIP =
|
||||||
|
-QMAKE_STRIPFLAGS_LIB += --strip-unneeded
|
||||||
|
+QMAKE_STRIP =
|
||||||
|
+QMAKE_STRIPFLAGS_LIB +=
|
||||||
|
QMAKE_CHK_DIR_EXISTS = test -d
|
||||||
|
QMAKE_MKDIR = mkdir -p
|
||||||
|
--- qt-x11-free-3.3.6/mkspecs/linux-g++-32/qmake.conf.orig 2006-06-21 15:37:09.000000000 +0200
|
||||||
|
+++ qt-x11-free-3.3.6/mkspecs/linux-g++-32/qmake.conf 2006-06-21 15:37:19.000000000 +0200
|
||||||
|
@@ -84,7 +84,7 @@
|
||||||
|
QMAKE_MOVE = mv -f
|
||||||
|
QMAKE_DEL_FILE = rm -f
|
||||||
|
QMAKE_DEL_DIR = rmdir
|
||||||
|
-QMAKE_STRIP = strip
|
||||||
|
-QMAKE_STRIPFLAGS_LIB += --strip-unneeded
|
||||||
|
+QMAKE_STRIP =
|
||||||
|
+QMAKE_STRIPFLAGS_LIB +=
|
||||||
|
QMAKE_CHK_DIR_EXISTS = test -d
|
||||||
|
QMAKE_MKDIR = mkdir -p
|
||||||
|
--- qt-x11-free-3.3.6/mkspecs/linux-g++-64/qmake.conf.orig 2006-06-21 15:36:23.000000000 +0200
|
||||||
|
+++ qt-x11-free-3.3.6/mkspecs/linux-g++-64/qmake.conf 2006-06-21 15:36:56.000000000 +0200
|
||||||
|
@@ -87,7 +87,7 @@
|
||||||
|
QMAKE_MOVE = mv -f
|
||||||
|
QMAKE_DEL_FILE = rm -f
|
||||||
|
QMAKE_DEL_DIR = rmdir
|
||||||
|
-QMAKE_STRIP = strip
|
||||||
|
-QMAKE_STRIPFLAGS_LIB += --strip-unneeded
|
||||||
|
+QMAKE_STRIP =
|
||||||
|
+QMAKE_STRIPFLAGS_LIB +=
|
||||||
|
QMAKE_CHK_DIR_EXISTS = test -d
|
||||||
|
QMAKE_MKDIR = mkdir -p
|
@ -0,0 +1,25 @@
|
|||||||
|
--- qt-x11-free-3.3.7/src/tools/qglobal.h.orig 2007-04-24 09:02:36.000000000 -0400
|
||||||
|
+++ qt-x11-free-3.3.7/src/tools/qglobal.h 2007-04-24 09:03:02.000000000 -0400
|
||||||
|
@@ -315,9 +315,9 @@
|
||||||
|
QString bloat. However, gcc 3.4 doesn't allow us to create references to
|
||||||
|
members of a packed struct. (Pointers are OK, because then you
|
||||||
|
supposedly know what you are doing.) */
|
||||||
|
-# if (defined(__arm__) || defined(__ARMEL__)) && !defined(QT_MOC_CPP)
|
||||||
|
+# if (defined(__arm__) || defined(__ARMEL__)) && !defined(QT_MOC_CPP) && !defined(__ARM_EABI__)
|
||||||
|
# define Q_PACKED __attribute__ ((packed))
|
||||||
|
-# if __GNUC__ == 3 && __GNUC_MINOR__ >= 4
|
||||||
|
+# if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
|
||||||
|
# define Q_NO_PACKED_REFERENCE
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
--- qt-x11-free-3.3.7/src/tools/qstring.h.orig 2007-04-24 09:03:11.000000000 -0400
|
||||||
|
+++ qt-x11-free-3.3.7/src/tools/qstring.h 2007-04-24 09:03:27.000000000 -0400
|
||||||
|
@@ -194,7 +194,7 @@
|
||||||
|
char latin1() const { return ucs > 0xff ? 0 : (char) ucs; }
|
||||||
|
ushort unicode() const { return ucs; }
|
||||||
|
#ifdef Q_NO_PACKED_REFERENCE
|
||||||
|
- ushort &unicode() { return *(&ucs); }
|
||||||
|
+ ushort &unicode() { return *((ushort *)&ucs); }
|
||||||
|
#else
|
||||||
|
ushort &unicode() { return ucs; }
|
||||||
|
#endif
|
@ -0,0 +1,14 @@
|
|||||||
|
--- qt-x11-free-3.3.7/src/tools/qsettings.cpp.tn 2006-11-09 20:53:25.000000000 +0100
|
||||||
|
+++ qt-x11-free-3.3.7/src/tools/qsettings.cpp 2006-11-09 20:59:53.000000000 +0100
|
||||||
|
@@ -994,7 +994,10 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
QFile file( filename + ".tmp" );
|
||||||
|
- if (! file.open(IO_WriteOnly)) {
|
||||||
|
+ mode_t old_umask = umask(0022);
|
||||||
|
+ bool f = file.open(IO_WriteOnly);
|
||||||
|
+ umask(old_umask);
|
||||||
|
+ if (! f) {
|
||||||
|
|
||||||
|
#ifdef QT_CHECK_STATE
|
||||||
|
qWarning("QSettings::sync: failed to open '%s' for writing",
|
@ -0,0 +1,19 @@
|
|||||||
|
diff -up qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp.orig qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp
|
||||||
|
--- qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp.orig 2009-02-24 11:32:27.000000000 +0100
|
||||||
|
+++ qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp 2009-02-24 11:33:43.000000000 +0100
|
||||||
|
@@ -57,13 +57,13 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// newer platform SDKs use SQLLEN instead of SQLINTEGER
|
||||||
|
-#ifdef SQLLEN
|
||||||
|
+#if defined(SQLLEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
|
||||||
|
# define QSQLLEN SQLLEN
|
||||||
|
#else
|
||||||
|
# define QSQLLEN SQLINTEGER
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#ifdef SQLULEN
|
||||||
|
+#if defined(SQLULEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
|
||||||
|
# define QSQLULEN SQLULEN
|
||||||
|
#else
|
||||||
|
# define QSQLULEN SQLUINTEGER
|
@ -0,0 +1,11 @@
|
|||||||
|
--- qt-x11-free-3.3.8b/mkspecs/macx-mwerks/mwerkstmpl.xml.orig 2010-06-30 01:00:36.000000000 +0200
|
||||||
|
+++ qt-x11-free-3.3.8b/mkspecs/macx-mwerks/mwerkstmpl.xml 2010-06-30 01:00:56.000000000 +0200
|
||||||
|
@@ -817,7 +817,7 @@
|
||||||
|
<PATHFORMAT>MacOS</PATHFORMAT>
|
||||||
|
</FILEREF>
|
||||||
|
</GROUP>
|
||||||
|
- <GROUP><Name>QtGenerated</NAME>
|
||||||
|
+ <GROUP><NAME>QtGenerated</NAME>
|
||||||
|
$$CODEWARRIOR_QPREPROCESS_GROUP
|
||||||
|
$$CODEWARRIOR_QPREPROCESSOUT_GROUP
|
||||||
|
</GROUP>
|
@ -0,0 +1,24 @@
|
|||||||
|
diff -up qt-x11-free-3.3.8b/tools/designer/uic/main.cpp.orig qt-x11-free-3.3.8b/tools/designer/uic/main.cpp
|
||||||
|
--- qt-x11-free-3.3.8b/tools/designer/uic/main.cpp.orig 2008-01-24 13:25:29.000000000 +0100
|
||||||
|
+++ qt-x11-free-3.3.8b/tools/designer/uic/main.cpp 2008-01-24 13:28:17.000000000 +0100
|
||||||
|
@@ -320,7 +320,7 @@ int main( int argc, char * argv[] )
|
||||||
|
out << "/****************************************************************************" << endl;
|
||||||
|
out << "** Form "<< (impl? "implementation" : "interface") << " generated from reading ui file '" << fileName << "'" << endl;
|
||||||
|
out << "**" << endl;
|
||||||
|
- out << "** Created: " << QDateTime::currentDateTime().toString() << endl;
|
||||||
|
+ out << "** Created by User Interface Compiler" << endl;
|
||||||
|
out << "**" << endl;
|
||||||
|
out << "** WARNING! All changes made in this file will be lost!" << endl;
|
||||||
|
out << "****************************************************************************/" << endl << endl;
|
||||||
|
diff -up qt-x11-free-3.3.8b/tools/designer/uic/embed.cpp.orig qt-x11-free-3.3.8b/tools/designer/uic/embed.cpp
|
||||||
|
--- qt-x11-free-3.3.8b/tools/designer/uic/embed.cpp.orig 2008-01-24 13:28:30.000000000 +0100
|
||||||
|
+++ qt-x11-free-3.3.8b/tools/designer/uic/embed.cpp 2008-01-24 13:29:10.000000000 +0100
|
||||||
|
@@ -137,7 +137,7 @@ void Uic::embed( QTextStream& out, const
|
||||||
|
for ( it = images.begin(); it != images.end(); ++it )
|
||||||
|
out << "** " << *it << "\n";
|
||||||
|
out << "**\n";
|
||||||
|
- out << "** Created: " << QDateTime::currentDateTime().toString() << "\n";
|
||||||
|
+ out << "** Created by The User Interface Compiler" << "\n";
|
||||||
|
out << "**\n";
|
||||||
|
out << "** WARNING! All changes made in this file will be lost!\n";
|
||||||
|
out << "****************************************************************************/\n";
|
@ -0,0 +1,33 @@
|
|||||||
|
# Qt initialization script (csh)
|
||||||
|
|
||||||
|
# In multilib environments there is a preferred architecture, 64 bit over 32 bit in x86_64,
|
||||||
|
# 32 bit over 64 bit in ppc64. When a conflict is found between two packages corresponding
|
||||||
|
# with different arches, the installed file is the one from the preferred arch. This is
|
||||||
|
# very common for executables in /usr/bin, for example. If the file /usr/bin/foo is found
|
||||||
|
# in an x86_64 package and in an i386 package, the executable from x86_64 will be installe
|
||||||
|
|
||||||
|
if ( $?QTDIR ) then
|
||||||
|
exit
|
||||||
|
endif
|
||||||
|
|
||||||
|
switch (`uname -m`)
|
||||||
|
case x86_64:
|
||||||
|
case ia64:
|
||||||
|
case s390x:
|
||||||
|
set QTPREFIXES = "/usr/lib64/qt-3.3 /usr/lib/qt-3.3"
|
||||||
|
breaksw
|
||||||
|
case *:
|
||||||
|
set QTPREFIXES = "/usr/lib/qt-3.3 /usr/lib64/qt-3.3"
|
||||||
|
endsw
|
||||||
|
|
||||||
|
foreach QTPREFIX ( $QTPREFIXES )
|
||||||
|
test -d "$QTPREFIX" && setenv QTDIR $QTPREFIX && break
|
||||||
|
end
|
||||||
|
unset QTPREFIX QTPREFIXES
|
||||||
|
|
||||||
|
if ( "${path}" !~ *$QTDIR/bin* ) then
|
||||||
|
set path = ( $QTDIR/bin $path )
|
||||||
|
endif
|
||||||
|
|
||||||
|
setenv QTINC $QTDIR/include
|
||||||
|
setenv QTLIB $QTDIR/lib
|
@ -0,0 +1,32 @@
|
|||||||
|
# Qt initialization script (sh)
|
||||||
|
|
||||||
|
# In multilib environments there is a preferred architecture, 64 bit over 32 bit in x86_64,
|
||||||
|
# 32 bit over 64 bit in ppc64. When a conflict is found between two packages corresponding
|
||||||
|
# with different arches, the installed file is the one from the preferred arch. This is
|
||||||
|
# very common for executables in /usr/bin, for example. If the file /usr/bin/foo is found
|
||||||
|
# in an x86_64 package and in an i386 package, the executable from x86_64 will be installe
|
||||||
|
|
||||||
|
if [ -z "${QTDIR}" ]; then
|
||||||
|
|
||||||
|
case `uname -m` in
|
||||||
|
x86_64 | ia64 | s390x )
|
||||||
|
QT_PREFIXES="/usr/lib64/qt-3.3 /usr/lib/qt-3.3" ;;
|
||||||
|
* )
|
||||||
|
QT_PREFIXES="/usr/lib/qt-3.3 /usr/lib64/qt-3.3" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
for QTDIR in ${QT_PREFIXES} ; do
|
||||||
|
test -d "${QTDIR}" && break
|
||||||
|
done
|
||||||
|
unset QT_PREFIXES
|
||||||
|
|
||||||
|
if ! echo ${PATH} | /bin/grep -q $QTDIR/bin ; then
|
||||||
|
PATH=$QTDIR/bin:${PATH}
|
||||||
|
fi
|
||||||
|
|
||||||
|
QTINC="$QTDIR/include"
|
||||||
|
QTLIB="$QTDIR/lib"
|
||||||
|
|
||||||
|
export QTDIR QTINC QTLIB PATH
|
||||||
|
|
||||||
|
fi
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,9 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Qt3 Config
|
||||||
|
Comment=Configure Qt3 behavior, styles, fonts
|
||||||
|
Exec=qtconfig
|
||||||
|
Icon=qtconfig3
|
||||||
|
Terminal=false
|
||||||
|
Encoding=UTF-8
|
||||||
|
Type=Application
|
||||||
|
Categories=Qt;Settings;
|
@ -0,0 +1,113 @@
|
|||||||
|
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%define _variant .opt
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# TQT include files may conflict with QT4 includes, so we move them to a subdirectory.
|
||||||
|
# Later compiled Trinity products should be aware of that !
|
||||||
|
%define _includedir %{_prefix}/include/tqt
|
||||||
|
|
||||||
|
# Currently we build with (RHEL 6):
|
||||||
|
# automake-1.11.1-1.2.el6.noarch
|
||||||
|
# autoconf-2.63-5.1.el6.noarch
|
||||||
|
# libtool-2.2.6-15.5.el6.x86_64
|
||||||
|
# m4-1.4.13-5.el6.x86_64
|
||||||
|
|
||||||
|
# Currently we build with (Fedora 15):
|
||||||
|
# automake-1.11.1-5.fc14.noarch
|
||||||
|
# autoconf-2.63-5.1.f15.noarch (backport from EL6)
|
||||||
|
# libtool-2.2.6-15.5.f15.x86_64 (backport from EL6)
|
||||||
|
# m4-1.4.13-5.f15.x86_64 (backport from EL6)
|
||||||
|
|
||||||
|
Name: tqtinterface
|
||||||
|
Version: 3.5.12
|
||||||
|
Release: 7%{?dist}%{?_variant}
|
||||||
|
License: GPL
|
||||||
|
Summary: Trinity QT Interface
|
||||||
|
Vendor: Trinity Project
|
||||||
|
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||||
|
|
||||||
|
Prefix: %{_prefix}
|
||||||
|
Source0: http://mirror3.tokra.lv/releases/3.5.12/dependencies/tqtinterface-3.5.12.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: autoconf automake libtool m4
|
||||||
|
BuildRequires: qt3-devel >= 3.3.8b
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libXi-devel
|
||||||
|
BuildRequires: pth-devel
|
||||||
|
|
||||||
|
Requires: qt3 >= 3.3.8b
|
||||||
|
|
||||||
|
%description
|
||||||
|
Trinity QT Interface
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Requires: %{name}
|
||||||
|
Summary: %{name} - Development files
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development files for %{name}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n dependencies/%{name}
|
||||||
|
|
||||||
|
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||||
|
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||||
|
%__make -f admin/Makefile.common
|
||||||
|
|
||||||
|
%build
|
||||||
|
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||||
|
CFLAGS=$( pkg-config --libs qt-mt )
|
||||||
|
%configure \
|
||||||
|
--enable-new-ldflags \
|
||||||
|
--disable-dependency-tracking \
|
||||||
|
--disable-debug --disable-warnings --enable-final
|
||||||
|
|
||||||
|
%__make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%__rm -rf %{?buildroot}
|
||||||
|
%__mkdir_p %{?buildroot}%{_includedir}
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%__rm -rf %{?buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/*.la
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Sep 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-7
|
||||||
|
- Import to GIT
|
||||||
|
- Removes cmake stuff, build with autotools only
|
||||||
|
|
||||||
|
* Thu Aug 25 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-6
|
||||||
|
- Use '/etc/profile.d/qt.sh' to source QT environment
|
||||||
|
|
||||||
|
* Tue Aug 23 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-5
|
||||||
|
- Add missing BuildRequires
|
||||||
|
|
||||||
|
* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-4
|
||||||
|
- Correct macro to install under "/opt", if desired
|
||||||
|
|
||||||
|
* Wed Dec 22 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-3
|
||||||
|
- Re-add '.la' files, needed for kdelibs compilation
|
||||||
|
|
||||||
|
* Sat Dec 18 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
|
||||||
|
- Add cmake support
|
||||||
|
- Removes '.la' files
|
||||||
|
|
||||||
|
* Fri Dec 17 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
|
||||||
|
- Add macro _trinity_prefix to define custom installation prefix (ex: /opt/trinity)
|
||||||
|
- Move TQT includes into 'tqt' subdirectory to avoid conflict with 'qt-devel' package (from KDE4)
|
||||||
|
|
||||||
|
* Tue Dec 07 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-0
|
||||||
|
- Initial version
|
||||||
|
|
@ -0,0 +1,109 @@
|
|||||||
|
# Default version for this component
|
||||||
|
%if "%{?version}" == ""
|
||||||
|
%define version 3.5.13
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%define _variant .opt
|
||||||
|
%define _libdir %{_prefix}/lib
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# TQT include files may conflict with QT4 includes, so we move them to a subdirectory.
|
||||||
|
# Later compiled Trinity products should be aware of that !
|
||||||
|
%define _includedir %{_prefix}/include/tqt
|
||||||
|
|
||||||
|
Name: tqtinterface
|
||||||
|
Version: %{version}
|
||||||
|
Release: 0%{?dist}%{?_variant}
|
||||||
|
License: GPL
|
||||||
|
Summary: Trinity QT Interface
|
||||||
|
Vendor: Trinity Project
|
||||||
|
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||||
|
|
||||||
|
Prefix: %{_prefix}
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: cmake >= 2.8
|
||||||
|
BuildRequires: qt3-devel >= 3.3.8d
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libXi-devel
|
||||||
|
BuildRequires: pth-devel
|
||||||
|
|
||||||
|
Requires: qt3 >= 3.3.8d
|
||||||
|
|
||||||
|
%description
|
||||||
|
Trinity QT Interface
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Requires: %{name}
|
||||||
|
Summary: %{name} - Development files
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development files for %{name}
|
||||||
|
|
||||||
|
%package -n tde-cmake-macros
|
||||||
|
Requires: %{name}-devel
|
||||||
|
Summary: Cmake macros for building TDE
|
||||||
|
|
||||||
|
%description -n tde-cmake-macros
|
||||||
|
%{summary}
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n dependencies/%{name}
|
||||||
|
|
||||||
|
%build
|
||||||
|
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||||
|
|
||||||
|
%__mkdir build
|
||||||
|
cd build
|
||||||
|
%__cmake \
|
||||||
|
-DQT_PREFIX_DIR=${QTDIR} \
|
||||||
|
-DQT_VERSION=3 \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||||
|
-DPKGCONFIG_INSTALL_DIR=%{_libdir}/pkgconfig \
|
||||||
|
-DBIN_INSTALL_DIR=%{_bindir} \
|
||||||
|
-DINCLUDE_INSTALL_DIR=%{_includedir} \
|
||||||
|
-DLIB_INSTALL_DIR=%{_libdir} \
|
||||||
|
..
|
||||||
|
|
||||||
|
%__make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%__rm -rf %{?buildroot}
|
||||||
|
%__mkdir_p %{?buildroot}%{_includedir}
|
||||||
|
%make_install -C build
|
||||||
|
|
||||||
|
# Fix 'tqt.pc': UIC executable is not correct
|
||||||
|
sed -i %{?buildroot}%{_libdir}/pkgconfig/tqt.pc \
|
||||||
|
-e '/^uic_executable=.*/ s,^\(uic_executable=\).*,\1%{_bindir}/uic-tqt,'
|
||||||
|
|
||||||
|
# Install 'cmake' modules for a specific package (for later use)
|
||||||
|
%__mkdir_p %{?buildroot}%{_usr}/share/cmake/Modules
|
||||||
|
for i in cmake/modules/*.cmake; do
|
||||||
|
install -m 644 $i %{?buildroot}%{_usr}/share/cmake/Modules
|
||||||
|
done
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%__rm -rf %{?buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/*.la
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
|
%files -n tde-cmake-macros
|
||||||
|
%{_usr}/share/cmake/Modules/*.cmake
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Aug 28 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13pre.svn20110828-0.el6
|
||||||
|
- Import to GIT
|
||||||
|
- Built with future TDE version (3.5.13 + cmake + QT3.3.8d)
|
@ -0,0 +1,80 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd "$( dirname "$0" )"
|
||||||
|
|
||||||
|
clear
|
||||||
|
cat <<EOF
|
||||||
|
This script generates RPM of TDE from source tarball.
|
||||||
|
Please choose a TDE component to build.
|
||||||
|
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# Checks RPMBUILD environment
|
||||||
|
if [ $( rpm -E "%{rhel}" ) = "%{rhel}" ] && [ $( rpm -E "%{fedora}" ) = "%{fedora}" ]; then
|
||||||
|
cat <<EOF
|
||||||
|
Error: RPM macro %rhel or %fedora must be set to the distribution version to build !
|
||||||
|
E.g:
|
||||||
|
%rhel 6
|
||||||
|
or
|
||||||
|
%fedora 15
|
||||||
|
EOF
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
select COMP in $( cut -f1 "components.txt" ) ; do
|
||||||
|
# Gets package version from 'components.txt' file
|
||||||
|
VERSION=$( awk '{ if ($1 == "'${COMP}'") { print $2; } }' components.txt )
|
||||||
|
|
||||||
|
# If no version is set in text file, get version number from source tarball name
|
||||||
|
if [ -z "${VERSION}" ]; then
|
||||||
|
set $( cd "${COMP}"; echo ${COMP##*/}*.tar.gz)
|
||||||
|
if [ $# -gt 1 ]; then
|
||||||
|
select VERSION in $*; do break; done
|
||||||
|
elif [ -r "${COMP}/$1" ]; then
|
||||||
|
VERSION="$1"
|
||||||
|
else
|
||||||
|
echo "No source tarball found for '${COMP}' !"
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
VERSION="${VERSION##${COMP##*/}-}"
|
||||||
|
VERSION="${VERSION%%.tar.gz}"
|
||||||
|
# If version is defined in spec file: appends the date
|
||||||
|
else
|
||||||
|
VERSION="${VERSION}.$(date +%Y%m%d)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Chooses a spec file (if many)
|
||||||
|
set $( cd "${COMP}"; echo *.spec )
|
||||||
|
if [ $# -gt 1 ]; then
|
||||||
|
select SPEC in $*; do break; done
|
||||||
|
elif [ -r "${COMP}/$1" ]; then
|
||||||
|
SPEC="$1"
|
||||||
|
else
|
||||||
|
echo "Fatal: no spec file found !"
|
||||||
|
exit 2
|
||||||
|
fi
|
||||||
|
|
||||||
|
cat <<EOF
|
||||||
|
|
||||||
|
About to build '${COMP}':
|
||||||
|
Version: '${VERSION}'
|
||||||
|
Spec file: '${SPEC}'
|
||||||
|
|
||||||
|
Press ENTER to build, or CTRL+C to abort.
|
||||||
|
EOF
|
||||||
|
read rep
|
||||||
|
|
||||||
|
# Specific prefix for installation of some components
|
||||||
|
case "${COMP##*/}" in
|
||||||
|
"qt3") PREFIX="/usr";;
|
||||||
|
esac
|
||||||
|
|
||||||
|
set -x
|
||||||
|
rpmbuild -ba \
|
||||||
|
--define "_sourcedir ${PWD}/${COMP}" \
|
||||||
|
--define "_prefix ${PREFIX:-/opt/trinity}" \
|
||||||
|
--define "version ${VERSION:-3.5.13}" \
|
||||||
|
${COMP}/${SPEC} || exit 1
|
||||||
|
set +x
|
||||||
|
done
|
||||||
|
|
@ -0,0 +1,60 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd "$( dirname "$0" )"
|
||||||
|
|
||||||
|
# Default TDE version (if unspecified in 'components.txt')
|
||||||
|
DEFAULT_VERSION="3.5.12.99"
|
||||||
|
|
||||||
|
clear
|
||||||
|
cat <<EOF
|
||||||
|
This script generates a source tarball of TDE from the SVN/GIT repository.
|
||||||
|
Please choose a TDE component to archive or build.
|
||||||
|
|
||||||
|
EOF
|
||||||
|
|
||||||
|
|
||||||
|
##### CHOOSE A TDE COMPONENT #####
|
||||||
|
PS3="Enter number: "
|
||||||
|
select COMP in $( cut -f1 components.txt ) ; do
|
||||||
|
ARCHIVEDIR="${PWD}/${COMP}"
|
||||||
|
[ -d "${ARCHIVEDIR}" ] || mkdir -p "${ARCHIVEDIR}"
|
||||||
|
|
||||||
|
VERSION=$( awk '{ if ($1 == "'${COMP}'") { print $2; } }' components.txt )
|
||||||
|
if [ -z "${VERSION}" ]; then VERSION=${DEFAULT_VERSION}; fi
|
||||||
|
ARCHIVENAME=${COMP##*/}-${VERSION}.$(date +%Y%m%d).tar.gz
|
||||||
|
|
||||||
|
# List existing tarballs
|
||||||
|
if [ -e ${ARCHIVEDIR}/${COMP##*/}*.tar.gz ]; then
|
||||||
|
echo
|
||||||
|
echo "You currently have the following tarball(s): "
|
||||||
|
for i in ${ARCHIVEDIR}/${COMP##*/}*.tar.gz; do echo " ${i##*/}"; done
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Press ENTER to download a new version '${ARCHIVENAME}', or CTRL+C to abort."
|
||||||
|
read rep
|
||||||
|
|
||||||
|
TMPDIRTDE=$(mktemp -d)
|
||||||
|
pushd "${TMPDIRTDE}" >/dev/null
|
||||||
|
mkdir -p "${TMPDIRTDE}/${COMP}"
|
||||||
|
pushd "${COMP}/.." >/dev/null
|
||||||
|
echo "Extracting '${COMP}' from SVN ..."
|
||||||
|
case "${COMP##*/}" in
|
||||||
|
"qt3") git clone http://scm.trinitydesktop.org/scm/git/tde; mv tde/main/dependencies/qt3 . ;;
|
||||||
|
*) svn export --force --quiet svn://anonsvn.kde.org/home/kde/branches/trinity/${COMP};;
|
||||||
|
esac
|
||||||
|
popd >/dev/null
|
||||||
|
echo "Creating archive '${ARCHIVENAME}' ..."
|
||||||
|
tar cfz ${ARCHIVEDIR}/${ARCHIVENAME} ${COMP}
|
||||||
|
popd >/dev/null
|
||||||
|
echo "Cleaning temporary directory ..."
|
||||||
|
rm -rf "${TMPDIRTDE}"
|
||||||
|
cat <<EOF
|
||||||
|
|
||||||
|
Resulting archive:
|
||||||
|
EOF
|
||||||
|
\ls -l ${ARCHIVEDIR}/${ARCHIVENAME}
|
||||||
|
echo
|
||||||
|
echo "Have a nice day !"
|
||||||
|
break
|
||||||
|
done
|
@ -0,0 +1,19 @@
|
|||||||
|
*** kdebase/kdesktop/krootwm.cc.ori 2011-07-20 14:14:25.822954866 +0200
|
||||||
|
--- kdebase/kdesktop/krootwm.cc 2011-07-20 14:16:09.964002976 +0200
|
||||||
|
***************
|
||||||
|
*** 760,766 ****
|
||||||
|
KConfigGroupSaver gs(KGlobal::config(), "General");
|
||||||
|
TQString terminal = KGlobal::config()->readPathEntry("TerminalApplication", "konsole");
|
||||||
|
|
||||||
|
! *p << terminal << "--workdir=" + KGlobalSettings::desktopPath() + "/";
|
||||||
|
|
||||||
|
p->start(KProcess::DontCare);
|
||||||
|
|
||||||
|
--- 760,766 ----
|
||||||
|
KConfigGroupSaver gs(KGlobal::config(), "General");
|
||||||
|
TQString terminal = KGlobal::config()->readPathEntry("TerminalApplication", "konsole");
|
||||||
|
|
||||||
|
! *p << terminal;
|
||||||
|
|
||||||
|
p->start(KProcess::DontCare);
|
||||||
|
|
@ -0,0 +1,78 @@
|
|||||||
|
*** kdebase/kioslave/media/mediamanager/halbackend.cpp.orig 2010-09-30 00:24:28.000000000 +0200
|
||||||
|
--- kdebase/kioslave/media/mediamanager/halbackend.cpp 2011-07-20 16:39:40.933056051 +0200
|
||||||
|
***************
|
||||||
|
*** 873,878 ****
|
||||||
|
--- 873,905 ----
|
||||||
|
s_HALBackend->DeviceCondition(udi, condition_name);
|
||||||
|
}
|
||||||
|
|
||||||
|
+ TQStringList HALBackend::getHALmountoptions(TQString udi)
|
||||||
|
+ {
|
||||||
|
+ const char* _ppt_string;
|
||||||
|
+ LibHalVolume* volume;
|
||||||
|
+ LibHalDrive* drive;
|
||||||
|
+
|
||||||
|
+ TQString _ppt_QString;
|
||||||
|
+
|
||||||
|
+ volume = libhal_volume_from_udi( m_halContext, udi.latin1() );
|
||||||
|
+ if( volume )
|
||||||
|
+ drive = libhal_drive_from_udi( m_halContext, libhal_volume_get_storage_device_udi( volume ) );
|
||||||
|
+ else
|
||||||
|
+ drive = libhal_drive_from_udi( m_halContext, udi.latin1() );
|
||||||
|
+
|
||||||
|
+ if( !drive )
|
||||||
|
+ return TQString::null;
|
||||||
|
+
|
||||||
|
+ if( volume )
|
||||||
|
+ _ppt_string = libhal_volume_policy_get_mount_options ( drive, volume, NULL );
|
||||||
|
+ else
|
||||||
|
+ _ppt_string = libhal_drive_policy_get_mount_options ( drive, NULL );
|
||||||
|
+
|
||||||
|
+ _ppt_QString = TQString(_ppt_string ? _ppt_string : "");
|
||||||
|
+
|
||||||
|
+ return TQStringList::split(",",_ppt_QString);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
TQStringList HALBackend::mountoptions(const TQString &name)
|
||||||
|
{
|
||||||
|
const Medium* medium = m_mediaList.findById(name);
|
||||||
|
***************
|
||||||
|
*** 1472,1481 ****
|
||||||
|
--- 1499,1524 ----
|
||||||
|
soptions << TQString("data=ordered");
|
||||||
|
}
|
||||||
|
|
||||||
|
+ TQStringList hal_mount_options = getHALmountoptions(medium->id());
|
||||||
|
+ for (TQValueListIterator<TQString> it=hal_mount_options.begin();it!=hal_mount_options.end();it++)
|
||||||
|
+ {
|
||||||
|
+ soptions << *it;
|
||||||
|
+ kdDebug()<<"HALOption: "<<*it<<endl;
|
||||||
|
+ if ((*it).startsWith("iocharset="))
|
||||||
|
+ {
|
||||||
|
+ soptions.remove("utf8");
|
||||||
|
+ kdDebug()<<"\"iocharset=\" found. Removing \"utf8\" from options."<<endl;
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+
|
||||||
|
const char **options = new const char*[soptions.size() + 1];
|
||||||
|
uint noptions = 0;
|
||||||
|
for (TQStringList::ConstIterator it = soptions.begin(); it != soptions.end(); ++it, ++noptions)
|
||||||
|
+ {
|
||||||
|
options[noptions] = (*it).latin1();
|
||||||
|
+ kdDebug()<<"Option: "<<*it<<endl;
|
||||||
|
+ }
|
||||||
|
options[noptions] = NULL;
|
||||||
|
|
||||||
|
TQString qerror = i18n("Cannot mount encrypted drives!");
|
||||||
|
diff -r -u kdebase-3.5.5a.dfsg.1.orig/kioslave/media/mediamanager/halbackend.h kdebase-3.5.5a.dfsg.1/kioslave/media/mediamanager/halbackend.h
|
||||||
|
--- kdebase-3.5.5a.dfsg.1.orig/kioslave/media/mediamanager/halbackend.h 2007-01-25 12:34:07.133446000 +0300
|
||||||
|
+++ kdebase-3.5.5a.dfsg.1/kioslave/media/mediamanager/halbackend.h 2007-01-25 16:33:54.413638693 +0300
|
||||||
|
@@ -192,6 +192,7 @@
|
||||||
|
const char* message
|
||||||
|
);
|
||||||
|
|
||||||
|
+ QStringList getHALmountoptions(QString udi);
|
||||||
|
/* HAL and DBus structures */
|
||||||
|
private:
|
||||||
|
/**
|
@ -0,0 +1,45 @@
|
|||||||
|
diff -rcb kdebase.ORI/kdesu/kdesu/sudlg.cpp kdebase/kdesu/kdesu/sudlg.cpp
|
||||||
|
*** kdebase.ORI/kdesu/kdesu/sudlg.cpp 2010-12-17 22:55:07.725798945 +0100
|
||||||
|
--- kdebase/kdesu/kdesu/sudlg.cpp 2010-12-17 22:55:49.378797283 +0100
|
||||||
|
***************
|
||||||
|
*** 15,21 ****
|
||||||
|
#include "sudlg.h"
|
||||||
|
|
||||||
|
KDEsuDialog::KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep,const TQString& icon, bool withIgnoreButton)
|
||||||
|
! : KPasswordDialog(Password, enableKeep, (withIgnoreButton ? User1:NoDefault), icon)
|
||||||
|
{
|
||||||
|
KConfig* config = KGlobal::config();
|
||||||
|
config->setGroup("super-user-command");
|
||||||
|
--- 15,21 ----
|
||||||
|
#include "sudlg.h"
|
||||||
|
|
||||||
|
KDEsuDialog::KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep,const TQString& icon, bool withIgnoreButton)
|
||||||
|
! : KPasswordDialog(Password, enableKeep, 0, icon)
|
||||||
|
{
|
||||||
|
KConfig* config = KGlobal::config();
|
||||||
|
config->setGroup("super-user-command");
|
||||||
|
***************
|
||||||
|
*** 34,45 ****
|
||||||
|
} else {
|
||||||
|
if (m_User == "root") {
|
||||||
|
prompt = i18n("The action you requested needs root privileges. "
|
||||||
|
! "Please enter root's password below or click "
|
||||||
|
! "Ignore to continue with your current privileges.");
|
||||||
|
} else {
|
||||||
|
prompt = i18n("The action you requested needs additional privileges. "
|
||||||
|
! "Please enter the password for \"%1\" below or click "
|
||||||
|
! "Ignore to continue with your current privileges.").arg(m_User);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
setPrompt(prompt);
|
||||||
|
--- 34,43 ----
|
||||||
|
} else {
|
||||||
|
if (m_User == "root") {
|
||||||
|
prompt = i18n("The action you requested needs root privileges. "
|
||||||
|
! "Please enter root's password below.");
|
||||||
|
} else {
|
||||||
|
prompt = i18n("The action you requested needs additional privileges. "
|
||||||
|
! "Please enter the password for \"%1\" below.").arg(m_User);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
setPrompt(prompt);
|
@ -0,0 +1,29 @@
|
|||||||
|
Index: kdebase/kcontrol/iccconfig/iccconfig.cpp
|
||||||
|
===================================================================
|
||||||
|
--- kdebase/kcontrol/iccconfig/iccconfig.cpp (revision 1220926)
|
||||||
|
+++ kdebase/kcontrol/iccconfig/iccconfig.cpp (revision 1220927)
|
||||||
|
@@ -286,7 +286,7 @@
|
||||||
|
base->deleteProfileButton->setFixedWidth(90);
|
||||||
|
|
||||||
|
XRROutputInfo *output_info;
|
||||||
|
- KRandrSimpleAPI *randrsimple = new KRandrSimpleAPI::KRandrSimpleAPI();
|
||||||
|
+ KRandrSimpleAPI *randrsimple = new KRandrSimpleAPI();
|
||||||
|
|
||||||
|
config->setReadDefaults( useDefaults );
|
||||||
|
|
||||||
|
@@ -356,7 +356,7 @@
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
int j;
|
||||||
|
- KRandrSimpleAPI *randrsimple = new KRandrSimpleAPI::KRandrSimpleAPI();
|
||||||
|
+ KRandrSimpleAPI *randrsimple = new KRandrSimpleAPI();
|
||||||
|
|
||||||
|
// Write system configuration
|
||||||
|
systemconfig->setGroup(NULL);
|
||||||
|
@@ -408,4 +408,4 @@
|
||||||
|
" for a more lifelike and vibrant image.");
|
||||||
|
}
|
||||||
|
|
||||||
|
-#include "iccconfig.moc"
|
||||||
|
\ No newline at end of file
|
||||||
|
+#include "iccconfig.moc"
|
@ -0,0 +1,19 @@
|
|||||||
|
*** kdebase/ksmserver/shutdowndlg.cpp.ORI 2011-08-23 21:42:55.206965177 +0200
|
||||||
|
--- kdebase/ksmserver/shutdowndlg.cpp 2011-08-23 21:43:26.429965029 +0200
|
||||||
|
***************
|
||||||
|
*** 80,86 ****
|
||||||
|
{
|
||||||
|
DCOPRef("kicker", "KMenu").call("hideMenu"); // Make sure the K Menu is completely removed from the screen before taking a snapshot...
|
||||||
|
m_grayImage = TQPixmap::grabWindow(qt_xrootwin(), 0, 0, TQApplication::desktop()->width(), TQApplication::desktop()->height()).convertToImage();
|
||||||
|
! m_unfadedImage = TQImage::TQImage();
|
||||||
|
resize(0, 0);
|
||||||
|
setShown(true);
|
||||||
|
TQTimer::singleShot( 500, this, TQT_SLOT( slotPaintEffect() ) );
|
||||||
|
--- 80,86 ----
|
||||||
|
{
|
||||||
|
DCOPRef("kicker", "KMenu").call("hideMenu"); // Make sure the K Menu is completely removed from the screen before taking a snapshot...
|
||||||
|
m_grayImage = TQPixmap::grabWindow(qt_xrootwin(), 0, 0, TQApplication::desktop()->width(), TQApplication::desktop()->height()).convertToImage();
|
||||||
|
! m_unfadedImage = TQImage();
|
||||||
|
resize(0, 0);
|
||||||
|
setShown(true);
|
||||||
|
TQTimer::singleShot( 500, this, TQT_SLOT( slotPaintEffect() ) );
|
@ -0,0 +1,20 @@
|
|||||||
|
diff -rcb kdebase/ksmserver/shutdowndlg.h kdebase.patch/ksmserver/shutdowndlg.h
|
||||||
|
*** kdebase/ksmserver/shutdowndlg.h Sat Sep 25 23:33:51 2010
|
||||||
|
--- kdebase.patch/ksmserver/shutdowndlg.h Thu Dec 9 14:58:43 2010
|
||||||
|
***************
|
||||||
|
*** 32,38 ****
|
||||||
|
|
||||||
|
/* We acknowledge the the dbus API is unstable */
|
||||||
|
#define DBUS_API_SUBJECT_TO_CHANGE
|
||||||
|
! #include <dbus/connection.h>
|
||||||
|
#include <libhal.h>
|
||||||
|
|
||||||
|
// The (singleton) widget that makes/fades the desktop gray.
|
||||||
|
--- 32,38 ----
|
||||||
|
|
||||||
|
/* We acknowledge the the dbus API is unstable */
|
||||||
|
#define DBUS_API_SUBJECT_TO_CHANGE
|
||||||
|
! #include <dbus/dbus.h>
|
||||||
|
#include <libhal.h>
|
||||||
|
|
||||||
|
// The (singleton) widget that makes/fades the desktop gray.
|
@ -0,0 +1,45 @@
|
|||||||
|
diff -rcb kdebase.ORI/kdesu/kdesu/sudlg.cpp kdebase/kdesu/kdesu/sudlg.cpp
|
||||||
|
*** kdebase.ORI/kdesu/kdesu/sudlg.cpp 2010-12-17 22:55:07.725798945 +0100
|
||||||
|
--- kdebase/kdesu/kdesu/sudlg.cpp 2010-12-17 22:55:49.378797283 +0100
|
||||||
|
***************
|
||||||
|
*** 15,21 ****
|
||||||
|
#include "sudlg.h"
|
||||||
|
|
||||||
|
KDEsuDialog::KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep,const TQString& icon, bool withIgnoreButton)
|
||||||
|
! : KPasswordDialog(Password, enableKeep, (withIgnoreButton ? User1:NoDefault), icon)
|
||||||
|
{
|
||||||
|
KConfig* config = KGlobal::config();
|
||||||
|
config->setGroup("super-user-command");
|
||||||
|
--- 15,21 ----
|
||||||
|
#include "sudlg.h"
|
||||||
|
|
||||||
|
KDEsuDialog::KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep,const TQString& icon, bool withIgnoreButton)
|
||||||
|
! : KPasswordDialog(Password, enableKeep, 0, icon)
|
||||||
|
{
|
||||||
|
KConfig* config = KGlobal::config();
|
||||||
|
config->setGroup("super-user-command");
|
||||||
|
***************
|
||||||
|
*** 34,45 ****
|
||||||
|
} else {
|
||||||
|
if (m_User == "root") {
|
||||||
|
prompt = i18n("The action you requested needs root privileges. "
|
||||||
|
! "Please enter root's password below or click "
|
||||||
|
! "Ignore to continue with your current privileges.");
|
||||||
|
} else {
|
||||||
|
prompt = i18n("The action you requested needs additional privileges. "
|
||||||
|
! "Please enter the password for \"%1\" below or click "
|
||||||
|
! "Ignore to continue with your current privileges.").arg(static_cast<const char *>(m_User));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
setPrompt(prompt);
|
||||||
|
--- 34,43 ----
|
||||||
|
} else {
|
||||||
|
if (m_User == "root") {
|
||||||
|
prompt = i18n("The action you requested needs root privileges. "
|
||||||
|
! "Please enter root's password below.");
|
||||||
|
} else {
|
||||||
|
prompt = i18n("The action you requested needs additional privileges. "
|
||||||
|
! "Please enter the password for \"%1\" below.").arg(static_cast<const char *>(m_User));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
setPrompt(prompt);
|
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# This stupid scripts prevent the launch of 'plasma-desktop'
|
||||||
|
# (from KDE4) alongside with TDE.
|
||||||
|
|
||||||
|
case "${DESKTOP_SESSION}" in
|
||||||
|
"kde3"|"trinity"|"TDE") ;;
|
||||||
|
*) exec /usr/bin/plasma-desktop;;
|
||||||
|
esac
|
@ -0,0 +1,506 @@
|
|||||||
|
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%define _variant .opt
|
||||||
|
%define _docdir %{_prefix}/share/doc
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
Name: trinity-kdebase
|
||||||
|
Version: 3.5.12
|
||||||
|
Release: 9%{?dist}%{?_variant}
|
||||||
|
License: GPL
|
||||||
|
Vendor: Trinity Project
|
||||||
|
Packager: Thales Communications
|
||||||
|
Summary: Trinity KDE Base Programs
|
||||||
|
|
||||||
|
Prefix: %{_prefix}
|
||||||
|
|
||||||
|
Source0: http://mirror3.tokra.lv/releases/3.5.12/kdebase-3.5.12.tar.gz
|
||||||
|
|
||||||
|
# Wrapper script to prevent Plasma launch at Trinity Startup
|
||||||
|
Source1: plasma-desktop
|
||||||
|
|
||||||
|
# TDE Official patches (from SVN), unmodified
|
||||||
|
# [kdebase/kcontrol] fix for openssl 1.0
|
||||||
|
Patch1: http://www.trinitydesktop.org/patches/r1201523.diff
|
||||||
|
# [kdebase/kcontrol] make it compatible with openssl < 1.0
|
||||||
|
Patch2: http://www.trinitydesktop.org/patches/r1201705.diff
|
||||||
|
# Fix My Documents shortcut on desktop
|
||||||
|
Patch4: http://www.trinitydesktop.org/patches/r1182808.diff
|
||||||
|
# [kdebase] fixed an incompatibility with gcc 4.5
|
||||||
|
Patch8: http://www.trinitydesktop.org/patches/r1221326.diff
|
||||||
|
|
||||||
|
# TDE Official patches (from SVN), modified
|
||||||
|
# [kdebase/ksmserver/shutdowndlg.cpp] Fixed invalid constructor per GCC 4.5.2
|
||||||
|
Patch7: kdebase-3.5.12-r1220975.patch
|
||||||
|
# [kdebase] Another invalid constructor per gcc 4.5
|
||||||
|
Patch9: kdebase-3.5.12-r1220927.patch
|
||||||
|
|
||||||
|
# TDE for RHEL/Fedora specific patches
|
||||||
|
# Fix for DBUS include files in RHEL6
|
||||||
|
Patch0: kdebase-3.5.12-shutdowndlg-dbus-include.patch
|
||||||
|
# [kdebase/kdesu] Remove 'ignore' button on 'kdesu' dialog box
|
||||||
|
Patch3: kdebase-3.5.12-kdesu-noignorebutton.patch
|
||||||
|
# [kdebase/kdesktop] Modifies "open terminal here" on desktop
|
||||||
|
Patch5: kdebase-3.5.12-desktop-openterminalhere.patch
|
||||||
|
# [kdebase/kioslave]: Forces HAL backend to use HAL mount options
|
||||||
|
Patch6: kdebase-3.5.12-halmountoptions.patch
|
||||||
|
|
||||||
|
BuildRequires: tqtinterface-devel
|
||||||
|
BuildRequires: trinity-arts-devel
|
||||||
|
BuildRequires: trinity-kdelibs-devel
|
||||||
|
BuildRequires: qt3-devel >= 3.3.8b
|
||||||
|
BuildRequires: openssl-devel
|
||||||
|
BuildRequires: avahi-devel avahi-qt3-devel
|
||||||
|
BuildRequires: imake
|
||||||
|
BuildRequires: xorg-x11-proto-devel
|
||||||
|
BuildRequires: OpenEXR-devel
|
||||||
|
BuildRequires: libsmbclient-devel
|
||||||
|
BuildRequires: dbus-devel dbus-qt-devel
|
||||||
|
BuildRequires: lm_sensors-devel
|
||||||
|
BuildRequires: libfontenc-devel
|
||||||
|
BuildRequires: hal-devel
|
||||||
|
BuildRequires: audiofile-devel
|
||||||
|
BuildRequires: jack-audio-connection-kit-devel
|
||||||
|
BuildRequires: libraw1394-devel
|
||||||
|
BuildRequires: openldap-devel
|
||||||
|
BuildRequires: libvorbis-devel
|
||||||
|
BuildRequires: pam-devel
|
||||||
|
BuildRequires: libXdmcp-devel
|
||||||
|
BuildRequires: libxkbfile-devel
|
||||||
|
|
||||||
|
Requires: tqtinterface
|
||||||
|
Requires: trinity-arts
|
||||||
|
Requires: trinity-kdelibs
|
||||||
|
Requires: qt3 >= 3.3.8b
|
||||||
|
Requires: openssl
|
||||||
|
Requires: avahi avahi-qt3
|
||||||
|
|
||||||
|
|
||||||
|
# RHEL 6 Configuration files are provided in separate packages
|
||||||
|
%if "%{?_prefix}" == "/usr"
|
||||||
|
Requires: kde-settings-kdm
|
||||||
|
%endif
|
||||||
|
Requires: redhat-menus
|
||||||
|
|
||||||
|
%description
|
||||||
|
Core applications for the Trinity K Desktop Environment. Included are: kdm
|
||||||
|
(replacement for xdm), kwin (window manager), konqueror (filemanager,
|
||||||
|
web browser, ftp client, ...), konsole (xterm replacement), kpanel
|
||||||
|
(application starter and desktop pager), kaudio (audio server),
|
||||||
|
kdehelp (viewer for kde help files, info and man pages), kthememgr
|
||||||
|
(system for managing alternate theme packages) plus other KDE
|
||||||
|
components (kcheckpass, kikbd, kscreensaver, kcontrol, kfind,
|
||||||
|
kfontmanager, kmenuedit).
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Requires: %{name}
|
||||||
|
Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
Requires: trinity-kdelibs-devel
|
||||||
|
Summary: %{summary} - Development files
|
||||||
|
%if "%{?_prefix}" == "/usr"
|
||||||
|
Obsoletes: kdebase3-devel
|
||||||
|
%endif
|
||||||
|
Group: Development/Libraries
|
||||||
|
%description devel
|
||||||
|
Header files for developing applications using %{name}.
|
||||||
|
Install kdebase-devel if you want to develop or compile Konqueror,
|
||||||
|
Kate plugins or KWin styles.
|
||||||
|
|
||||||
|
|
||||||
|
%package extras
|
||||||
|
Summary: Extra applications from %{name}
|
||||||
|
Group: User Interface/Desktops
|
||||||
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
%description extras
|
||||||
|
%{summary}, including:
|
||||||
|
* kappfinder
|
||||||
|
* kpager
|
||||||
|
* ktip
|
||||||
|
* kpersonalizer
|
||||||
|
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: %{name} runtime libraries
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: trinity-kdelibs >= %{version}
|
||||||
|
%if "%{?_prefix}" == "/usr"
|
||||||
|
Obsoletes: kdebase3-libs
|
||||||
|
%endif
|
||||||
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
%description libs
|
||||||
|
%{summary}
|
||||||
|
|
||||||
|
|
||||||
|
%package pim-ioslaves
|
||||||
|
Summary: PIM KIOslaves from %{name}
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
%description pim-ioslaves
|
||||||
|
Protocol handlers (KIOslaves) for personal information management, including:
|
||||||
|
* kio_ldap
|
||||||
|
* kio_nntp
|
||||||
|
* kio_pop3
|
||||||
|
* kio_smtp
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n kdebase
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
%patch5 -p1
|
||||||
|
%patch6 -p1
|
||||||
|
%patch7 -p1
|
||||||
|
%patch8 -p1
|
||||||
|
%patch9 -p1
|
||||||
|
|
||||||
|
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||||
|
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||||
|
%__make -f admin/Makefile.common
|
||||||
|
|
||||||
|
%build
|
||||||
|
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||||
|
export PATH="%{_bindir}:${PATH}"
|
||||||
|
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||||
|
export IMAKEINCLUDE="-I/usr/share/X11/config"
|
||||||
|
|
||||||
|
%configure \
|
||||||
|
--disable-rpath \
|
||||||
|
--enable-new-ldflags \
|
||||||
|
--disable-dependency-tracking \
|
||||||
|
--disable-debug --disable-warnings --enable-final \
|
||||||
|
--with-pam=yes \
|
||||||
|
--with-kdm-pam=kdm \
|
||||||
|
--with-kcp-pam=kcheckpass \
|
||||||
|
--with-kss-pam=kscreensaver \
|
||||||
|
--with-libraw1394 \
|
||||||
|
--with-openexr \
|
||||||
|
--with-samba \
|
||||||
|
--with-xinerama \
|
||||||
|
--with-xscreensaver \
|
||||||
|
--without-shadow \
|
||||||
|
--with-extra-includes=%{_includedir}/tqt
|
||||||
|
|
||||||
|
# Do NOT use %{?_smp_mflags} for this package, or it will fail to build !
|
||||||
|
%__make
|
||||||
|
|
||||||
|
%install
|
||||||
|
%__rm -rf %{?buildroot}
|
||||||
|
%__mkdir_p %{?buildroot}
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
# Adds a GDM/KDM/XDM session called 'TDE'
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%__mkdir_p "%{?buildroot}%{_usr}/share/xsessions"
|
||||||
|
install -m 644 "%{?buildroot}%{_datadir}/apps/kdm/sessions/kde.desktop" "%{?buildroot}%{_usr}/share/xsessions/tde.desktop"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# Modifies 'startkde' to set KDEDIR and KDEHOME hardcoded specific for TDE
|
||||||
|
sed -i "%{?buildroot}%{_bindir}/startkde" \
|
||||||
|
-e '/^echo "\[startkde\] Starting startkde.".*/ s,$,\nexport KDEDIR=%{_prefix}\nexport KDEHOME=~/.trinity,'
|
||||||
|
|
||||||
|
# Renames '/etc/ksysguarddrc' to avoid conflict with KDE4 'ksysguard'
|
||||||
|
mv -f %{?buildroot}%{_sysconfdir}/ksysguarddrc %{?buildroot}%{_sysconfdir}/ksysguarddrc.tde
|
||||||
|
|
||||||
|
# TDE 3.5.12: add script "plasma-desktop" to avoid conflict with KDE4
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%{__cp} -f "%{SOURCE1}" "%{?buildroot}%{_bindir}"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%__rm -rf %{?buildroot}
|
||||||
|
|
||||||
|
|
||||||
|
%post
|
||||||
|
touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || :
|
||||||
|
gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg 2> /dev/null || :
|
||||||
|
update-desktop-database 2> /dev/null || :
|
||||||
|
# Dirty hack to install '/etc/ksysguardrc' alongside with KDE4
|
||||||
|
[ -r %{_sysconfdir}/ksysguarddrc ] || cp -f %{_sysconfdir}/ksysguarddrc.tde %{_sysconfdir}/ksysguarddrc
|
||||||
|
|
||||||
|
%postun
|
||||||
|
touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || :
|
||||||
|
gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg 2> /dev/null || :
|
||||||
|
update-desktop-database 2> /dev/null || :
|
||||||
|
|
||||||
|
|
||||||
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post extras
|
||||||
|
for f in crystalsvg hicolor ; do
|
||||||
|
touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||||
|
gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||||
|
done
|
||||||
|
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||||
|
|
||||||
|
%postun extras
|
||||||
|
for f in crystalsvg hicolor ; do
|
||||||
|
touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||||
|
gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||||
|
done
|
||||||
|
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||||
|
|
||||||
|
|
||||||
|
%files extras
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
# kappfinder
|
||||||
|
%{_bindir}/kappfinder
|
||||||
|
%{_datadir}/applications/kde/kappfinder.desktop
|
||||||
|
%{_datadir}/applnk/System/kappfinder.desktop
|
||||||
|
%{_datadir}/apps/kappfinder/
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/kappfinder.png
|
||||||
|
# ktip
|
||||||
|
%{_bindir}/ktip
|
||||||
|
%{_datadir}/applications/kde/ktip.desktop
|
||||||
|
%{_datadir}/applnk/Toys/ktip.desktop
|
||||||
|
%{_datadir}/apps/kdewizard
|
||||||
|
%{_datadir}/autostart/ktip.desktop
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/ktip*
|
||||||
|
# kpersonalizer
|
||||||
|
%{_bindir}/kpersonalizer
|
||||||
|
%{_datadir}/applications/kde/kpersonalizer.desktop
|
||||||
|
%{_datadir}/applnk/System/kpersonalizer.desktop
|
||||||
|
%{_datadir}/apps/kpersonalizer/
|
||||||
|
%{_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png
|
||||||
|
# kpager
|
||||||
|
%{_bindir}/kpager
|
||||||
|
%{_datadir}/applications/kde/kpager.desktop
|
||||||
|
%{_datadir}/applnk/Utilities/kpager.desktop
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/kpager.png
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
# kappfinder
|
||||||
|
%exclude %{_datadir}/applications/kde/kappfinder.desktop
|
||||||
|
%exclude %{_datadir}/applnk/System/kappfinder.desktop
|
||||||
|
%exclude %{_datadir}/apps/kappfinder/
|
||||||
|
%exclude %{_datadir}/icons/hicolor/*/apps/kappfinder.png
|
||||||
|
# ktip
|
||||||
|
%exclude %{_datadir}/applications/kde/ktip.desktop
|
||||||
|
%exclude %{_datadir}/applnk/Toys/ktip.desktop
|
||||||
|
%exclude %{_datadir}/apps/kdewizard
|
||||||
|
%exclude %{_datadir}/autostart/ktip.desktop
|
||||||
|
%exclude %{_datadir}/icons/hicolor/*/apps/ktip*
|
||||||
|
# kpersonalizer
|
||||||
|
%exclude %{_datadir}/applications/kde/kpersonalizer.desktop
|
||||||
|
%exclude %{_datadir}/applnk/System/kpersonalizer.desktop
|
||||||
|
%exclude %{_datadir}/apps/kpersonalizer/
|
||||||
|
%exclude %{_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png
|
||||||
|
# kpager
|
||||||
|
%exclude %{_datadir}/applications/kde/kpager.desktop
|
||||||
|
%exclude %{_datadir}/applnk/Utilities/kpager.desktop
|
||||||
|
%exclude %{_datadir}/icons/hicolor/*/apps/kpager.png
|
||||||
|
|
||||||
|
%doc AUTHORS COPYING README
|
||||||
|
%{_docdir}/HTML/en/*
|
||||||
|
%config(noreplace) %{_sysconfdir}/ksysguarddrc.tde
|
||||||
|
%{_bindir}/genkdmconf
|
||||||
|
%{_bindir}/kaccess
|
||||||
|
%{_bindir}/kapplymousetheme
|
||||||
|
%{_bindir}/kate
|
||||||
|
%{_bindir}/kblankscrn.kss
|
||||||
|
%{_bindir}/kbookmarkmerger
|
||||||
|
%{_bindir}/kcminit
|
||||||
|
%{_bindir}/kcminit_startup
|
||||||
|
%{_bindir}/kcontrol
|
||||||
|
%{_bindir}/kcontroledit
|
||||||
|
%{_bindir}/kdebugdialog
|
||||||
|
%{_bindir}/kdeinstallktheme
|
||||||
|
%{_bindir}/kdepasswd
|
||||||
|
%{_bindir}/kdesu
|
||||||
|
%attr(0755,root,root) %{_bindir}/kdesud
|
||||||
|
%{_bindir}/kdialog
|
||||||
|
%{_bindir}/kdm
|
||||||
|
%{_bindir}/kdmctl
|
||||||
|
%{_bindir}/keditbookmarks
|
||||||
|
%{_bindir}/keditfiletype
|
||||||
|
%{_bindir}/kfind
|
||||||
|
%{_bindir}/kfmclient
|
||||||
|
%{_bindir}/khelpcenter
|
||||||
|
%{_bindir}/khotkeys
|
||||||
|
%{_bindir}/kinfocenter
|
||||||
|
%{_bindir}/klipper
|
||||||
|
%{_bindir}/kmenuedit
|
||||||
|
%{_bindir}/konqueror
|
||||||
|
%{_bindir}/konsole
|
||||||
|
%{_bindir}/krandom.kss
|
||||||
|
%{_bindir}/krandrtray
|
||||||
|
%{_bindir}/krdb
|
||||||
|
%{_bindir}/kreadconfig
|
||||||
|
%{_bindir}/ksmserver
|
||||||
|
%{_bindir}/ksplashsimple
|
||||||
|
%{_bindir}/kstart
|
||||||
|
%{_bindir}/ksysguard
|
||||||
|
%{_bindir}/ksysguardd
|
||||||
|
%{_bindir}/ksystraycmd
|
||||||
|
%{_bindir}/ktrash
|
||||||
|
%{_bindir}/kwin
|
||||||
|
%{_bindir}/kwin_killer_helper
|
||||||
|
%{_bindir}/kwin_rules_dialog
|
||||||
|
%{_bindir}/kwrite
|
||||||
|
%{_bindir}/kwriteconfig
|
||||||
|
%{_bindir}/kxkb
|
||||||
|
%{_bindir}/nspluginscan
|
||||||
|
%{_bindir}/nspluginviewer
|
||||||
|
%{_bindir}/startkde
|
||||||
|
%{_bindir}/kcheckrunning
|
||||||
|
%{_bindir}/kdesktop
|
||||||
|
%{_bindir}/kdesktop_lock
|
||||||
|
%{_bindir}/kdm_config
|
||||||
|
%{_bindir}/kdm_greet
|
||||||
|
%{_bindir}/kfontinst
|
||||||
|
%{_bindir}/kfontview
|
||||||
|
%{_bindir}/krootimage
|
||||||
|
%{_bindir}/kwebdesktop
|
||||||
|
%{_datadir}/autostart/*
|
||||||
|
%{_datadir}/desktop-directories/*
|
||||||
|
%{_datadir}/locale/*/entry.desktop
|
||||||
|
%{_datadir}/locale/l10n
|
||||||
|
%{_datadir}/templates/*
|
||||||
|
%{_datadir}/templates/.source/*
|
||||||
|
%{_datadir}/wallpapers/*
|
||||||
|
%{_bindir}/appletproxy
|
||||||
|
%{_bindir}/drkonqi
|
||||||
|
%{_bindir}/extensionproxy
|
||||||
|
%{_bindir}/kasbar
|
||||||
|
%attr(4755,root,root) %{_bindir}/kcheckpass
|
||||||
|
%{_bindir}/kdeeject
|
||||||
|
%{_bindir}/khc_docbookdig.pl
|
||||||
|
%{_bindir}/khc_htdig.pl
|
||||||
|
%{_bindir}/khc_htsearch.pl
|
||||||
|
%{_bindir}/khc_indexbuilder
|
||||||
|
%{_bindir}/khc_mansearch.pl
|
||||||
|
%{_bindir}/kicker
|
||||||
|
%{_bindir}/knetattach
|
||||||
|
%{_bindir}/kompmgr
|
||||||
|
%{_bindir}/kpm
|
||||||
|
%{_bindir}/ksplash
|
||||||
|
%{_libdir}/kconf_update_bin
|
||||||
|
%{_datadir}/applnk/*.desktop
|
||||||
|
%{_datadir}/applnk/*/*
|
||||||
|
%{_datadir}/applnk/.hidden/*
|
||||||
|
%exclude %{_datadir}/applnk/.hidden/.directory
|
||||||
|
%{_datadir}/config.kcfg/*
|
||||||
|
%{_bindir}/kde3
|
||||||
|
%{_bindir}/kio_media_mounthelper
|
||||||
|
%{_bindir}/kdcop
|
||||||
|
%{_bindir}/kdeprintfax
|
||||||
|
%{_bindir}/khc_beagle_index.pl
|
||||||
|
%{_bindir}/khc_beagle_search.pl
|
||||||
|
%{_bindir}/kxdglauncher
|
||||||
|
%{_bindir}/kjobviewer
|
||||||
|
%{_bindir}/klocaldomainurifilterhelper
|
||||||
|
%{_bindir}/kprinter
|
||||||
|
%{_datadir}/applications/*/*
|
||||||
|
%exclude %{_datadir}/applications/kde/display.desktop
|
||||||
|
%{_datadir}/apps/*
|
||||||
|
%exclude %{_datadir}/fonts/override/fonts.dir
|
||||||
|
%{_datadir}/icons/*color/*/*/*
|
||||||
|
%{_datadir}/icons/crystalsvg/*/*/*
|
||||||
|
%{_datadir}/mimelnk/*/*
|
||||||
|
%{_datadir}/services/*
|
||||||
|
%{_datadir}/servicetypes/*
|
||||||
|
%{_datadir}/sounds/*
|
||||||
|
%{_docdir}/kdm/README
|
||||||
|
%{_libdir}/kde3/*
|
||||||
|
%{_libdir}/libkdeinit_*.*
|
||||||
|
%{_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
|
||||||
|
/usr/share/xsessions/*.desktop
|
||||||
|
# Remove conflicts with redhat-menus
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%{_bindir}/plasma-desktop
|
||||||
|
%config(noreplace) %{_datadir}/config/*
|
||||||
|
%else
|
||||||
|
%exclude %{_datadir}/config
|
||||||
|
%endif
|
||||||
|
# exclude pim-ioslaves files from main package
|
||||||
|
%exclude %{_libdir}/kde3/kio_ldap.*
|
||||||
|
%exclude %{_libdir}/kde3/kio_nntp.*
|
||||||
|
%exclude %{_libdir}/kde3/kio_pop3.*
|
||||||
|
%exclude %{_libdir}/kde3/kio_smtp.*
|
||||||
|
%exclude %{_datadir}/services/ldap*.protocol
|
||||||
|
%exclude %{_datadir}/services/nntp*.protocol
|
||||||
|
%exclude %{_datadir}/services/pop3*.protocol
|
||||||
|
%exclude %{_datadir}/services/smtp*.protocol
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%exclude %{_libdir}/libkdeinit_*.*
|
||||||
|
%{_libdir}/lib*.so.*
|
||||||
|
%{_libdir}/lib*.la
|
||||||
|
|
||||||
|
%files pim-ioslaves
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/kde3/kio_ldap.*
|
||||||
|
%{_libdir}/kde3/kio_nntp.*
|
||||||
|
%{_libdir}/kde3/kio_pop3.*
|
||||||
|
%{_libdir}/kde3/kio_smtp.*
|
||||||
|
%{_datadir}/services/ldap*.protocol
|
||||||
|
%{_datadir}/services/nntp*.protocol
|
||||||
|
%{_datadir}/services/pop3*.protocol
|
||||||
|
%{_datadir}/services/smtp*.protocol
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_includedir}/*.h
|
||||||
|
%dir %{_includedir}/kate
|
||||||
|
%{_includedir}/kate/*
|
||||||
|
%dir %{_includedir}/kwin
|
||||||
|
%{_includedir}/kwin/*
|
||||||
|
%dir %{_includedir}/ksgrd
|
||||||
|
%{_includedir}/ksgrd/*
|
||||||
|
%dir %{_includedir}/ksplash
|
||||||
|
%{_includedir}/ksplash/*
|
||||||
|
%{_libdir}/lib*.so
|
||||||
|
%exclude %{_libdir}/libkdeinit_*.*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Sep 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-9
|
||||||
|
- Import to GIT
|
||||||
|
|
||||||
|
* Tue Aug 23 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-8
|
||||||
|
- Add missing BuildRequires
|
||||||
|
- Add Patch7, Patch8, Patch9 to allow compilation under GCC >= 4.5.2
|
||||||
|
|
||||||
|
* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-7
|
||||||
|
- Correct macro to install under "/opt", if desired
|
||||||
|
|
||||||
|
* Wed Jul 20 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-6
|
||||||
|
- Add patch to force halbackend to use HAL-provided mount options
|
||||||
|
|
||||||
|
* Wed Jul 20 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-5
|
||||||
|
- Add patch to modify "Open terminal here" shortcut (now opens in home directory)
|
||||||
|
|
||||||
|
* Tue Jul 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-4
|
||||||
|
- Add 'BuildRequires: dbus-qt' to enable HAL support
|
||||||
|
|
||||||
|
* Wed Jun 22 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-3
|
||||||
|
- Adds setuid bit on '/usr/bin/kcheckpass'
|
||||||
|
- Removes '/usr/share/applications/kde/display.desktop' (does not work on RHEL 6.0)
|
||||||
|
|
||||||
|
* Mon Dec 20 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
|
||||||
|
- Add missing Requires
|
||||||
|
- Rename 'kde3.desktop' to 'kde.desktop' in case of default prefix
|
||||||
|
|
||||||
|
* Fri Dec 17 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
|
||||||
|
- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/kde3)
|
||||||
|
- Add '--with-extra-includes=%{_includedir}/tqt'
|
||||||
|
- Add 'patch3' to remove ignore button on kdesu dialog box
|
||||||
|
- Add 'patch4' r1182808.diff : Fix My Documents shortcut on desktop
|
||||||
|
|
||||||
|
* Wed Dec 14 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-0
|
||||||
|
- Initial version
|
||||||
|
- Add script 'plasma-desktop' to prevent KDE4 plasma automatic startup
|
||||||
|
- Add 'patch0' to fix for DBUS include files in RHEL6
|
||||||
|
- Add 'patch1' r1201523.diff : [kdebase/kcontrol] fix for openssl 1.0
|
||||||
|
- Add 'patch2' r1201705.diff : [kdebase/kcontrol] make it compatible with openssl < 1.0
|
||||||
|
|
@ -0,0 +1,450 @@
|
|||||||
|
# Default version for this component
|
||||||
|
%if "%{?version}" == ""
|
||||||
|
%define version 3.5.13
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%define _variant .opt
|
||||||
|
%define _libdir %{_prefix}/lib
|
||||||
|
%define _docdir %{_prefix}/share/doc
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
Name: trinity-kdebase
|
||||||
|
Version: %{version}
|
||||||
|
Release: 0%{?dist}%{?_variant}
|
||||||
|
License: GPL
|
||||||
|
Vendor: Trinity Project
|
||||||
|
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||||
|
Summary: Trinity KDE Base Programs
|
||||||
|
|
||||||
|
Prefix: %{_prefix}
|
||||||
|
|
||||||
|
Source0: kdebase-%{version}.tar.gz
|
||||||
|
|
||||||
|
# TDE for RHEL/Fedora specific patches
|
||||||
|
# [kdebase/kdesu] Remove 'ignore' button on 'kdesu' dialog box
|
||||||
|
Patch3: kdebase-3.5.13-kdesu-noignorebutton.patch
|
||||||
|
# [kdebase/kdesktop] Modifies "open terminal here" on desktop
|
||||||
|
Patch5: kdebase-3.5.12-desktop-openterminalhere.patch
|
||||||
|
# [kdebase/kioslave]: Forces HAL backend to use HAL mount options
|
||||||
|
Patch6: kdebase-3.5.12-halmountoptions.patch
|
||||||
|
|
||||||
|
BuildRequires: tqtinterface-devel
|
||||||
|
BuildRequires: trinity-arts-devel
|
||||||
|
BuildRequires: trinity-kdelibs-devel
|
||||||
|
BuildRequires: qt3-devel >= 3.3.8d
|
||||||
|
BuildRequires: openssl-devel
|
||||||
|
BuildRequires: avahi-devel avahi-qt3-devel
|
||||||
|
BuildRequires: imake
|
||||||
|
BuildRequires: xorg-x11-proto-devel
|
||||||
|
BuildRequires: OpenEXR-devel
|
||||||
|
BuildRequires: libsmbclient-devel
|
||||||
|
BuildRequires: dbus-devel dbus-qt-devel
|
||||||
|
BuildRequires: lm_sensors-devel
|
||||||
|
BuildRequires: libfontenc-devel
|
||||||
|
BuildRequires: hal-devel
|
||||||
|
BuildRequires: audiofile-devel
|
||||||
|
BuildRequires: jack-audio-connection-kit-devel
|
||||||
|
BuildRequires: libraw1394-devel
|
||||||
|
BuildRequires: openldap-devel
|
||||||
|
BuildRequires: libvorbis-devel
|
||||||
|
BuildRequires: pam-devel
|
||||||
|
BuildRequires: libXdmcp-devel
|
||||||
|
BuildRequires: libxkbfile-devel
|
||||||
|
BuildRequires: dbus-tqt-devel
|
||||||
|
|
||||||
|
Requires: tqtinterface
|
||||||
|
Requires: trinity-arts
|
||||||
|
Requires: trinity-kdelibs
|
||||||
|
Requires: qt3 >= 3.3.8d
|
||||||
|
Requires: openssl
|
||||||
|
Requires: avahi avahi-qt3
|
||||||
|
Requires: dbus-tqt
|
||||||
|
|
||||||
|
|
||||||
|
# RHEL 6 Configuration files are provided in separate packages
|
||||||
|
%if "%{?_prefix}" == "/usr"
|
||||||
|
Requires: kde-settings-kdm
|
||||||
|
%endif
|
||||||
|
Requires: redhat-menus
|
||||||
|
|
||||||
|
%description
|
||||||
|
Core applications for the Trinity K Desktop Environment. Included are: kdm
|
||||||
|
(replacement for xdm), kwin (window manager), konqueror (filemanager,
|
||||||
|
web browser, ftp client, ...), konsole (xterm replacement), kpanel
|
||||||
|
(application starter and desktop pager), kaudio (audio server),
|
||||||
|
kdehelp (viewer for kde help files, info and man pages), kthememgr
|
||||||
|
(system for managing alternate theme packages) plus other KDE
|
||||||
|
components (kcheckpass, kikbd, kscreensaver, kcontrol, kfind,
|
||||||
|
kfontmanager, kmenuedit).
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Requires: %{name}
|
||||||
|
Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
Requires: trinity-kdelibs-devel
|
||||||
|
Summary: %{summary} - Development files
|
||||||
|
%if "%{?_prefix}" == "/usr"
|
||||||
|
Obsoletes: kdebase3-devel
|
||||||
|
%endif
|
||||||
|
Group: Development/Libraries
|
||||||
|
%description devel
|
||||||
|
Header files for developing applications using %{name}.
|
||||||
|
Install kdebase-devel if you want to develop or compile Konqueror,
|
||||||
|
Kate plugins or KWin styles.
|
||||||
|
|
||||||
|
|
||||||
|
%package extras
|
||||||
|
Summary: Extra applications from %{name}
|
||||||
|
Group: User Interface/Desktops
|
||||||
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
%description extras
|
||||||
|
%{summary}, including:
|
||||||
|
* kappfinder
|
||||||
|
* kpager
|
||||||
|
* ktip
|
||||||
|
* kpersonalizer
|
||||||
|
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: %{name} runtime libraries
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: trinity-kdelibs >= %{version}
|
||||||
|
%if "%{?_prefix}" == "/usr"
|
||||||
|
Obsoletes: kdebase3-libs
|
||||||
|
%endif
|
||||||
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
%description libs
|
||||||
|
%{summary}
|
||||||
|
|
||||||
|
|
||||||
|
%package pim-ioslaves
|
||||||
|
Summary: PIM KIOslaves from %{name}
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
%description pim-ioslaves
|
||||||
|
Protocol handlers (KIOslaves) for personal information management, including:
|
||||||
|
* kio_ldap
|
||||||
|
* kio_nntp
|
||||||
|
* kio_pop3
|
||||||
|
* kio_smtp
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n kdebase
|
||||||
|
%patch3 -p1
|
||||||
|
%patch5 -p1
|
||||||
|
%patch6 -p1
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||||
|
export PATH="%{_bindir}:${PATH}"
|
||||||
|
export PKG_CONFIG_PATH="%{_libdir}/pkgconfig"
|
||||||
|
export CMAKE_INCLUDE_PATH="%{_includedir}:%{_includedir}/tqt"
|
||||||
|
export LD_LIBRARY_PATH="%{_libdir}"
|
||||||
|
|
||||||
|
%__mkdir build
|
||||||
|
cd build
|
||||||
|
%cmake \
|
||||||
|
-DWITH_SASL=ON \
|
||||||
|
-DWITH_LDAP=ON \
|
||||||
|
-DWITH_SAMBA=ON \
|
||||||
|
-DWITH_OPENEXR=ON \
|
||||||
|
-DWITH_XCOMPOSITE=ON \
|
||||||
|
-DWITH_XCURSOR=ON \
|
||||||
|
-DWITH_XFIXES=ON \
|
||||||
|
-DWITH_XRANDR=ON \
|
||||||
|
-DWITH_XRENDER=ON \
|
||||||
|
-DWITH_XDAMAGE=ON \
|
||||||
|
-DWITH_XEXT=ON \
|
||||||
|
-DWITH_LIBUSB=ON \
|
||||||
|
-DWITH_LIBRAW1394=ON \
|
||||||
|
-DWITH_PAM=ON \
|
||||||
|
-DWITH_SHADOW=OFF \
|
||||||
|
-DWITH_XDMCP=ON \
|
||||||
|
-DWITH_XINERAMA=ON \
|
||||||
|
-DWITH_ARTS=ON \
|
||||||
|
-DWITH_I8K=OFF \
|
||||||
|
-DWITH_HAL=ON \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
..
|
||||||
|
|
||||||
|
%__make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%__rm -rf %{?buildroot}
|
||||||
|
%__mkdir_p %{?buildroot}
|
||||||
|
%make_install -C build
|
||||||
|
|
||||||
|
# Adds a GDM/KDM/XDM session called 'TDE'
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%__mkdir_p "%{?buildroot}%{_usr}/share/xsessions"
|
||||||
|
install -m 644 "%{?buildroot}%{_datadir}/apps/kdm/sessions/tde.desktop" "%{?buildroot}%{_usr}/share/xsessions/tde.desktop"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# Modifies 'startkde' to set KDEDIR and KDEHOME hardcoded specific for TDE
|
||||||
|
sed -i "%{?buildroot}%{_bindir}/startkde" \
|
||||||
|
-e '/^echo "\[startkde\] Starting startkde.".*/ s,$,\nexport KDEDIR=%{_prefix}\nexport KDEHOME=~/.trinity,'
|
||||||
|
|
||||||
|
# Renames '/etc/ksysguarddrc' to avoid conflict with KDE4 'ksysguard'
|
||||||
|
mv -f %{?buildroot}%{_sysconfdir}/ksysguarddrc %{?buildroot}%{_sysconfdir}/ksysguarddrc.tde
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%__rm -rf %{?buildroot}
|
||||||
|
|
||||||
|
|
||||||
|
%post
|
||||||
|
touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || :
|
||||||
|
gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg 2> /dev/null || :
|
||||||
|
update-desktop-database 2> /dev/null || :
|
||||||
|
# Dirty hack to install '/etc/ksysguardrc' alongside with KDE4
|
||||||
|
[ -r %{_sysconfdir}/ksysguarddrc ] || cp -f %{_sysconfdir}/ksysguarddrc.tde %{_sysconfdir}/ksysguarddrc
|
||||||
|
|
||||||
|
%postun
|
||||||
|
touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || :
|
||||||
|
gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg 2> /dev/null || :
|
||||||
|
update-desktop-database 2> /dev/null || :
|
||||||
|
|
||||||
|
|
||||||
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post extras
|
||||||
|
for f in crystalsvg hicolor ; do
|
||||||
|
touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||||
|
gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||||
|
done
|
||||||
|
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||||
|
|
||||||
|
%postun extras
|
||||||
|
for f in crystalsvg hicolor ; do
|
||||||
|
touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||||
|
gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||:
|
||||||
|
done
|
||||||
|
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
||||||
|
|
||||||
|
|
||||||
|
%files extras
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
# kappfinder
|
||||||
|
%{_bindir}/kappfinder
|
||||||
|
%{_datadir}/applications/kde/kappfinder.desktop
|
||||||
|
%{_datadir}/applnk/System/kappfinder.desktop
|
||||||
|
%{_datadir}/apps/kappfinder/
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/kappfinder.png
|
||||||
|
# ktip
|
||||||
|
%{_bindir}/ktip
|
||||||
|
%{_datadir}/applications/kde/ktip.desktop
|
||||||
|
%{_datadir}/applnk/Toys/ktip.desktop
|
||||||
|
%{_datadir}/apps/kdewizard
|
||||||
|
%{_datadir}/autostart/ktip.desktop
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/ktip*
|
||||||
|
# kpersonalizer
|
||||||
|
%{_bindir}/kpersonalizer
|
||||||
|
%{_datadir}/applications/kde/kpersonalizer.desktop
|
||||||
|
%{_datadir}/applnk/System/kpersonalizer.desktop
|
||||||
|
%{_datadir}/apps/kpersonalizer/
|
||||||
|
%{_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png
|
||||||
|
# kpager
|
||||||
|
%{_bindir}/kpager
|
||||||
|
%{_datadir}/applications/kde/kpager.desktop
|
||||||
|
%{_datadir}/applnk/Utilities/kpager.desktop
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/kpager.png
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
# kappfinder
|
||||||
|
%exclude %{_datadir}/applications/kde/kappfinder.desktop
|
||||||
|
%exclude %{_datadir}/applnk/System/kappfinder.desktop
|
||||||
|
%exclude %{_datadir}/apps/kappfinder/
|
||||||
|
%exclude %{_datadir}/icons/hicolor/*/apps/kappfinder.png
|
||||||
|
# ktip
|
||||||
|
%exclude %{_datadir}/applications/kde/ktip.desktop
|
||||||
|
%exclude %{_datadir}/applnk/Toys/ktip.desktop
|
||||||
|
%exclude %{_datadir}/apps/kdewizard
|
||||||
|
%exclude %{_datadir}/autostart/ktip.desktop
|
||||||
|
%exclude %{_datadir}/icons/hicolor/*/apps/ktip*
|
||||||
|
# kpersonalizer
|
||||||
|
%exclude %{_datadir}/applications/kde/kpersonalizer.desktop
|
||||||
|
%exclude %{_datadir}/applnk/System/kpersonalizer.desktop
|
||||||
|
%exclude %{_datadir}/apps/kpersonalizer/
|
||||||
|
%exclude %{_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png
|
||||||
|
# kpager
|
||||||
|
%exclude %{_datadir}/applications/kde/kpager.desktop
|
||||||
|
%exclude %{_datadir}/applnk/Utilities/kpager.desktop
|
||||||
|
%exclude %{_datadir}/icons/hicolor/*/apps/kpager.png
|
||||||
|
|
||||||
|
%doc AUTHORS COPYING README
|
||||||
|
%{_docdir}/kde/HTML/en/*
|
||||||
|
%config(noreplace) %{_sysconfdir}/ksysguarddrc.tde
|
||||||
|
%{_bindir}/genkdmconf
|
||||||
|
%{_bindir}/kaccess
|
||||||
|
%{_bindir}/kapplymousetheme
|
||||||
|
%{_bindir}/kate
|
||||||
|
%{_bindir}/kblankscrn.kss
|
||||||
|
%{_bindir}/kbookmarkmerger
|
||||||
|
%{_bindir}/kcminit
|
||||||
|
%{_bindir}/kcminit_startup
|
||||||
|
%{_bindir}/kcontrol
|
||||||
|
%{_bindir}/kcontroledit
|
||||||
|
%{_bindir}/kdebugdialog
|
||||||
|
%{_bindir}/kdeinstallktheme
|
||||||
|
%{_bindir}/kdepasswd
|
||||||
|
%{_bindir}/kdesu
|
||||||
|
%attr(0755,root,root) %{_bindir}/kdesud
|
||||||
|
%{_bindir}/kdialog
|
||||||
|
%{_bindir}/kdm
|
||||||
|
%{_bindir}/kdmctl
|
||||||
|
%{_bindir}/keditbookmarks
|
||||||
|
%{_bindir}/keditfiletype
|
||||||
|
%{_bindir}/kfind
|
||||||
|
%{_bindir}/kfmclient
|
||||||
|
%{_bindir}/khelpcenter
|
||||||
|
%{_bindir}/khotkeys
|
||||||
|
%{_bindir}/kinfocenter
|
||||||
|
%{_bindir}/klipper
|
||||||
|
%{_bindir}/kmenuedit
|
||||||
|
%{_bindir}/konqueror
|
||||||
|
%{_bindir}/konsole
|
||||||
|
%{_bindir}/krandom.kss
|
||||||
|
%{_bindir}/krandrtray
|
||||||
|
%{_bindir}/krdb
|
||||||
|
%{_bindir}/kreadconfig
|
||||||
|
%{_bindir}/ksmserver
|
||||||
|
%{_bindir}/ksplashsimple
|
||||||
|
%{_bindir}/kstart
|
||||||
|
%{_bindir}/ksysguard
|
||||||
|
%{_bindir}/ksysguardd
|
||||||
|
%{_bindir}/ksystraycmd
|
||||||
|
%{_bindir}/ktrash
|
||||||
|
%{_bindir}/kwin
|
||||||
|
%{_bindir}/kwin_killer_helper
|
||||||
|
%{_bindir}/kwin_rules_dialog
|
||||||
|
%{_bindir}/kwrite
|
||||||
|
%{_bindir}/kwriteconfig
|
||||||
|
%{_bindir}/kxkb
|
||||||
|
%{_bindir}/nspluginscan
|
||||||
|
%{_bindir}/nspluginviewer
|
||||||
|
%{_bindir}/startkde
|
||||||
|
%{_bindir}/kcheckrunning
|
||||||
|
%{_bindir}/kdesktop
|
||||||
|
%{_bindir}/kdesktop_lock
|
||||||
|
%{_bindir}/kdm_config
|
||||||
|
%{_bindir}/kdm_greet
|
||||||
|
%{_bindir}/kfontinst
|
||||||
|
%{_bindir}/kfontview
|
||||||
|
%{_bindir}/krootimage
|
||||||
|
%{_bindir}/kwebdesktop
|
||||||
|
%{_datadir}/autostart/*
|
||||||
|
%{_datadir}/desktop-directories/*
|
||||||
|
%{_datadir}/locale/*/entry.desktop
|
||||||
|
%{_datadir}/locale/l10n
|
||||||
|
%{_datadir}/templates/*
|
||||||
|
%{_datadir}/templates/.source/*
|
||||||
|
%{_datadir}/wallpapers/*
|
||||||
|
%{_bindir}/appletproxy
|
||||||
|
%{_bindir}/drkonqi
|
||||||
|
%{_bindir}/extensionproxy
|
||||||
|
%{_bindir}/kasbar
|
||||||
|
%attr(4755,root,root) %{_bindir}/kcheckpass
|
||||||
|
%{_bindir}/kdeeject
|
||||||
|
%{_bindir}/khc_docbookdig.pl
|
||||||
|
%{_bindir}/khc_htdig.pl
|
||||||
|
%{_bindir}/khc_htsearch.pl
|
||||||
|
%{_bindir}/khc_indexbuilder
|
||||||
|
%{_bindir}/khc_mansearch.pl
|
||||||
|
%{_bindir}/kicker
|
||||||
|
%{_bindir}/knetattach
|
||||||
|
%{_bindir}/kompmgr
|
||||||
|
%{_bindir}/kpm
|
||||||
|
%{_bindir}/ksplash
|
||||||
|
%{_libdir}/kconf_update_bin
|
||||||
|
%{_datadir}/applnk/*.desktop
|
||||||
|
%{_datadir}/applnk/*/*
|
||||||
|
%{_datadir}/applnk/.hidden/*
|
||||||
|
%exclude %{_datadir}/applnk/.hidden/.directory
|
||||||
|
%{_datadir}/config.kcfg/*
|
||||||
|
%{_bindir}/kio_media_mounthelper
|
||||||
|
%{_bindir}/kdcop
|
||||||
|
%{_bindir}/kdeprintfax
|
||||||
|
%{_bindir}/khc_beagle_index.pl
|
||||||
|
%{_bindir}/khc_beagle_search.pl
|
||||||
|
%{_bindir}/kxdglauncher
|
||||||
|
%{_bindir}/kjobviewer
|
||||||
|
%{_bindir}/klocaldomainurifilterhelper
|
||||||
|
%{_bindir}/kprinter
|
||||||
|
%{_datadir}/applications/*/*
|
||||||
|
%{_datadir}/apps/*
|
||||||
|
%{_datadir}/icons/*color/*/*/*
|
||||||
|
%{_datadir}/icons/crystalsvg/*/*/*
|
||||||
|
%{_datadir}/mimelnk/*/*
|
||||||
|
%{_datadir}/services/*
|
||||||
|
%{_datadir}/servicetypes/*
|
||||||
|
%{_datadir}/sounds/*
|
||||||
|
%{_libdir}/trinity/*
|
||||||
|
%{_libdir}/libkdeinit_*.*
|
||||||
|
%{_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
|
||||||
|
/usr/share/xsessions/*.desktop
|
||||||
|
# Remove conflicts with redhat-menus
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%config(noreplace) %{_datadir}/config/*
|
||||||
|
%else
|
||||||
|
%exclude %{_datadir}/config
|
||||||
|
%endif
|
||||||
|
# exclude pim-ioslaves files from main package
|
||||||
|
%exclude %{_libdir}/trinity/kio_ldap.*
|
||||||
|
%exclude %{_libdir}/trinity/kio_nntp.*
|
||||||
|
%exclude %{_libdir}/trinity/kio_pop3.*
|
||||||
|
%exclude %{_libdir}/trinity/kio_smtp.*
|
||||||
|
%exclude %{_datadir}/services/ldap*.protocol
|
||||||
|
%exclude %{_datadir}/services/nntp*.protocol
|
||||||
|
%exclude %{_datadir}/services/pop3*.protocol
|
||||||
|
%exclude %{_datadir}/services/smtp*.protocol
|
||||||
|
|
||||||
|
# New in TDE 3.5.13
|
||||||
|
%{_bindir}/krootbacking
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%exclude %{_libdir}/libkdeinit_*.*
|
||||||
|
%{_libdir}/lib*.so.*
|
||||||
|
%{_libdir}/lib*.la
|
||||||
|
|
||||||
|
%files pim-ioslaves
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/trinity/kio_ldap.*
|
||||||
|
%{_libdir}/trinity/kio_nntp.*
|
||||||
|
%{_libdir}/trinity/kio_pop3.*
|
||||||
|
%{_libdir}/trinity/kio_smtp.*
|
||||||
|
%{_datadir}/services/ldap*.protocol
|
||||||
|
%{_datadir}/services/nntp*.protocol
|
||||||
|
%{_datadir}/services/pop3*.protocol
|
||||||
|
%{_datadir}/services/smtp*.protocol
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_includedir}/*.h
|
||||||
|
%dir %{_includedir}/kate
|
||||||
|
%{_includedir}/kate/*
|
||||||
|
%dir %{_includedir}/kwin
|
||||||
|
%{_includedir}/kwin/*
|
||||||
|
%dir %{_includedir}/ksgrd
|
||||||
|
%{_includedir}/ksgrd/*
|
||||||
|
%dir %{_includedir}/ksplash
|
||||||
|
%{_includedir}/ksplash/*
|
||||||
|
%{_libdir}/lib*.so
|
||||||
|
%exclude %{_libdir}/libkdeinit_*.*
|
||||||
|
# New in TDE 3.5.13
|
||||||
|
%{_datadir}/cmake/*.cmake
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Sep 03 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12.99-0
|
||||||
|
- Import to GIT
|
||||||
|
- Use TDE 3.5.13, cmake, QT3.3.3.8d
|
@ -0,0 +1,262 @@
|
|||||||
|
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%define _variant .opt
|
||||||
|
%define _docdir %{_prefix}/share/doc
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
Name: trinity-kdelibs
|
||||||
|
Version: 3.5.12
|
||||||
|
Release: 5%{?dist}%{?_variant}
|
||||||
|
License: GPL
|
||||||
|
Vendor: Trinity Project
|
||||||
|
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||||
|
Summary: Trinity KDE Libraries
|
||||||
|
|
||||||
|
Source0: kdelibs-%{version}.tar.gz
|
||||||
|
Prefix: %{_prefix}
|
||||||
|
|
||||||
|
BuildRequires: autoconf automake libtool m4
|
||||||
|
BuildRequires: tqtinterface-devel
|
||||||
|
BuildRequires: trinity-arts-devel
|
||||||
|
BuildRequires: qt3-devel
|
||||||
|
BuildRequires: avahi-devel avahi-qt3-devel
|
||||||
|
BuildRequires: lua-devel
|
||||||
|
BuildRequires: krb5-devel libxslt-devel cups-devel libart_lgpl-devel pcre-devel
|
||||||
|
BuildRequires: libutempter-devel
|
||||||
|
BuildRequires: bzip2-devel
|
||||||
|
BuildRequires: openssl-devel
|
||||||
|
|
||||||
|
Requires: tqtinterface
|
||||||
|
Requires: trinity-arts
|
||||||
|
Requires: qt3
|
||||||
|
Requires: avahi avahi-qt3
|
||||||
|
|
||||||
|
%if "%{?_prefix}" == "/usr"
|
||||||
|
Obsoletes: kdelibs3
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
Libraries for the Trinity K Desktop Environment
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Requires: %{name}
|
||||||
|
Summary: %{name} - Development files
|
||||||
|
%if "%{?_prefix}" == "/usr"
|
||||||
|
Obsoletes: kdelibs3-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development files for %{name}
|
||||||
|
|
||||||
|
%package apidocs
|
||||||
|
Requires: %{name}
|
||||||
|
Summary: %{name} - API documentation
|
||||||
|
|
||||||
|
%description apidocs
|
||||||
|
This package includes the KDE 3 API documentation in HTML
|
||||||
|
format for easy browsing
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n kdelibs
|
||||||
|
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||||
|
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||||
|
%__make -f admin/Makefile.common
|
||||||
|
|
||||||
|
%build
|
||||||
|
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||||
|
export PATH="%{_bindir}:${PATH}"
|
||||||
|
export LD_LIBRARY_PATH="%{_libdir}"
|
||||||
|
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||||
|
%configure \
|
||||||
|
--disable-rpath \
|
||||||
|
--enable-new-ldflags \
|
||||||
|
--disable-dependency-tracking \
|
||||||
|
--disable-debug --disable-warnings --enable-final \
|
||||||
|
--disable-fast-malloc \
|
||||||
|
--enable-cups \
|
||||||
|
--enable-mitshm \
|
||||||
|
--enable-pie \
|
||||||
|
--enable-sendfile \
|
||||||
|
--with-distribution="$(cat /etc/redhat-release 2>/dev/null)" \
|
||||||
|
--with-alsa \
|
||||||
|
--without-aspell \
|
||||||
|
--without-hspell \
|
||||||
|
--disable-libfam \
|
||||||
|
--enable-dnotify \
|
||||||
|
--enable-inotify \
|
||||||
|
--with-utempter \
|
||||||
|
--with-jasper \
|
||||||
|
--with-openexr \
|
||||||
|
--with-xinerama \
|
||||||
|
--with-extra-includes=%{_includedir}/tqt
|
||||||
|
|
||||||
|
# Do NOT use %{?_smp_mflags} for this package, or it will fail to build !
|
||||||
|
%__make
|
||||||
|
|
||||||
|
%install
|
||||||
|
%__rm -rf %{?buildroot}
|
||||||
|
%__mkdir_p %{?buildroot}
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%__mkdir_p %{?buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||||
|
cat <<EOF >%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%{_libdir}
|
||||||
|
%endif
|
||||||
|
%{_libdir}/trinity
|
||||||
|
EOF
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%__rm -rf %{?buildroot}
|
||||||
|
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README
|
||||||
|
%doc COPYING.LIB
|
||||||
|
%{_bindir}/artsmessage
|
||||||
|
%{_bindir}/cupsdconf
|
||||||
|
%{_bindir}/cupsdoprint
|
||||||
|
%{_bindir}/dcop
|
||||||
|
%{_bindir}/dcopclient
|
||||||
|
%{_bindir}/dcopfind
|
||||||
|
%{_bindir}/dcopobject
|
||||||
|
%{_bindir}/dcopquit
|
||||||
|
%{_bindir}/dcopref
|
||||||
|
%{_bindir}/dcopserver
|
||||||
|
%{_bindir}/dcopserver_shutdown
|
||||||
|
%{_bindir}/dcopstart
|
||||||
|
%{_bindir}/filesharelist
|
||||||
|
%{_bindir}/fileshareset
|
||||||
|
%{_bindir}/imagetops
|
||||||
|
%{_bindir}/kab2kabc
|
||||||
|
%{_bindir}/kaddprinterwizard
|
||||||
|
%{_bindir}/kbuildsycoca
|
||||||
|
%{_bindir}/kcmshell
|
||||||
|
%{_bindir}/kconf_update
|
||||||
|
%{_bindir}/kcookiejar
|
||||||
|
%{_bindir}/kde-config
|
||||||
|
%{_bindir}/kde-menu
|
||||||
|
%{_bindir}/kded
|
||||||
|
%{_bindir}/kdeinit
|
||||||
|
%{_bindir}/kdeinit_shutdown
|
||||||
|
%{_bindir}/kdeinit_wrapper
|
||||||
|
%{_bindir}/kdesu_stub
|
||||||
|
%{_bindir}/kdontchangethehostname
|
||||||
|
%{_bindir}/kdostartupconfig
|
||||||
|
%{_bindir}/kfile
|
||||||
|
%{_bindir}/kfmexec
|
||||||
|
%{_bindir}/khotnewstuff
|
||||||
|
%{_bindir}/kinstalltheme
|
||||||
|
%{_bindir}/kio_http_cache_cleaner
|
||||||
|
%{_bindir}/kio_uiserver
|
||||||
|
%{_bindir}/kioexec
|
||||||
|
%{_bindir}/kioslave
|
||||||
|
%{_bindir}/klauncher
|
||||||
|
%{_bindir}/kmailservice
|
||||||
|
%{_bindir}/kmimelist
|
||||||
|
%attr(4755,root,root) %{_bindir}/kpac_dhcp_helper
|
||||||
|
%{_bindir}/ksendbugmail
|
||||||
|
%{_bindir}/kshell
|
||||||
|
%{_bindir}/kstartupconfig
|
||||||
|
%{_bindir}/ktelnetservice
|
||||||
|
%{_bindir}/ktradertest
|
||||||
|
%{_bindir}/kwrapper
|
||||||
|
%{_bindir}/lnusertemp
|
||||||
|
%{_bindir}/make_driver_db_cups
|
||||||
|
%{_bindir}/make_driver_db_lpr
|
||||||
|
%{_bindir}/meinproc
|
||||||
|
%{_bindir}/networkstatustestservice
|
||||||
|
%{_bindir}/start_kdeinit
|
||||||
|
%{_bindir}/start_kdeinit_wrapper
|
||||||
|
%attr(4755,root,root) %{_bindir}/kgrantpty
|
||||||
|
%{_libdir}/lib*.so.*
|
||||||
|
%{_libdir}/libkdeinit_*.so
|
||||||
|
%{_libdir}/lib*.la
|
||||||
|
%{_libdir}/kde3/
|
||||||
|
%{_datadir}/applications/kde/*.desktop
|
||||||
|
%{_datadir}/autostart/kab2kabc.desktop
|
||||||
|
%{_datadir}/applnk/kio_iso.desktop
|
||||||
|
%{_datadir}/apps/*
|
||||||
|
%exclude %{_datadir}/apps/ksgmltools2/
|
||||||
|
%config(noreplace) %{_datadir}/config/*
|
||||||
|
%{_datadir}/emoticons/*
|
||||||
|
%{_datadir}/icons/default.kde
|
||||||
|
%{_datadir}/mimelnk/magic
|
||||||
|
%{_datadir}/mimelnk/*/*.desktop
|
||||||
|
%{_datadir}/services/*
|
||||||
|
%{_datadir}/servicetypes/*
|
||||||
|
%{_datadir}/icons/crystalsvg/
|
||||||
|
%{_docdir}/HTML/en/kspell
|
||||||
|
# remove conflicts with kdelibs-4
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%{_bindir}/checkXML
|
||||||
|
%{_bindir}/ksvgtopng
|
||||||
|
%{_bindir}/kunittestmodrunner
|
||||||
|
%{_bindir}/preparetips
|
||||||
|
%{_datadir}/icons/hicolor/index.theme
|
||||||
|
%{_datadir}/locale/all_languages
|
||||||
|
%{_docdir}/HTML/en/common/*
|
||||||
|
%else
|
||||||
|
%exclude %{_bindir}/checkXML
|
||||||
|
%exclude %{_bindir}/ksvgtopng
|
||||||
|
%exclude %{_bindir}/kunittestmodrunner
|
||||||
|
%exclude %{_bindir}/preparetips
|
||||||
|
%exclude %{_datadir}/config/colors
|
||||||
|
%exclude %{_datadir}/config/kdebug.areas
|
||||||
|
%exclude %{_datadir}/config/kdebugrc
|
||||||
|
%exclude %{_datadir}/config/ksslcalist
|
||||||
|
%exclude %{_datadir}/config/ui/ui_standards.rc
|
||||||
|
%exclude %{_datadir}/icons/hicolor/index.theme
|
||||||
|
%exclude %{_datadir}/locale/all_languages
|
||||||
|
%exclude %{_docdir}/HTML/en/common/*
|
||||||
|
%endif
|
||||||
|
%{_sysconfdir}/ld.so.conf.d/trinity.conf
|
||||||
|
|
||||||
|
# Provided by 'redhat-menus' package
|
||||||
|
%exclude %{_sysconfdir}/xdg/menus/applications.menu
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/dcopidl*
|
||||||
|
%{_bindir}/kconfig_compiler
|
||||||
|
%{_bindir}/makekdewidgets
|
||||||
|
%{_datadir}/apps/ksgmltools2/
|
||||||
|
%{_includedir}/
|
||||||
|
%{_libdir}/lib*.so
|
||||||
|
%{_libdir}/lib*.a
|
||||||
|
%exclude %{_libdir}/libkdeinit_*.so
|
||||||
|
|
||||||
|
%files apidocs
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_docdir}/%{name}-%{version}/
|
||||||
|
%{_docdir}/HTML/en/kdelibs*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Sep 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-5
|
||||||
|
- Import to GIT
|
||||||
|
- Removes cmake stuff, build with autotools only
|
||||||
|
|
||||||
|
* Tue Aug 23 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-4
|
||||||
|
- Add missing BuildRequires
|
||||||
|
|
||||||
|
* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-3
|
||||||
|
- Correct macro to install under "/opt", if desired
|
||||||
|
|
||||||
|
* Sun Dec 19 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
|
||||||
|
- Rebuilt
|
||||||
|
|
||||||
|
* Fri Dec 17 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
|
||||||
|
- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/trinity)
|
||||||
|
- Add '--with-extra-includes=%{_includedir}/tqt'
|
||||||
|
|
||||||
|
* Wed Dec 14 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-0
|
||||||
|
- Initial version
|
||||||
|
|
@ -0,0 +1,252 @@
|
|||||||
|
# Default version for this component
|
||||||
|
%if "%{?version}" == ""
|
||||||
|
%define version 3.5.13
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%define _variant .opt
|
||||||
|
%define _libdir %{_prefix}/lib
|
||||||
|
%define _docdir %{_prefix}/share/doc
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
Name: trinity-kdelibs
|
||||||
|
Version: %{version}
|
||||||
|
Release: 0%{?dist}%{?_variant}
|
||||||
|
License: GPL
|
||||||
|
Vendor: Trinity Project
|
||||||
|
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||||
|
Summary: Trinity KDE Libraries
|
||||||
|
|
||||||
|
Source0: kdelibs-%{version}.tar.gz
|
||||||
|
Prefix: %{_prefix}
|
||||||
|
|
||||||
|
BuildRequires: cmake >= 2.8
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: tqtinterface-devel
|
||||||
|
BuildRequires: trinity-arts-devel
|
||||||
|
BuildRequires: qt3-devel
|
||||||
|
BuildRequires: avahi-devel avahi-qt3-devel
|
||||||
|
#BuildRequires: lua-devel
|
||||||
|
BuildRequires: krb5-devel libxslt-devel cups-devel libart_lgpl-devel pcre-devel
|
||||||
|
BuildRequires: libutempter-devel
|
||||||
|
BuildRequires: bzip2-devel
|
||||||
|
BuildRequires: openssl-devel
|
||||||
|
|
||||||
|
Requires: tqtinterface
|
||||||
|
Requires: trinity-arts
|
||||||
|
Requires: qt3
|
||||||
|
Requires: avahi avahi-qt3
|
||||||
|
|
||||||
|
%if "%{?_prefix}" == "/usr"
|
||||||
|
Obsoletes: kdelibs3
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
Libraries for the Trinity K Desktop Environment
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Requires: %{name}
|
||||||
|
Summary: %{name} - Development files
|
||||||
|
%if "%{?_prefix}" == "/usr"
|
||||||
|
Obsoletes: kdelibs3-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development files for %{name}
|
||||||
|
|
||||||
|
%package apidocs
|
||||||
|
Requires: %{name}
|
||||||
|
Summary: %{name} - API documentation
|
||||||
|
|
||||||
|
%description apidocs
|
||||||
|
This package includes the KDE 3 API documentation in HTML
|
||||||
|
format for easy browsing
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n kdelibs
|
||||||
|
|
||||||
|
%build
|
||||||
|
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
||||||
|
export PATH="%{_bindir}:${PATH}"
|
||||||
|
export LD_LIBRARY_PATH="%{_libdir}"
|
||||||
|
export PKG_CONFIG_PATH="%{_libdir}/pkgconfig"
|
||||||
|
export CMAKE_INCLUDE_PATH="%{_includedir}:%{_includedir}/tqt"
|
||||||
|
|
||||||
|
%__mkdir build
|
||||||
|
cd build
|
||||||
|
%cmake \
|
||||||
|
-DWITH_ARTS=ON \
|
||||||
|
-DWITH_ALSA=ON \
|
||||||
|
-DWITH_LIBART=ON \
|
||||||
|
-DWITH_LIBIDN=OFF \
|
||||||
|
-DWITH_SSL=ON \
|
||||||
|
-DWITH_CUPS=ON \
|
||||||
|
-DWITH_LUA=OFF \
|
||||||
|
-DWITH_TIFF=ON \
|
||||||
|
-DWITH_JASPER=ON \
|
||||||
|
-DWITH_OPENEXR=ON \
|
||||||
|
-DWITH_UTEMPTER=ON \
|
||||||
|
-DWITH_AVAHI=ON \
|
||||||
|
-DWITH_ASPELL=OFF \
|
||||||
|
-DWITH_HSPELL=OFF \
|
||||||
|
..
|
||||||
|
|
||||||
|
%__make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%__rm -rf %{?buildroot}
|
||||||
|
%__mkdir_p %{?buildroot}
|
||||||
|
%make_install -C build
|
||||||
|
|
||||||
|
%__mkdir_p %{?buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||||
|
cat <<EOF >%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%{_libdir}
|
||||||
|
%endif
|
||||||
|
%{_libdir}/trinity
|
||||||
|
EOF
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%__rm -rf %{?buildroot}
|
||||||
|
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README
|
||||||
|
%doc COPYING.LIB
|
||||||
|
%{_bindir}/artsmessage
|
||||||
|
%{_bindir}/cupsdconf
|
||||||
|
%{_bindir}/cupsdoprint
|
||||||
|
%{_bindir}/dcop
|
||||||
|
%{_bindir}/dcopclient
|
||||||
|
%{_bindir}/dcopfind
|
||||||
|
%{_bindir}/dcopobject
|
||||||
|
%{_bindir}/dcopquit
|
||||||
|
%{_bindir}/dcopref
|
||||||
|
%{_bindir}/dcopserver
|
||||||
|
%{_bindir}/dcopserver_shutdown
|
||||||
|
%{_bindir}/dcopstart
|
||||||
|
%{_bindir}/filesharelist
|
||||||
|
%{_bindir}/fileshareset
|
||||||
|
%{_bindir}/imagetops
|
||||||
|
%{_bindir}/kab2kabc
|
||||||
|
%{_bindir}/kaddprinterwizard
|
||||||
|
%{_bindir}/kbuildsycoca
|
||||||
|
%{_bindir}/kcmshell
|
||||||
|
%{_bindir}/kconf_update
|
||||||
|
%{_bindir}/kcookiejar
|
||||||
|
%{_bindir}/kde-config
|
||||||
|
%{_bindir}/kde-menu
|
||||||
|
%{_bindir}/kded
|
||||||
|
%{_bindir}/kdeinit
|
||||||
|
%{_bindir}/kdeinit_shutdown
|
||||||
|
%{_bindir}/kdeinit_wrapper
|
||||||
|
%{_bindir}/kdesu_stub
|
||||||
|
%{_bindir}/kdontchangethehostname
|
||||||
|
%{_bindir}/kdostartupconfig
|
||||||
|
%{_bindir}/kfile
|
||||||
|
%{_bindir}/kfmexec
|
||||||
|
%{_bindir}/khotnewstuff
|
||||||
|
%{_bindir}/kinstalltheme
|
||||||
|
%{_bindir}/kio_http_cache_cleaner
|
||||||
|
%{_bindir}/kio_uiserver
|
||||||
|
%{_bindir}/kioexec
|
||||||
|
%{_bindir}/kioslave
|
||||||
|
%{_bindir}/klauncher
|
||||||
|
%{_bindir}/kmailservice
|
||||||
|
%{_bindir}/kmimelist
|
||||||
|
%attr(4755,root,root) %{_bindir}/kpac_dhcp_helper
|
||||||
|
%{_bindir}/ksendbugmail
|
||||||
|
%{_bindir}/kshell
|
||||||
|
%{_bindir}/kstartupconfig
|
||||||
|
%{_bindir}/ktelnetservice
|
||||||
|
%{_bindir}/ktradertest
|
||||||
|
%{_bindir}/kwrapper
|
||||||
|
%{_bindir}/lnusertemp
|
||||||
|
%{_bindir}/make_driver_db_cups
|
||||||
|
%{_bindir}/make_driver_db_lpr
|
||||||
|
%{_bindir}/meinproc
|
||||||
|
%{_bindir}/networkstatustestservice
|
||||||
|
%{_bindir}/start_kdeinit
|
||||||
|
%{_bindir}/start_kdeinit_wrapper
|
||||||
|
%attr(4755,root,root) %{_bindir}/kgrantpty
|
||||||
|
%{_libdir}/lib*.so.*
|
||||||
|
%{_libdir}/libkdeinit_*.so
|
||||||
|
%{_libdir}/lib*.la
|
||||||
|
%{_libdir}/trinity/
|
||||||
|
%{_datadir}/applications/kde/*.desktop
|
||||||
|
%{_datadir}/autostart/kab2kabc.desktop
|
||||||
|
%{_datadir}/applnk/kio_iso.desktop
|
||||||
|
%{_datadir}/apps/*
|
||||||
|
%exclude %{_datadir}/apps/ksgmltools2/
|
||||||
|
%config(noreplace) %{_datadir}/config/*
|
||||||
|
%{_datadir}/emoticons/*
|
||||||
|
%{_datadir}/icons/default.kde
|
||||||
|
%{_datadir}/mimelnk/magic
|
||||||
|
%{_datadir}/mimelnk/*/*.desktop
|
||||||
|
%{_datadir}/services/*
|
||||||
|
%{_datadir}/servicetypes/*
|
||||||
|
%{_datadir}/icons/crystalsvg/
|
||||||
|
%{_docdir}/kde/HTML/en/kspell
|
||||||
|
# remove conflicts with kdelibs-4
|
||||||
|
%if "%{?_prefix}" != "/usr"
|
||||||
|
%{_bindir}/checkXML
|
||||||
|
%{_bindir}/ksvgtopng
|
||||||
|
%{_bindir}/kunittestmodrunner
|
||||||
|
%{_bindir}/preparetips
|
||||||
|
%{_datadir}/icons/hicolor/index.theme
|
||||||
|
%{_datadir}/locale/all_languages
|
||||||
|
%{_docdir}/kde/HTML/en/common/*
|
||||||
|
%else
|
||||||
|
%exclude %{_bindir}/checkXML
|
||||||
|
%exclude %{_bindir}/ksvgtopng
|
||||||
|
%exclude %{_bindir}/kunittestmodrunner
|
||||||
|
%exclude %{_bindir}/preparetips
|
||||||
|
%exclude %{_datadir}/config/colors
|
||||||
|
%exclude %{_datadir}/config/kdebug.areas
|
||||||
|
%exclude %{_datadir}/config/kdebugrc
|
||||||
|
%exclude %{_datadir}/config/ksslcalist
|
||||||
|
%exclude %{_datadir}/config/ui/ui_standards.rc
|
||||||
|
%exclude %{_datadir}/icons/hicolor/index.theme
|
||||||
|
%exclude %{_datadir}/locale/all_languages
|
||||||
|
%exclude %{_docdir}/kde/HTML/en/common/*
|
||||||
|
%endif
|
||||||
|
%{_sysconfdir}/ld.so.conf.d/trinity.conf
|
||||||
|
|
||||||
|
# Provided by 'redhat-menus' package
|
||||||
|
%exclude %{_sysconfdir}/xdg/menus/applications.menu
|
||||||
|
|
||||||
|
# New in TDE 3.5.13
|
||||||
|
%{_bindir}/kdetcompmgr
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/dcopidl*
|
||||||
|
%{_bindir}/kconfig_compiler
|
||||||
|
%{_bindir}/makekdewidgets
|
||||||
|
%{_datadir}/apps/ksgmltools2/
|
||||||
|
%{_includedir}/
|
||||||
|
%{_libdir}/lib*.so
|
||||||
|
%{_libdir}/lib*.a
|
||||||
|
%exclude %{_libdir}/libkdeinit_*.so
|
||||||
|
|
||||||
|
# New in TDE 3.5.13
|
||||||
|
%{_datadir}/cmake/kdelibs.cmake
|
||||||
|
|
||||||
|
%files apidocs
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_docdir}/%{name}-%{version}/
|
||||||
|
#%{_docdir}/kde/HTML/en/kdelibs*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Sep 02 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13pre.svn20110902-0.el6
|
||||||
|
- Import to GIT
|
||||||
|
- Built with future TDE version (3.5.13 + cmake + QT3.3.8d)
|
Loading…
Reference in new issue