Timothy Pearson 13 years ago
commit 169853a068

@ -0,0 +1,97 @@
# Default version for this component
%define kdecomp abakus
%define version 0.91
%define release 2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.13 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-%{kdecomp}
Summary: Calculator for TDE
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{kdecomp}-3.5.13.tar.gz
BuildRequires: tqtinterface-devel
BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdebase-devel
BuildRequires: desktop-file-utils
BuildRequires: scons
BuildRequires: bison
%description
AbaKus is a complex calculator, which provides
many different kinds of calculations.
Think of it as bc (the command-line calculator) with a nice GUI.
It also gives information about mathematical variables and
has the user-friendly menu options of a normal KDE application.
%prep
%setup -q -n applications/%{kdecomp}
%build
export PATH="%{_bindir}:${PATH}"
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
export CXXFLAGS="-I%{_includedir}/tqt"
./configure
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}%{_prefix}
%clean
%__rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_bindir}/*
%{_datadir}/apps/*/
%{_datadir}/icons/*/*/*/*
%{tde_docdir}/HTML/*/*/
%{_datadir}/applnk/Utilities/abakus.desktop
%Changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.91-2
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.91-1
- Initial build for RHEL 6 and Fedora 15
- Import to GIT

@ -0,0 +1,145 @@
# Default version for this component
%define kdecomp dolphin
%define version 0.9.2
%define release 3
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.13 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-%{kdecomp}
Summary: File manager for KDE focusing on usability
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{kdecomp}-3.5.13.tar.gz
BuildRequires: tqtinterface-devel
BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdebase-devel
BuildRequires: desktop-file-utils
BuildRequires: gettext
%description
Dolphin focuses on being only a file manager.
This approach allows to optimize the user
interface for the task of file management.
%prep
%setup -q -n applications/%{kdecomp}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%__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 \
--with-extra-includes=%{_includedir}/tqt
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
# TDE 3.5.12: dirty hack to prevent duplicate line in file 'd3lphin.desktop'
sed -i "%{buildroot}%{_datadir}/applications/kde/d3lphin.desktop" \
-e "/^Name\[pa\].*/d"
desktop-file-install --vendor "" \
--delete-original \
--dir %{buildroot}%{_datadir}/applications/ \
%{buildroot}%{_datadir}/applications/kde/d3lphin.desktop
## File lists
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
done
popd
fi
done
fi
%clean
%__rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING TODO
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/apps/*/
%doc %lang(en) %{_docdir}/HTML/en/*/
%{_datadir}/icons/hicolor/128x128/apps/*.png
%{_datadir}/icons/hicolor/??x??/apps/*.png
%{_datadir}/locale/*/*/d3lphin.mo
%Changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.2-3
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.2-2
- Import to GIT
* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.2-1
- Correct macro to install under "/opt", if desired
* Thu Jun 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.2-0
- Initial build for RHEL 6.0
- Based on FC7 'Dolphin 0.8.2-2" SPEC file.

@ -0,0 +1,117 @@
# Default version for this component
%define kdecomp filelight
%define version 1.0
%define release 3
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.13 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-%{kdecomp}
Summary: Graphical disk usage display
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{kdecomp}-3.5.13.tar.gz
BuildRequires: tqtinterface-devel
BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdebase-devel
BuildRequires: desktop-file-utils
%description
Filelight creates a complex, but data-rich graphical representation of the files and
directories on your computer.
%prep
%setup -q -n applications/%{kdecomp}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%__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 \
--with-extra-includes=%{_includedir}/tqt
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%clean
%__rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_bindir}/*
%{_datadir}/applications/*/*.desktop
%{_datadir}/apps/*/
%{_datadir}/icons/*/*/*/*
%{_datadir}/locale/*/*/*.mo
%{_datadir}/config/filelightrc
%{_datadir}/services/*.desktop
%{_docdir}/HTML/*/*/
%{_libdir}/*/*.so
%exclude %{_libdir}/*/*.la
%Changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-3
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-2
- Import to GIT
* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-1
- Correct macro to install under "/opt", if desired
* Sun Aug 14 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-0
- Initial build for RHEL 6.0

@ -0,0 +1,254 @@
diff -Nuar gwenview.ORI/src/imageutils/jpegint.h gwenview/src/imageutils/jpegint.h
--- gwenview.ORI/src/imageutils/jpegint.h 2011-05-26 23:04:57.000000000 +0200
+++ gwenview/src/imageutils/jpegint.h 2011-11-01 20:45:15.494165195 +0100
@@ -43,9 +43,9 @@
/* Master control module */
struct jpeg_comp_master {
- JTQT_METHOD(void, prepare_for_pass, (j_compress_ptr cinfo));
- JTQT_METHOD(void, pass_startup, (j_compress_ptr cinfo));
- JTQT_METHOD(void, finish_pass, (j_compress_ptr cinfo));
+ JMETHOD(void, prepare_for_pass, (j_compress_ptr cinfo));
+ JMETHOD(void, pass_startup, (j_compress_ptr cinfo));
+ JMETHOD(void, finish_pass, (j_compress_ptr cinfo));
/* State variables made visible to other modules */
boolean call_pass_startup; /* True if pass_startup must be called */
@@ -54,16 +54,16 @@
/* Main buffer control (downsampled-data buffer) */
struct jpeg_c_main_controller {
- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
- JTQT_METHOD(void, process_data, (j_compress_ptr cinfo,
+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
+ JMETHOD(void, process_data, (j_compress_ptr cinfo,
JSAMPARRAY input_buf, JDIMENSION *in_row_ctr,
JDIMENSION in_rows_avail));
};
/* Compression preprocessing (downsampling input buffer control) */
struct jpeg_c_prep_controller {
- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
- JTQT_METHOD(void, pre_process_data, (j_compress_ptr cinfo,
+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
+ JMETHOD(void, pre_process_data, (j_compress_ptr cinfo,
JSAMPARRAY input_buf,
JDIMENSION *in_row_ctr,
JDIMENSION in_rows_avail,
@@ -74,23 +74,23 @@
/* Coefficient buffer control */
struct jpeg_c_coef_controller {
- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
- JTQT_METHOD(boolean, compress_data, (j_compress_ptr cinfo,
+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
+ JMETHOD(boolean, compress_data, (j_compress_ptr cinfo,
JSAMPIMAGE input_buf));
};
/* Colorspace conversion */
struct jpeg_color_converter {
- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo));
- JTQT_METHOD(void, color_convert, (j_compress_ptr cinfo,
+ JMETHOD(void, start_pass, (j_compress_ptr cinfo));
+ JMETHOD(void, color_convert, (j_compress_ptr cinfo,
JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
JDIMENSION output_row, int num_rows));
};
/* Downsampling */
struct jpeg_downsampler {
- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo));
- JTQT_METHOD(void, downsample, (j_compress_ptr cinfo,
+ JMETHOD(void, start_pass, (j_compress_ptr cinfo));
+ JMETHOD(void, downsample, (j_compress_ptr cinfo,
JSAMPIMAGE input_buf, JDIMENSION in_row_index,
JSAMPIMAGE output_buf,
JDIMENSION out_row_group_index));
@@ -100,9 +100,9 @@
/* Forward DCT (also controls coefficient quantization) */
struct jpeg_forward_dct {
- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo));
+ JMETHOD(void, start_pass, (j_compress_ptr cinfo));
/* perhaps this should be an array??? */
- JTQT_METHOD(void, forward_DCT, (j_compress_ptr cinfo,
+ JMETHOD(void, forward_DCT, (j_compress_ptr cinfo,
jpeg_component_info * compptr,
JSAMPARRAY sample_data, JBLOCKROW coef_blocks,
JDIMENSION start_row, JDIMENSION start_col,
@@ -111,23 +111,23 @@
/* Entropy encoding */
struct jpeg_entropy_encoder {
- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, boolean gather_statistics));
- JTQT_METHOD(boolean, encode_mcu, (j_compress_ptr cinfo, JBLOCKROW *MCU_data));
- JTQT_METHOD(void, finish_pass, (j_compress_ptr cinfo));
+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, boolean gather_statistics));
+ JMETHOD(boolean, encode_mcu, (j_compress_ptr cinfo, JBLOCKROW *MCU_data));
+ JMETHOD(void, finish_pass, (j_compress_ptr cinfo));
};
/* Marker writing */
struct jpeg_marker_writer {
- JTQT_METHOD(void, write_file_header, (j_compress_ptr cinfo));
- JTQT_METHOD(void, write_frame_header, (j_compress_ptr cinfo));
- JTQT_METHOD(void, write_scan_header, (j_compress_ptr cinfo));
- JTQT_METHOD(void, write_file_trailer, (j_compress_ptr cinfo));
- JTQT_METHOD(void, write_tables_only, (j_compress_ptr cinfo));
+ JMETHOD(void, write_file_header, (j_compress_ptr cinfo));
+ JMETHOD(void, write_frame_header, (j_compress_ptr cinfo));
+ JMETHOD(void, write_scan_header, (j_compress_ptr cinfo));
+ JMETHOD(void, write_file_trailer, (j_compress_ptr cinfo));
+ JMETHOD(void, write_tables_only, (j_compress_ptr cinfo));
/* These routines are exported to allow insertion of extra markers */
/* Probably only COM and APPn markers should be written this way */
- JTQT_METHOD(void, write_marker_header, (j_compress_ptr cinfo, int marker,
+ JMETHOD(void, write_marker_header, (j_compress_ptr cinfo, int marker,
unsigned int datalen));
- JTQT_METHOD(void, write_marker_byte, (j_compress_ptr cinfo, int val));
+ JMETHOD(void, write_marker_byte, (j_compress_ptr cinfo, int val));
};
@@ -135,8 +135,8 @@
/* Master control module */
struct jpeg_decomp_master {
- JTQT_METHOD(void, prepare_for_output_pass, (j_decompress_ptr cinfo));
- JTQT_METHOD(void, finish_output_pass, (j_decompress_ptr cinfo));
+ JMETHOD(void, prepare_for_output_pass, (j_decompress_ptr cinfo));
+ JMETHOD(void, finish_output_pass, (j_decompress_ptr cinfo));
/* State variables made visible to other modules */
boolean is_dummy_pass; /* True during 1st pass for 2-pass quant */
@@ -144,10 +144,10 @@
/* Input control module */
struct jpeg_input_controller {
- JTQT_METHOD(int, consume_input, (j_decompress_ptr cinfo));
- JTQT_METHOD(void, reset_input_controller, (j_decompress_ptr cinfo));
- JTQT_METHOD(void, start_input_pass, (j_decompress_ptr cinfo));
- JTQT_METHOD(void, finish_input_pass, (j_decompress_ptr cinfo));
+ JMETHOD(int, consume_input, (j_decompress_ptr cinfo));
+ JMETHOD(void, reset_input_controller, (j_decompress_ptr cinfo));
+ JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo));
+ JMETHOD(void, finish_input_pass, (j_decompress_ptr cinfo));
/* State variables made visible to other modules */
boolean has_multiple_scans; /* True if file has multiple scans */
@@ -156,18 +156,18 @@
/* Main buffer control (downsampled-data buffer) */
struct jpeg_d_main_controller {
- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode));
- JTQT_METHOD(void, process_data, (j_decompress_ptr cinfo,
+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode));
+ JMETHOD(void, process_data, (j_decompress_ptr cinfo,
JSAMPARRAY output_buf, JDIMENSION *out_row_ctr,
JDIMENSION out_rows_avail));
};
/* Coefficient buffer control */
struct jpeg_d_coef_controller {
- JTQT_METHOD(void, start_input_pass, (j_decompress_ptr cinfo));
- JTQT_METHOD(int, consume_data, (j_decompress_ptr cinfo));
- JTQT_METHOD(void, start_output_pass, (j_decompress_ptr cinfo));
- JTQT_METHOD(int, decompress_data, (j_decompress_ptr cinfo,
+ JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo));
+ JMETHOD(int, consume_data, (j_decompress_ptr cinfo));
+ JMETHOD(void, start_output_pass, (j_decompress_ptr cinfo));
+ JMETHOD(int, decompress_data, (j_decompress_ptr cinfo,
JSAMPIMAGE output_buf));
/* Pointer to array of coefficient virtual arrays, or NULL if none */
jvirt_barray_ptr *coef_arrays;
@@ -175,8 +175,8 @@
/* Decompression postprocessing (color quantization buffer control) */
struct jpeg_d_post_controller {
- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode));
- JTQT_METHOD(void, post_process_data, (j_decompress_ptr cinfo,
+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode));
+ JMETHOD(void, post_process_data, (j_decompress_ptr cinfo,
JSAMPIMAGE input_buf,
JDIMENSION *in_row_group_ctr,
JDIMENSION in_row_groups_avail,
@@ -187,12 +187,12 @@
/* Marker reading & parsing */
struct jpeg_marker_reader {
- JTQT_METHOD(void, reset_marker_reader, (j_decompress_ptr cinfo));
+ JMETHOD(void, reset_marker_reader, (j_decompress_ptr cinfo));
/* Read markers until SOS or EOI.
* Returns same codes as are defined for jpeg_consume_input:
* JPEG_SUSPENDED, JPEG_REACHED_SOS, or JPEG_REACHED_EOI.
*/
- JTQT_METHOD(int, read_markers, (j_decompress_ptr cinfo));
+ JMETHOD(int, read_markers, (j_decompress_ptr cinfo));
/* Read a restart marker --- exported for use by entropy decoder only */
jpeg_marker_parser_method read_restart_marker;
@@ -207,8 +207,8 @@
/* Entropy decoding */
struct jpeg_entropy_decoder {
- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo));
- JTQT_METHOD(boolean, decode_mcu, (j_decompress_ptr cinfo,
+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
+ JMETHOD(boolean, decode_mcu, (j_decompress_ptr cinfo,
JBLOCKROW *MCU_data));
/* This is here to share code between baseline and progressive decoders; */
@@ -217,21 +217,21 @@
};
/* Inverse DCT (also performs dequantization) */
-typedef JTQT_METHOD(void, inverse_DCT_method_ptr,
+typedef JMETHOD(void, inverse_DCT_method_ptr,
(j_decompress_ptr cinfo, jpeg_component_info * compptr,
JCOEFPTR coef_block,
JSAMPARRAY output_buf, JDIMENSION output_col));
struct jpeg_inverse_dct {
- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo));
+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
/* It is useful to allow each component to have a separate IDCT method. */
inverse_DCT_method_ptr inverse_DCT[MAX_COMPONENTS];
};
/* Upsampling (note that upsampler must also call color converter) */
struct jpeg_upsampler {
- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo));
- JTQT_METHOD(void, upsample, (j_decompress_ptr cinfo,
+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
+ JMETHOD(void, upsample, (j_decompress_ptr cinfo,
JSAMPIMAGE input_buf,
JDIMENSION *in_row_group_ctr,
JDIMENSION in_row_groups_avail,
@@ -244,20 +244,20 @@
/* Colorspace conversion */
struct jpeg_color_deconverter {
- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo));
- JTQT_METHOD(void, color_convert, (j_decompress_ptr cinfo,
+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
+ JMETHOD(void, color_convert, (j_decompress_ptr cinfo,
JSAMPIMAGE input_buf, JDIMENSION input_row,
JSAMPARRAY output_buf, int num_rows));
};
/* Color quantization or color precision reduction */
struct jpeg_color_quantizer {
- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo, boolean is_pre_scan));
- JTQT_METHOD(void, color_quantize, (j_decompress_ptr cinfo,
+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo, boolean is_pre_scan));
+ JMETHOD(void, color_quantize, (j_decompress_ptr cinfo,
JSAMPARRAY input_buf, JSAMPARRAY output_buf,
int num_rows));
- JTQT_METHOD(void, finish_pass, (j_decompress_ptr cinfo));
- JTQT_METHOD(void, new_color_map, (j_decompress_ptr cinfo));
+ JMETHOD(void, finish_pass, (j_decompress_ptr cinfo));
+ JMETHOD(void, new_color_map, (j_decompress_ptr cinfo));
};

@ -0,0 +1,169 @@
# Default version for this component
%define kdecomp gwenview
%define version 1.4.2
%define release 4
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.13 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-%{kdecomp}
Summary: Gwenview is an image viewer for KDE.
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{kdecomp}-3.5.13.tar.gz
# TDE 3.5.13 on RHEL/Fedora specific patches
Patch0: gwenview-3.5.13-jpegint-ftbfs.patch
BuildRequires: tqtinterface-devel
BuildRequires: trinity-arts-devel
BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdebase-devel
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: exiv2-devel
%if "%{?_prefix}" == "/usr"
Conflicts: kdegraphics
%endif
%description
Gwenview is a fast and easy to use image viewer/browser for KDE.
All common image formats are supported, such as PNG(including transparency),
JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp
image format), BMP, XPM and others. Standard features include slideshow,
fullscreen view, image thumbnails, drag'n'drop, image zoom, full network
transparency using the KIO framework, including basic file operations and
browsing in compressed archives, non-blocking GUI with adjustable views.
Gwenview also provides image and directory KParts components for use e.g. in
Konqueror. Additional features, such as image renaming, comparing,
converting, and batch processing, HTML gallery and others are provided by the
KIPI image framework.
%prep
%setup -q -n applications/%{kdecomp}
%patch0 -p1
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%__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 \
--with-extra-includes=%{_includedir}/tqt \
--enable-closure
%__make
# %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
## File lists
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
done
popd
fi
done
fi
%clean
%__rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_bindir}/*
%{_libdir}/*.so.*
%{_datadir}/applications/*/*.desktop
%{_datadir}/services/*.desktop
%{_datadir}/apps/*/
%{_datadir}/config.kcfg/*
%{tde_docdir}/HTML/en/*/
%{_datadir}/icons/*/*/*/*
%{_mandir}/man*/*
%{_libdir}/libkdeinit_gwenview.so
%exclude %{_libdir}/libgwenviewcore.so
%exclude %{_libdir}/*.la
%exclude %{_libdir}/*/*.so
%exclude %{_libdir}/*/*.la
%Changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-4
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-3
- Import to GIT
* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-2
- Add fix for Fedora 15
* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-1
- Correct macro to install under "/opt", if desired
* Sat Aug 13 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-0
- Initial build for RHEL 6.0

@ -0,0 +1,81 @@
--- k3b-i18n-1.0.5/acinclude.m4.ORI 2011-10-30 11:45:36.484658442 +0100
+++ k3b-i18n-1.0.5/acinclude.m4 2011-10-30 11:53:00.134646577 +0100
@@ -479,14 +479,14 @@
if test "$kde_qtver" = "2"; then
kde_moduledir='\${libdir}/kde2'
else
- kde_moduledir='\${libdir}/kde3'
+ kde_moduledir='\${libdir}/trinity'
fi
fi
if test -z "$kde_styledir"; then
- kde_styledir='\${libdir}/kde3/plugins/styles'
+ kde_styledir='\${libdir}/trinity/plugins/styles'
fi
if test -z "$kde_widgetdir"; then
- kde_widgetdir='\${libdir}/kde3/plugins/designer'
+ kde_widgetdir='\${libdir}/trinity/plugins/designer'
fi
if test -z "$xdg_appsdir"; then
xdg_appsdir='\${datadir}/applications/kde'
@@ -546,7 +546,7 @@
AC_DEFUN([KDE_SET_DEFAULT_BINDIRS],
[
- kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
+ kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/trinity/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
if test -n "$KDEDIRS"; then
kde_save_IFS=$IFS
@@ -612,7 +612,7 @@
KDE_FIND_PATH(xmllint, XMLLINT, [${prefix}/bin ${exec_prefix}/bin], [XMLLINT=""])
if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
- kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
+ kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/trinity/share /opt/kde3/share /opt/kde/share $prefix/share"
test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET)
if test "$KDE_XSL_STYLESHEET" = "NO"; then
@@ -1817,7 +1817,7 @@
if test -z "$1"; then
-kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
+kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/trinity/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
kde_incdirs="$ac_kde_includes $kde_incdirs"
AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir)
@@ -1829,7 +1829,7 @@
So, check this please and use another prefix!])
fi
-kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
+kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/trinity/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir)
@@ -1837,7 +1837,7 @@
kde_widgetdir=NO
dnl this might be somewhere else
-AC_FIND_FILE("kde3/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir)
+AC_FIND_FILE("trinity/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir)
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
AC_MSG_ERROR([
@@ -1845,7 +1845,7 @@
So, check this please and use another prefix!])
fi
-if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
+if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/trinity/plugins/designer/kdewidgets.la"; then
AC_MSG_ERROR([
I can't find the designer plugins. These are required and should have been installed
by kdelibs])
@@ -1852,7 +1852,7 @@
fi
if test -n "$kde_widgetdir"; then
- kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
+ kde_widgetdir="$kde_widgetdir/trinity/plugins/designer"
fi

@ -26,6 +26,9 @@ Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if "%{?_prefix}" == "/usr" %if "%{?_prefix}" == "/usr"
Obsoletes: k3b Obsoletes: k3b
%endif %endif
@ -33,10 +36,6 @@ Obsoletes: k3b
Group: Applications/Archiving Group: Applications/Archiving
License: GPLv2+ License: GPLv2+
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: k3b-%{version}.tar.gz Source0: k3b-%{version}.tar.gz
Source1: k3b-i18n-1.0.5.tar.bz2 Source1: k3b-i18n-1.0.5.tar.bz2
Source2: k3brc Source2: k3brc
@ -62,7 +61,7 @@ BuildRequires: dbus-qt-devel hal-devel
BuildRequires: flac-devel BuildRequires: flac-devel
BuildRequires: gettext BuildRequires: gettext
BuildRequires: libdvdread-devel BuildRequires: libdvdread-devel
%if 0%{?fedora} >= 15 || 0%{?rhel} && 0%{?rhel} <= 5 %if 0%{?fedora} >= 15 || 0%{?rhel} <= 5
BuildRequires: libmpcdec-devel BuildRequires: libmpcdec-devel
%else %else
BuildRequires: musepack-tools-devel BuildRequires: musepack-tools-devel

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.13 %define version 3.5.13
%endif %endif
%define release 0 %define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -26,12 +26,16 @@ Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if "%{?_prefix}" == "/usr" %if "%{?_prefix}" == "/usr"
Obsoletes: k3b Obsoletes: k3b
%endif %endif
Group: Applications/Archiving Group: Applications/Archiving
License: GPLv2+ License: GPLv2+
Source0: k3b-%{version}.tar.gz Source0: k3b-%{version}.tar.gz
Source1: k3b-i18n-1.0.5.tar.bz2 Source1: k3b-i18n-1.0.5.tar.bz2
Source2: k3brc Source2: k3brc
@ -42,6 +46,8 @@ Patch4: k3b-1.0.4-manualbufsize.patch
# RHEL6: Fix K3B icon # RHEL6: Fix K3B icon
Patch106: trinity-k3b-icons.patch Patch106: trinity-k3b-icons.patch
# TDE 3.5.13 library directory changed
Patch107: k3b-i18n-trinity.patch
BuildRequires: trinity-kdelibs-devel BuildRequires: trinity-kdelibs-devel
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -51,7 +57,7 @@ BuildRequires: dbus-qt-devel hal-devel
BuildRequires: flac-devel BuildRequires: flac-devel
BuildRequires: gettext BuildRequires: gettext
BuildRequires: libdvdread-devel BuildRequires: libdvdread-devel
%if 0%{?fedora} >= 15 %if 0%{?fedora} >= 15 || 0%{?rhel} <= 5
BuildRequires: libmpcdec-devel BuildRequires: libmpcdec-devel
%else %else
BuildRequires: musepack-tools-devel BuildRequires: musepack-tools-devel
@ -90,7 +96,9 @@ start.
Summary: Common files of %{name} Summary: Common files of %{name}
Group: Applications/Archiving Group: Applications/Archiving
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
BuildArch: noarch BuildArch: noarch
%endif
%description common %description common
%{summary}. %{summary}.
@ -115,6 +123,8 @@ Requires: %{name}-libs = %{version}-%{release}
# set in k3brc too # set in k3brc too
%patch4 -p1 -b .manualbufsize %patch4 -p1 -b .manualbufsize
%patch106 -p1 -b .desktopfile %patch106 -p1 -b .desktopfile
%patch107
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@ -155,27 +165,22 @@ CXXFLAGS="%optflags -fno-strict-aliasing" \
# Build for i18n tarball # Build for i18n tarball
pushd k3b-i18n-1.0.5 pushd k3b-i18n-1.0.5
autoreconf
%configure %configure
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
popd popd
%install %install
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%make_install %__make install DESTDIR=%{buildroot}
%make_install -C k3b-i18n-1.0.5 %__make install DESTDIR=%{buildroot} -C k3b-i18n-1.0.5
%{__install} -D -m 644 -p %{SOURCE2} %{buildroot}%{_datadir}/config/k3brc %__install -D -m 644 -p %{SOURCE2} %{buildroot}%{_datadir}/config/k3brc
# remove the .la files # remove the .la files
%{__rm} -f %{buildroot}%{_libdir}/libk3b*.la %__rm -f %{buildroot}%{_libdir}/libk3b*.la
# remove i18n for Plattdeutsch (Low Saxon) # remove i18n for Plattdeutsch (Low Saxon)
%{__rm} -fr %{buildroot}%{_datadir}/locale/nds %__rm -fr %{buildroot}%{_datadir}/locale/nds
%find_lang k3b --with-kde
%find_lang k3bsetup
%find_lang libk3b
%find_lang libk3bdevice
cat k3b.lang k3bsetup.lang libk3b.lang libk3bdevice.lang >> all.lang
%check %check
@ -212,11 +217,12 @@ update-desktop-database -q &> /dev/null
%{_bindir}/k3b %{_bindir}/k3b
%{tde_libdir}/*.so %{tde_libdir}/*.so
%{tde_libdir}/*.la %{tde_libdir}/*.la
%doc %{tde_docdir}/HTML/*/k3b/* %doc %{_docdir}/HTML/*/k3b/*
%files common -f all.lang %files common
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_datadir}/applications/kde/*.desktop %{_datadir}/applications/kde/*.desktop
%{_datadir}/applnk/.hidden/*.desktop
%{_datadir}/apps/k3b/ %{_datadir}/apps/k3b/
%{_datadir}/apps/konqueror/servicemenus/*.desktop %{_datadir}/apps/konqueror/servicemenus/*.desktop
%{_datadir}/apps/konqsidebartng/virtual_folders/services/videodvd.desktop %{_datadir}/apps/konqsidebartng/virtual_folders/services/videodvd.desktop
@ -240,5 +246,8 @@ update-desktop-database -q &> /dev/null
%changelog %changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0 * Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT - Import to GIT

@ -0,0 +1,128 @@
# Default version for this component
%define kdecomp kbookreader
%define version 0.2.0
%define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.13 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-%{kdecomp}
Summary: eBook reader for Trinity.
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{kdecomp}-3.5.13.tar.gz
BuildRequires: tqtinterface-devel
BuildRequires: trinity-arts-devel
BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdebase-devel
BuildRequires: desktop-file-utils
%description
kbookreader is an application which allows you to view eBooks
within the Trinity Desktop Environment.
%prep
%setup -q -n applications/%{kdecomp}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%__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 \
--with-extra-includes=%{_includedir}/tqt \
--enable-closure
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
## File lists
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
done
popd
fi
done
fi
%clean
%__rm -rf %{buildroot}
%post
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_bindir}/*
%{_datadir}/applnk/*/*.desktop
%{_datadir}/apps/*/
%{_datadir}/config.kcfg/*
%{_docdir}/HTML/en/*/
%{_datadir}/icons/*/*/*/*
%Changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.2.0-1
- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15

@ -0,0 +1,10 @@
--- kdbusnotification/src/daemon/Makefile.am.ORI 2011-11-01 22:59:28.000000000 +0100
+++ kdbusnotification/src/daemon/Makefile.am 2011-11-01 22:59:45.000000000 +0100
@@ -35,6 +35,7 @@
$(KDE_RPATH) \
$(KDE_LDFLAGS) \
$(LIB_QT) \
+ $(QT_LDFLAGS) \
-lDCOP \
$(LIB_KDECORE) \
$(LIB_KDEUI) \

@ -0,0 +1,126 @@
# Default version for this component
%define kdecomp kdbusnotification
%define version 0.1
%define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.13 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-%{kdecomp}
Summary: a DBUS notification service [Trinity]
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{kdecomp}-3.5.13.tar.gz
# [kdbusnotification/src/daemon] Missing QT LDFLAGS
Patch0: kdbusnotification-3.5.13-ftbfs_qt_ldlflags.patch
BuildRequires: tqtinterface-devel
BuildRequires: trinity-arts-devel
BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdebase-devel
BuildRequires: desktop-file-utils
BuildRequires: dbus-glib-devel
BuildRequires: gtk2-devel
%description
kdbusnotification is a small program for Trinity that displays
DBUS notifications via unobtrusive, easily dismissed passive popups.
%prep
%setup -q -n applications/%{kdecomp}
%patch0 -p1
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%__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 \
--with-extra-includes=%{_includedir}/tqt \
--enable-closure
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
## File lists
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
done
popd
fi
done
fi
%clean
%__rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%files
%defattr(-,root,root,-)
%{_bindir}/notification-daemon-tde
%{_datadir}/autostart/kdbusnotification-autostart.desktop
%Changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.1-1
- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15

@ -0,0 +1,124 @@
# Default version for this component
%define kdecomp kdesudo
%define version 2.5.1
%define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.13 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-%{kdecomp}
Summary: sudo frontend for Trinity
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{kdecomp}-3.5.13.tar.gz
BuildRequires: tqtinterface-devel
BuildRequires: trinity-arts-devel
BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdebase-devel
BuildRequires: desktop-file-utils
%description
KdeSudo is a graphical frontend for the sudo utility.
It allows you to run programs as another user by entering your password.
%prep
%setup -q -n applications/%{kdecomp}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%__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 || : ; source /etc/profile.d/qt.sh
export PATH="%{_bindir}:${PATH}"
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
%configure \
--disable-rpath \
--with-extra-includes=%{_includedir}/tqt
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
## File lists
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
done
popd
fi
done
fi
%clean
%__rm -rf %{buildroot}
%post
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%files
%defattr(-,root,root,-)
%{_bindir}/kdesudo
%{_docdir}/HTML/en/kdesudo/common
%{_docdir}/HTML/en/kdesudo/index.cache.bz2
%{_docdir}/HTML/en/kdesudo/index.docbook
%{_datadir}/locale/fr/LC_MESSAGES/kdesudo.mo
%Changelog
* Wed Nov 02 2011 Francois Andriot <francois.andriot@free.fr> - 2.5.1-1
- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15

@ -0,0 +1,122 @@
# Default version for this component
%define kdecomp kdiff3
%define version 0.9.91
%define release 3
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.13 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-%{kdecomp}
Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories.
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{kdecomp}-3.5.13.tar.gz
BuildRequires: tqtinterface-devel
BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdebase-devel
BuildRequires: desktop-file-utils
%description
Shows the differences line by line and character by character (!).
Provides an automatic merge-facility and
an integrated editor for comfortable solving of merge-conflicts.
Supports KIO on KDE (allows accessing ftp, sftp, fish, smb etc.).
Unicode & UTF-8 support
%prep
%setup -q -n applications/%{kdecomp}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%__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 \
--with-extra-includes=%{_includedir}/tqt \
--enable-closure
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%clean
%__rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_bindir}/*
%{_datadir}/apps/*/
%{_datadir}/icons/*/*/*/*
%{_datadir}/locale/*/*/*.mo
%{_docdir}/HTML/*/*
%{_datadir}/services/*.desktop
%{tde_libdir}/*.so
%{_datadir}/applnk/Development/*.desktop
%{_datadir}/applnk/.hidden/*.desktop
%{_mandir}/man*/*
%{tde_libdir}/*.la
%Changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.91-3
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.91-2
- Import to GIT
* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.91-1
- Correct macro to install under "/opt", if desired
* Sun Aug 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.91-0
- Initial build for RHEL 6.0

@ -0,0 +1,115 @@
# Default version for this component
%define kdecomp krename
%define version 3.0.14
%define release 3
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.12 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-%{kdecomp}
Summary: A KDE batch file renaming utility.
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{kdecomp}-3.5.13.tar.gz
BuildRequires: tqtinterface-devel
BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdebase-devel
BuildRequires: desktop-file-utils
BuildRequires: imlib-devel
%description
KRename is a powerful batch renamer for KDE 3.x. It allows you to easily rename hundreds or
even more files in one go. The filenames can be created by parts of the original filename,
numbering the files or accessing hundreds of informations about the file, like creation date
or Exif informations of an image.
%prep
%setup -q -n applications/%{kdecomp}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%__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 \
--with-extra-includes=%{_includedir}/tqt \
--enable-closure
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%clean
%__rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_bindir}/*
%{_datadir}/applications/*/*.desktop
%{_datadir}/apps/*/
%{_docdir}/HTML/en/*/
%{_datadir}/icons/*/*/*/*
%{_datadir}/locale/*/*/*.mo
%Changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.0.14-3
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 3.0.14-2
- Import to GIT
* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 3.0.14-1
- Correct macro to install under "/opt", if desired
* Sun Aug 14 2011 Francois Andriot <francois.andriot@free.fr> - 3.0.14-0
- Initial build for RHEL 6.0

@ -0,0 +1,10 @@
--- kstreamripper/src/addnewstreamimpl.h.ORI 2011-11-02 20:40:17.450317896 +0100
+++ kstreamripper/src/addnewstreamimpl.h 2011-11-02 20:40:25.777317020 +0100
@@ -22,6 +22,7 @@
#define ADDNEWSTREAMIMPL_H
#include "addnewstream.h"
+#include <tqt.h>
class AddNewStreamImpl : public AddNewStream
{

@ -0,0 +1,118 @@
# Default version for this component
%define kdecomp kstreamripper
%define version 0.3.4
%define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.13 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-%{kdecomp}
Summary: TDE frontend for streamripper
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{kdecomp}-3.5.13.tar.gz
Patch0: kstreamripper-3.5.13-missing_include_tqt.patch
BuildRequires: tqtinterface-devel
BuildRequires: trinity-arts-devel
BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdebase-devel
BuildRequires: desktop-file-utils
BuildRequires: scons
%description
KStreamRipper is a small frontend for the streamripper command
line utility. Streamripper captures internet shoutcast radio streams
on your harddisk and splits them up in mp3 files. KStreamRipper helps
you with managing/ripping your preferred streams.
%prep
%setup -q -n applications/%{kdecomp}
%patch0 -p1
%build
export PATH="%{_bindir}:${PATH}"
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
export CXXFLAGS="-I%{_includedir}/tqt"
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
## File lists
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
done
popd
fi
done
fi
%clean
%__rm -rf %{buildroot}
%post
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%files
%defattr(-,root,root,-)
%{_bindir}/kstreamripper
%{_datadir}/applnk/Utilities/kstreamripper.desktop
%{_datadir}/apps/kstreamripper/kstreamripperui.rc
%{tde_docdir}/HTML/en/en/index.cache.bz2
%Changelog
* Wed Nov 02 2011 Francois Andriot <francois.andriot@free.fr> - 0.3.4-1
- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15

@ -0,0 +1,108 @@
# Default version for this component
%define kdecomp yakuake
%define version 2.8.1
%define release 3
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.12 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-%{kdecomp}
Summary: Yakuake is a Quake-style terminal emulator based on KDE Konsole technology.
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{kdecomp}-3.5.13.tar.gz
BuildRequires: tqtinterface-devel
BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdebase-devel
BuildRequires: desktop-file-utils
%description
Yakuake is a Quake-style terminal emulator based on KDE Konsole technology.
%prep
%setup -q -n applications/%{kdecomp}
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%__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 \
--with-extra-includes=%{_includedir}/tqt \
--enable-closure
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%clean
%__rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_bindir}/*
%{_datadir}/applications/*/*.desktop
%{_datadir}/apps/*/
%{_datadir}/icons/*/*/*/*
%{_datadir}/locale/*/*/*.mo
%{_datadir}/config.kcfg/*.kcfg
%Changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 2.8.1-3
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 2.8.1-2
- Import to GIT
* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 2.8.1-1
- Correct macro to install under "/opt", if desired
* Sun Aug 14 2011 Francois Andriot <francois.andriot@free.fr> - 2.8.1-0
- Initial build for RHEL 6.0

@ -1,7 +1,11 @@
dependencies/libcaldav
dependencies/libcarddav
dependencies/qt3 dependencies/qt3
dependencies/tqtinterface dependencies/tqtinterface
dependencies/dbus-tqt dependencies/dbus-tqt
dependencies/arts dependencies/arts
trinity-desktop
trinity-settings
kdelibs kdelibs
kdebase kdebase
kdebindings kdebindings
@ -22,3 +26,20 @@ kdeaddons
kdewebdev kdewebdev
kde-i18n kde-i18n
applications/k3b applications/k3b
applications/abakus
applications/dolphin
applications/gwenview
applications/krename
applications/yakuake
#applications/desktop-effects-kde
applications/filelight
applications/kdiff3
#applications/kuickshow
#applications/basket
applications/katapult
#compizconfig-backend-kconfig
applications/kbookreader
applications/kdbusnotification
applications/kmymoney2
applications/kstreamripper
applications/kdesudo

@ -1,8 +1,8 @@
# Default version for this component # Default version for this component
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 1.5.10 %define version 3.5.13
%endif %endif
%define release 0 %define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -18,13 +18,16 @@ Version: %{?version}
Release: %{?release}%{?dist}%{?_variant} Release: %{?release}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: aRts (analog realtime synthesizer) - the KDE sound system Summary: aRts (analog realtime synthesizer) - the KDE sound system
Group: System Environment/Daemons
Vendor: Trinity Project Vendor: Trinity Project
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
Source0: arts-%{version}.tar.gz
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: arts-%{version}.tar.gz
BuildRequires: tqtinterface-devel BuildRequires: tqtinterface-devel
BuildRequires: audiofile-devel BuildRequires: audiofile-devel
@ -54,8 +57,9 @@ playing a wave file with some effects.
%package devel %package devel
Requires: %{name} Group: Development/Libraries
Summary: %{name} - Development files Summary: %{name} - Development files
Requires: %{name} = %{version}-%{release}
%if "%{?_prefix}" == "/usr" %if "%{?_prefix}" == "/usr"
Obsoletes: arts-devel Obsoletes: arts-devel
%endif %endif
@ -80,7 +84,8 @@ cd build
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
%install %install
%make_install -C build %__rm -rf %{?buildroot}
%__make install -C build DESTDIR=%{?buildroot}
%clean %clean
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
@ -111,10 +116,13 @@ cd build
%{_bindir}/artsc-config %{_bindir}/artsc-config
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%exclude %{_libdir}/*.a %{_libdir}/*.a
%changelog %changelog
* Fri Sep 02 2011 Francois Andriot <francois.andriot@free.fr> - 1.5.10-0 * Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Fri Sep 02 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT - Import to GIT
- Built with future TDE version (3.5.13 + cmake + QT3.3.8d) - Built with future TDE version (3.5.13 + cmake + QT3.3.8d)

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.13 %define version 3.5.13
%endif %endif
%define release 0 %define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -20,10 +20,14 @@ Version: %{?version}
Release: %{?release}%{?dist}%{?_variant} Release: %{?release}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: Dbus TQT Interface Summary: Dbus TQT Interface
Group: System Environment/Libraries
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -37,6 +41,7 @@ Dbus TQT Interface
%package devel %package devel
Requires: %{name} Requires: %{name}
Summary: %{name} - Development files Summary: %{name} - Development files
Group: Development/Libraries
%description devel %description devel
Development files for %{name} Development files for %{name}
@ -58,7 +63,7 @@ cd build
%install %install
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%__mkdir_p %{?buildroot}%{_includedir} %__mkdir_p %{?buildroot}%{_includedir}
%make_install -C build %__make install DESTDIR=%{?buildroot} -C build
%clean %clean
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
@ -73,6 +78,9 @@ cd build
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%changelog %changelog
* Sun Sep 02 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13pre-0 * Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Sun Sep 02 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13.0
- Import to GIT - Import to GIT
- Built with future TDE version (3.5.13 + cmake + QT3.3.8d) - Built with future TDE version (3.5.13 + cmake + QT3.3.8d)

@ -1,6 +1,11 @@
# 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: libcaldav Name: libcaldav
Version: 0.6.5 Version: 0.6.5
Release: 2debian2%{?dist} Release: 2debian2.1%{?dist}%{?_variant}
Vendor: Trinity Project Vendor: Trinity Project
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
@ -10,8 +15,17 @@ License: GPL
Group: System Environment/Libraries Group: System Environment/Libraries
Summary: A client library that adds support for the CalDAV protocol (rfc4791). Summary: A client library that adds support for the CalDAV protocol (rfc4791).
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: libcaldav_0.6.5-2debian2.tar.gz Source0: libcaldav_0.6.5-2debian2.tar.gz
%if 0%{?fedora} || 0%{?rhel} >= 6
BuildRequires: libcurl-devel
%else
# Specific CURL version for TDE on RHEL 5 (and older)
BuildRequires: trinity-libcurl-devel
%endif
%description %description
libcaldev is a client library that adds support for the CalDAV protocol (rfc4791). libcaldev is a client library that adds support for the CalDAV protocol (rfc4791).
The object is to have a library which fully implements the protocol so that it is The object is to have a library which fully implements the protocol so that it is
@ -38,6 +52,10 @@ autoreconf --force --install --symlink
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
# The include files do not go in the correct directory
%__mv -f %{buildroot}%{_includedir}/%{name}-0.6.2/*.h %{buildroot}%{_includedir}
%__rm -rf %{buildroot}%{_includedir}/%{name}-0.6.2
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -47,7 +65,7 @@ autoreconf --force --install --symlink
%{_datadir}/doc/%{name} %{_datadir}/doc/%{name}
%files devel %files devel
%{_includedir}/%{name}-0.6.2 %{_includedir}/*.h
%{_libdir}/*.a %{_libdir}/*.a
%{_libdir}/*.la %{_libdir}/*.la
%{_libdir}/*.so %{_libdir}/*.so
@ -55,5 +73,5 @@ autoreconf --force --install --symlink
%Changelog %Changelog
* Fri Oct 21 2011 Francois Andriot <francois.andriot@free.fr> - 0.6.5-2debian2 * Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.6.5-2debian2.1
- Initial build for RHEL 6.0 - Initial build for RHEL 6, RHEL 5, and Fedora 15

@ -1,6 +1,11 @@
# 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: libcarddav Name: libcarddav
Version: 0.6.2 Version: 0.6.2
Release: 2debian2%{?dist} Release: 2debian2.1%{?dist}%{?_variant}
Vendor: Trinity Project Vendor: Trinity Project
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
@ -8,10 +13,18 @@ Packager: Francois Andriot <francois.andriot@free.fr>
License: GPL License: GPL
Group: System Environment/Libraries Group: System Environment/Libraries
Summary: A client library that adds support for the CalDAV protocol (rfc4791). Summary: A portable CardDAV client implementation originally developed for the Trinity PIM suite.
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: libcarddav_0.6.2-2debian2.tar.gz Source0: libcarddav_0.6.2-2debian2.tar.gz
%if 0%{?fedora} || 0%{?rhel} >= 6
BuildRequires: libcurl-devel
%else
BuildRequires: trinity-libcurl-devel
%endif
%description %description
Libcarddav is a portable CardDAV client implementation originally developed for the Trinity PIM suite. Libcarddav is a portable CardDAV client implementation originally developed for the Trinity PIM suite.
It incorporates full list, get, add, modify, and delete functionality per the latest CardDAV standards. It incorporates full list, get, add, modify, and delete functionality per the latest CardDAV standards.
@ -38,6 +51,10 @@ autoreconf --force --install --symlink
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
# The include files do not go in the correct directory
%__mv -f %{buildroot}%{_includedir}/%{name}-0.6.1/*.h %{buildroot}%{_includedir}
%__rm -rf %{buildroot}%{_includedir}/%{name}-0.6.1
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
@ -46,7 +63,7 @@ autoreconf --force --install --symlink
%{_libdir}/*.so.* %{_libdir}/*.so.*
%files devel %files devel
%{_includedir}/%{name}-0.6.1 %{_includedir}/*.h
%{_libdir}/*.a %{_libdir}/*.a
%{_libdir}/*.la %{_libdir}/*.la
%{_libdir}/*.so %{_libdir}/*.so
@ -54,5 +71,5 @@ autoreconf --force --install --symlink
%Changelog %Changelog
* Fri Oct 21 2011 Francois Andriot <francois.andriot@free.fr> - 0.6.5-2debian2 * Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.6.5-2debian2 .1
- Initial build for RHEL 6.0 - Initial build for RHEL 6, RHEL 5, and Fedora 15

File diff suppressed because it is too large Load Diff

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.13 %define version 3.5.13
%endif %endif
%define release 0 %define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -27,12 +27,14 @@ Version: %{version}
Release: %{release}%{?dist}%{?_variant} Release: %{release}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: Trinity QT Interface Summary: Trinity QT Interface
Group: System Environment/Libraries
Vendor: Trinity Project Vendor: Trinity Project
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
@ -45,8 +47,9 @@ BuildRequires: pth-devel
Trinity QT Interface Trinity QT Interface
%package devel %package devel
Requires: %{name} Group: Development/Libraries
Summary: %{name} - Development files Summary: %{name} - Development files
Requires: %{name} = %{version}-%{release}
%description devel %description devel
Development files for %{name} Development files for %{name}
@ -75,13 +78,16 @@ cd build
%install %install
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%__mkdir_p %{?buildroot}%{_includedir} %__mkdir_p %{?buildroot}%{_includedir}
%make_install -C build %__make install DESTDIR=%{?buildroot} -C build
# Fix 'tqt.pc': UIC executable is not correct # RHEL 5: add newline at end of include files to avoid warnings
sed -i %{?buildroot}%{_libdir}/pkgconfig/tqt.pc \ %if 0%{?rhel} && 0%{?rhel} <= 5
-e '/^uic_executable=.*/ s,^\(uic_executable=\).*,\1%{_bindir}/uic-tqt,' for i in %{?buildroot}%{_includedir}/*.h; do
echo "" >>${i}
done
%endif
# Install 'cmake' modules for a specific package (for later use) # Install 'cmake' modules for development use
%__mkdir_p %{?buildroot}%{cmake_modules_dir} %__mkdir_p %{?buildroot}%{cmake_modules_dir}
for i in cmake/modules/*.cmake; do for i in cmake/modules/*.cmake; do
install -m 644 $i %{?buildroot}%{cmake_modules_dir} install -m 644 $i %{?buildroot}%{cmake_modules_dir}
@ -103,6 +109,9 @@ done
%changelog %changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Sun Aug 28 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0 * Sun Aug 28 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT - Import to GIT
- Built with future TDE version (3.5.13 + cmake + QT3.3.8d) - Built with future TDE version (3.5.13 + cmake + QT3.3.8d)

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
cd "$( dirname "$0" )" cd "$( dirname "$0" )"
ARGS="$@"
clear clear
cat <<EOF cat <<EOF
@ -21,7 +22,7 @@ EOF
exit 1 exit 1
fi fi
select COMP in $( cut -f1 "components.txt" ) ; do select COMP in $( cut -f1 "components.txt" | grep -v "^#" ) ; do
# Gets package version from 'components.txt' file # Gets package version from 'components.txt' file
VERSION=$( awk '{ if ($1 == "'${COMP}'") { print $2; } }' components.txt ) VERSION=$( awk '{ if ($1 == "'${COMP}'") { print $2; } }' components.txt )
@ -70,11 +71,14 @@ EOF
esac esac
set -x set -x
(
rpmbuild -ba \ rpmbuild -ba \
--define "_sourcedir ${PWD}/${COMP}" \ --define "_sourcedir ${PWD}/${COMP}" \
--define "_prefix ${PREFIX:-/opt/trinity}" \ --define "_prefix ${PREFIX:-/opt/trinity}" \
--define "version ${VERSION:-3.5.13}" \ --define "version ${VERSION:-3.5.13}" \
$ARGS \
${COMP}/${SPEC} || exit 1 ${COMP}/${SPEC} || exit 1
) 2>&1 | tee /tmp/log
set +x set +x
done done

@ -15,7 +15,7 @@ EOF
##### CHOOSE A TDE COMPONENT ##### ##### CHOOSE A TDE COMPONENT #####
PS3="Enter number: " PS3="Enter number: "
select COMP in $( cut -f1 components.txt ) ; do select COMP in $( cut -f1 components.txt | grep -v "^#" ) ; do
ARCHIVEDIR="${PWD}/${COMP}" ARCHIVEDIR="${PWD}/${COMP}"
[ -d "${ARCHIVEDIR}" ] || mkdir -p "${ARCHIVEDIR}" [ -d "${ARCHIVEDIR}" ] || mkdir -p "${ARCHIVEDIR}"
@ -27,33 +27,63 @@ select COMP in $( cut -f1 components.txt ) ; do
echo echo
echo "You currently have the following tarball(s): " echo "You currently have the following tarball(s): "
for i in ${ARCHIVEDIR}/${COMP##*/}*.tar.gz; do echo " ${i##*/}"; done for i in ${ARCHIVEDIR}/${COMP##*/}*.tar.gz; do echo " ${i##*/}"; done
echo
fi fi
# Checks latest SVN revision # Checks latest SVN revision
SVNREV=$( LANG=C svn info svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface|sed -n "/^Revision: / s,.* \(.*\),\1,p" ) unset ARCHIVENAME
ARCHIVENAME=${COMP##*/}-${VERSION}.${SVNREV}.tar.gz case "${COMP##*/}" in
"libcaldav"|"libcarddav"|"qt3") ;;
*)
SVNREV=$( LANG=C svn info svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface|sed -n "/^Revision: / s,.* \(.*\),\1,p" )
ARCHIVENAME=${COMP##*/}-${VERSION}.${SVNREV}.tar.gz
if [ -r ${ARCHIVEDIR}/${ARCHIVENAME} ]; then if [ -r ${ARCHIVEDIR}/${ARCHIVENAME} ]; then
echo "You already have the latest revision (${SVNREV})"; echo "You already have the latest revision (${SVNREV})";
fi else
echo "A new revision is available: ${SVNREV}"
fi
;;
esac
echo echo
echo "Press ENTER to download a new version, or CTRL+C to abort." echo "Press ENTER to download the new tarball, or CTRL+C to abort."
read rep read rep
TMPDIRTDE=$(mktemp -d) TMPDIRTDE=$(mktemp -d)
pushd "${TMPDIRTDE}" >/dev/null pushd "${TMPDIRTDE}" >/dev/null
mkdir -p "${TMPDIRTDE}/${COMP}" mkdir -p "${TMPDIRTDE}/${COMP}"
pushd "${COMP}/.." >/dev/null pushd "${COMP}/.." >/dev/null
echo "Extracting '${COMP}' from SVN ..."
case "${COMP##*/}" in case "${COMP##*/}" in
"qt3") git clone http://scm.trinitydesktop.org/scm/git/tde; mv tde/main/dependencies/qt3 . ;; "libcaldav")
*) svn export --force --quiet svn://anonsvn.kde.org/home/kde/branches/trinity/${COMP} ;; echo "Downloading '${COMP}' ..."
ARCHIVENAME="libcaldav_0.6.5-2debian2.tar.gz"
wget --no-check-certificate "https://quickbuild.pearsoncomputing.net/~trinity/+archive/trinity-builddeps/+files/libcaldav_0.6.5-2debian2.tar.gz"
;;
"libcarddav")
echo "Downloading '${COMP}' ..."
ARCHIVENAME="libcarddav_0.6.2-2debian2.tar.gz"
wget --no-check-certificate "https://quickbuild.pearsoncomputing.net/~trinity/+archive/trinity-builddeps/+files/libcarddav_0.6.2-2debian2.tar.gz"
;;
"qt3")
echo "Extracting '${COMP}' from GIT ..."
ARCHIVENAME="qt3-3.3.8d.tar.gz"
git clone http://scm.trinitydesktop.org/scm/git/tde; mv tde/main/dependencies/qt3 .
;;
*)
echo "Extracting '${COMP}' from SVN ..."
svn export --force --quiet svn://anonsvn.kde.org/home/kde/branches/trinity/${COMP}
;;
esac esac
popd >/dev/null
echo "Creating archive '${ARCHIVENAME}' ..." if [ ! -r "${ARCHIVENAME}" ]; then
tar cfz ${ARCHIVEDIR}/${ARCHIVENAME} ${COMP} popd >/dev/null
echo "Creating archive '${ARCHIVENAME}' ..."
tar cfz ${ARCHIVEDIR}/${ARCHIVENAME} ${COMP}
else
mv *.tar.gz ${ARCHIVEDIR}/
popd >/dev/null
fi
popd >/dev/null popd >/dev/null
echo "Cleaning temporary directory ..." echo "Cleaning temporary directory ..."
rm -rf "${TMPDIRTDE}" rm -rf "${TMPDIRTDE}"

@ -0,0 +1,468 @@
diff -Nuar kde-i18n-fr-3.5.10.ORI/messages/kdebase/kcmiccconfig.po kde-i18n-fr-3.5.10/messages/kdebase/kcmiccconfig.po
--- kde-i18n-fr-3.5.10.ORI/messages/kdebase/kcmiccconfig.po 1970-01-01 01:00:00.000000000 +0100
+++ kde-i18n-fr-3.5.10/messages/kdebase/kcmiccconfig.po 2011-11-01 17:01:47.942636702 +0100
@@ -0,0 +1,76 @@
+# TDE 3.5.13 'iccconfig.cpp' translation
+
+#: iccconfig.cpp:82
+msgid "<b>The global ICC color profile is a system wide setting, and requires administrator access</b><br>To alter the system's global ICC profile, click on the \"Administrator Mode\" button below."
+msgstr "<b>Le profil de couleurs ICC global est un réglage système, et nécessite les droits d'administrateur.</b><br>Pour modifier le profil ICC global, cliquez sur le bouton \"Mode administrateur\" ci-dessous."
+
+#: iccconfig.cpp:155
+#: iccconfig.cpp:189
+msgid "Please enter the new profile name below:"
+msgstr "Veuillez indiquer le nom du nouveau profil:"
+
+#: iccconfig.cpp:159
+#: iccconfig.cpp:193
+msgid "ICC Profile Configuration"
+msgstr "Configuration du profil ICC"
+
+#: iccconfig.cpp:166
+#: iccconfig.cpp:200
+msgid "Error: A profile with that name already exists"
+msgstr "Erreur: Il existe déja un profil portant ce nom."
+
+#: iccconfig.cpp:406
+msgid ""
+"<h1>ICC Profile Configuration</h1> This module allows you to configure KDE support"
+" for ICC profiles. This allows you to easily color correct your monitor"
+" for a more lifelike and vibrant image."
+msgstr ""
+"<h1>Configuration du profil ICC</h1> Ce module vous permet de configurer le support"
+" ICC de Trinity. Il permet de calibrer les couleurs de votre moniteur, "
+" afin d'obtenir une image plus vivante et plus vibrante."
+
+#: iccconfigbase.ui:31
+msgid "ICC Color Profile Configuration"
+msgstr "Configuration des profils de couleurs ICC"
+
+#: iccconfigbase.ui:42
+msgid "System Settings"
+msgstr "Paramètres Système"
+
+#: iccconfigbase.ui:53
+msgid "&Enable global ICC color profile support"
+msgstr "Activer le profil ICC global"
+
+#: iccconfigbase.ui:61
+#: iccconfigbase.ui:148
+msgid "*.icc|ICC Standard Color Profiles (*.icc)\n*.icm|Windows(R) Color Profiles (*.icm)"
+msgstr "*.icc|Profils de couleurs ICC standards (*.icc)\n*.icm|Profils de couleurs Windows(R) (*.icm)"
+
+#: iccconfigbase.ui:69
+#: iccconfigbase.ui:156
+msgid "ICC File"
+msgstr "Fichier ICC"
+
+#: iccconfigbase.ui:79
+msgid "User Settings"
+msgstr "Paramètres Utilisateurs"
+
+#: iccconfigbase.ui:90
+msgid "&Enable user ICC color profile support"
+msgstr "Activer le profil ICC utilisateur"
+
+#: iccconfigbase.ui:103
+msgid "Current Profile"
+msgstr "Profil actuel"
+
+#: iccconfigbase.ui:111
+msgid "Create New"
+msgstr "Créer"
+
+#: iccconfigbase.ui:119
+msgid "Rename"
+msgstr "Renommer"
+
+#: iccconfigbase.ui:140
+msgid "Settings for output"
+msgstr "Appliquer à la sortie"
diff -Nuar kde-i18n-fr-3.5.10.ORI/messages/kdebase/kdesktop.po kde-i18n-fr-3.5.10/messages/kdebase/kdesktop.po
--- kde-i18n-fr-3.5.10.ORI/messages/kdebase/kdesktop.po 2008-08-19 20:29:30.000000000 +0200
+++ kde-i18n-fr-3.5.10/messages/kdebase/kdesktop.po 2011-11-01 17:14:54.379412830 +0100
@@ -1144,3 +1144,20 @@
"Cependant, certains écrans de veille\n"
" effectuent des calculs utiles, dans ces cas, il est souhaitable de ne "
"pas les désactiver."
+
+### TDE 3.5.13 ###
+#: lockdlg.cc:109
+msgid "Desktop Session Locked"
+msgstr "Session de bureau verrouillée"
+
+#: lockdlg.cc:128
+msgid "This computer is in use and has been locked."
+msgstr "Cet ordinateur est en cours d'utilisation et a été verrouillé."
+
+#: lockdlg.cc:129
+msgid "Only '%1' may unlock this session."
+msgstr "Seul '%1' peut déverouiller cette session."
+
+#: lockdlg.cc:139
+msgid "This session has been locked since %1"
+msgstr "Cette session est verrouillée depuis %1"
diff -Nuar kde-i18n-fr-3.5.10.ORI/messages/kdebase/kicker.po kde-i18n-fr-3.5.10/messages/kdebase/kicker.po
--- kde-i18n-fr-3.5.10.ORI/messages/kdebase/kicker.po 2008-08-19 20:29:30.000000000 +0200
+++ kde-i18n-fr-3.5.10/messages/kdebase/kicker.po 2011-11-01 16:16:16.453636429 +0100
@@ -754,3 +754,8 @@
#, no-c-format
msgid "Custom size"
msgstr "Taille personnalisée"
+
+### TDE 3.5.13 ###
+#: panelextension.cpp:385
+msgid "&Launch Process Manager..."
+msgstr "Gestionnaire de taches..."
diff -Nuar kde-i18n-fr-3.5.10.ORI/messages/kdebase/konsole.po kde-i18n-fr-3.5.10/messages/kdebase/konsole.po
--- kde-i18n-fr-3.5.10.ORI/messages/kdebase/konsole.po 2008-08-19 20:29:30.000000000 +0200
+++ kde-i18n-fr-3.5.10/messages/kdebase/konsole.po 2011-11-01 16:16:16.453636429 +0100
@@ -1475,3 +1475,8 @@
#: zmodem_dialog.cpp:28
msgid "&Stop"
msgstr "A&rrêter"
+
+### TDE 3.5.13 ###
+#: konsole.cpp:736
+msgid "&Open.."
+msgstr "Ouvrir.."
diff -Nuar kde-i18n-fr-3.5.10.ORI/messages/kdebase/krandr.po kde-i18n-fr-3.5.10/messages/kdebase/krandr.po
--- kde-i18n-fr-3.5.10.ORI/messages/kdebase/krandr.po 2008-08-19 20:29:30.000000000 +0200
+++ kde-i18n-fr-3.5.10/messages/kdebase/krandr.po 2011-11-01 17:42:36.100570353 +0100
@@ -301,3 +301,33 @@
"_: Refresh rate in Hertz (Hz)\n"
"%1 Hz"
msgstr "%1 Hz"
+
+### TDE 3.5.13 ###
+
+#: krandrtray.cpp:237
+msgid "Global Configuation"
+msgstr "Configuration Globale"
+
+#: krandrtray.cpp:239
+msgid "Configure Color Profiles..."
+msgstr "Configurer les profils de couleurs ..."
+
+#: krandrtray.cpp:249
+msgid "Configure Shortcut Keys..."
+msgstr "Configurer les raccourcis clavier..."
+
+#: krandrtray.cpp:477
+msgid "Configure Display Color Profiles"
+msgstr "Configuration des profils de couleurs"
+
+#: krandrbindings.cpp:29
+msgid "Display Control"
+msgstr "Paramètres d'affichage"
+
+#: krandrbindings.cpp:31
+msgid "Switch Displays"
+msgstr "Permuter l'affichage"
+
+#: configdialog.cpp:49
+msgid "Global &Shortcuts"
+msgstr "Raccourcis Globaux"
diff -Nuar kde-i18n-fr-3.5.10.ORI/messages/kdebase/ksmserver.po kde-i18n-fr-3.5.10/messages/kdebase/ksmserver.po
--- kde-i18n-fr-3.5.10.ORI/messages/kdebase/ksmserver.po 2007-05-14 10:07:36.000000000 +0200
+++ kde-i18n-fr-3.5.10/messages/kdebase/ksmserver.po 2011-11-01 17:29:02.909615530 +0100
@@ -92,3 +92,14 @@
"_: current option in boot loader\n"
" (current)"
msgstr " (courant)"
+
+### TDE 3.5.13 ###
+
+#: shutdown.cpp:202
+msgid "Synchronizing remote folders"
+msgstr "Synchronisation des dossiers distants"
+
+#: shutdown.cpp:207
+msgid "Saving your settings..."
+msgstr "Enregistrement de vos paramètres ..."
+
diff -Nuar kde-i18n-fr-3.5.10.ORI/messages/kdebase/ksplash.po kde-i18n-fr-3.5.10/messages/kdebase/ksplash.po
--- kde-i18n-fr-3.5.10.ORI/messages/kdebase/ksplash.po 2005-09-10 13:02:44.000000000 +0200
+++ kde-i18n-fr-3.5.10/messages/kdebase/ksplash.po 2011-11-01 17:03:49.799926756 +0100
@@ -105,5 +105,5 @@
msgstr "Rétablissement de la session"
#: themeengine/objkstheme.cpp:135
-msgid "KDE is up and running"
-msgstr "KDE est prêt"
+msgid "Trinity is up and running"
+msgstr "Trinity est prêt"
diff -Nuar kde-i18n-fr-3.5.10.ORI/messages/kdebase/Makefile.in kde-i18n-fr-3.5.10/messages/kdebase/Makefile.in
--- kde-i18n-fr-3.5.10.ORI/messages/kdebase/Makefile.in 2008-08-20 09:14:47.000000000 +0200
+++ kde-i18n-fr-3.5.10/messages/kdebase/Makefile.in 2011-11-01 16:32:57.157386765 +0100
@@ -192,8 +192,8 @@
SUBDIRS =.
#>- POFILES = AUTO
#>+ 2
-POFILES = kio_sftp.po kate.po kjobviewer.po libkickermenu_konsole.po kcmkicker.po nsplugin.po display.po extensionproxy.po kdcop.po kcmbackground.po kstyle_keramik_config.po kcmlaunch.po kcminfo.po kcmkwinrules.po kasbarextension.po khtmlkttsd.po libdmctl.po ksplashthemes.po kgreet_classic.po kcontrol.po kmenuapplet.po kio_tar.po kcmview1394.po kcmbell.po kcmcomponentchooser.po kdmgreet.po kdesktop.po kpersonalizer.po ksplash.po kcmaccessibility.po kminipagerapplet.po kcmkded.po kio_remote.po kio_home.po kdeprintfax.po kcmicons.po filetypes.po kcmenergy.po kappfinder.po kthememanager.po kcmtaskbar.po kcmcgi.po kio_media.po libkickermenu_tom.po kio_finger.po ktip.po kaccess.po kio_pop3.po kdesud.po kio_fish.po kicker.po kcmkdnssd.po krdb.po libkickermenu_systemmenu.po kcmkio.po krunapplet.po kcmhtmlsearch.po kcmfonts.po libtaskbar.po useraccount.po knetattach.po kcmkonsole.po appletproxy.po dockbarextension.po kcmkonq.po kio_nntp.po kwriteconfig.po kio_ldap.po konsole.po kstart.po klipper.po kcmspellchecking.po kcmkurifilt.po kdepasswd.po clockapplet.po mediaapplet.po kdialog.po kcmlayout.po kpager.po kwin_clients.po kdebugdialog.po kcmnotify.po kio_nfs.po kcmprintmgr.po ksystemtrayapplet.po kcmxinerama.po kreadconfig.po kay.po libkickermenu_remotemenu.po lockout.po kcmkwindecoration.po kxkb.po kprinter.po libtaskmanager.po kio_system.po trashapplet.po kcmcrypto.po kcmnic.po privacy.po libkickermenu_kdeprint.po kscreensaver.po libkonq.po libkickermenu_recentdocs.po kmenuedit.po kio_trash.po kio_floppy.po krandr.po khotkeys.po kcmkclock.po kio_man.po ksystraycmd.po kcmsmartcard.po kwin.po libkicker.po khelpcenter.po ksmserver.po kgreet_winbind.po drkonqi.po kwin_lib.po kio_settings.po ksysguard.po kfontinst.po kcmscreensaver.po konqueror.po kdesu.po kcmsmserver.po kcmcolors.po kcminput.po kcmlocale.po kio_print.po kickermenu_kate.po kcmstyle.po kcmkeys.po kcmioslaveinfo.po kfmclient.po kfindpart.po kio_mac.po kio_smb.po kcmmedia.po naughtyapplet.po kcmkwm.po htmlsearch.po kcmcss.po kcmusb.po kcmperformance.po kio_thumbnail.po kcmarts.po libkickermenu_prefmenu.po joystick.po kdmconfig.po kcmaccess.po kcmkonqhtml.po quicklauncher.po kcmsamba.po kdeprint_part.po kio_smtp.po
-GMOFILES = kio_sftp.gmo kate.gmo kjobviewer.gmo libkickermenu_konsole.gmo kcmkicker.gmo nsplugin.gmo display.gmo extensionproxy.gmo kdcop.gmo kcmbackground.gmo kstyle_keramik_config.gmo kcmlaunch.gmo kcminfo.gmo kcmkwinrules.gmo kasbarextension.gmo khtmlkttsd.gmo libdmctl.gmo ksplashthemes.gmo kgreet_classic.gmo kcontrol.gmo kmenuapplet.gmo kio_tar.gmo kcmview1394.gmo kcmbell.gmo kcmcomponentchooser.gmo kdmgreet.gmo kdesktop.gmo kpersonalizer.gmo ksplash.gmo kcmaccessibility.gmo kminipagerapplet.gmo kcmkded.gmo kio_remote.gmo kio_home.gmo kdeprintfax.gmo kcmicons.gmo filetypes.gmo kcmenergy.gmo kappfinder.gmo kthememanager.gmo kcmtaskbar.gmo kcmcgi.gmo kio_media.gmo libkickermenu_tom.gmo kio_finger.gmo ktip.gmo kaccess.gmo kio_pop3.gmo kdesud.gmo kio_fish.gmo kicker.gmo kcmkdnssd.gmo krdb.gmo libkickermenu_systemmenu.gmo kcmkio.gmo krunapplet.gmo kcmhtmlsearch.gmo kcmfonts.gmo libtaskbar.gmo useraccount.gmo knetattach.gmo kcmkonsole.gmo appletproxy.gmo dockbarextension.gmo kcmkonq.gmo kio_nntp.gmo kwriteconfig.gmo kio_ldap.gmo konsole.gmo kstart.gmo klipper.gmo kcmspellchecking.gmo kcmkurifilt.gmo kdepasswd.gmo clockapplet.gmo mediaapplet.gmo kdialog.gmo kcmlayout.gmo kpager.gmo kwin_clients.gmo kdebugdialog.gmo kcmnotify.gmo kio_nfs.gmo kcmprintmgr.gmo ksystemtrayapplet.gmo kcmxinerama.gmo kreadconfig.gmo kay.gmo libkickermenu_remotemenu.gmo lockout.gmo kcmkwindecoration.gmo kxkb.gmo kprinter.gmo libtaskmanager.gmo kio_system.gmo trashapplet.gmo kcmcrypto.gmo kcmnic.gmo privacy.gmo libkickermenu_kdeprint.gmo kscreensaver.gmo libkonq.gmo libkickermenu_recentdocs.gmo kmenuedit.gmo kio_trash.gmo kio_floppy.gmo krandr.gmo khotkeys.gmo kcmkclock.gmo kio_man.gmo ksystraycmd.gmo kcmsmartcard.gmo kwin.gmo libkicker.gmo khelpcenter.gmo ksmserver.gmo kgreet_winbind.gmo drkonqi.gmo kwin_lib.gmo kio_settings.gmo ksysguard.gmo kfontinst.gmo kcmscreensaver.gmo konqueror.gmo kdesu.gmo kcmsmserver.gmo kcmcolors.gmo kcminput.gmo kcmlocale.gmo kio_print.gmo kickermenu_kate.gmo kcmstyle.gmo kcmkeys.gmo kcmioslaveinfo.gmo kfmclient.gmo kfindpart.gmo kio_mac.gmo kio_smb.gmo kcmmedia.gmo naughtyapplet.gmo kcmkwm.gmo htmlsearch.gmo kcmcss.gmo kcmusb.gmo kcmperformance.gmo kio_thumbnail.gmo kcmarts.gmo libkickermenu_prefmenu.gmo joystick.gmo kdmconfig.gmo kcmaccess.gmo kcmkonqhtml.gmo quicklauncher.gmo kcmsamba.gmo kdeprint_part.gmo kio_smtp.gmo
+POFILES = kio_sftp.po kate.po kjobviewer.po libkickermenu_konsole.po kcmkicker.po nsplugin.po display.po extensionproxy.po kdcop.po kcmbackground.po kstyle_keramik_config.po kcmlaunch.po kcminfo.po kcmkwinrules.po kasbarextension.po khtmlkttsd.po libdmctl.po ksplashthemes.po kgreet_classic.po kcontrol.po kmenuapplet.po kio_tar.po kcmview1394.po kcmbell.po kcmcomponentchooser.po kdmgreet.po kdesktop.po kpersonalizer.po ksplash.po kcmaccessibility.po kminipagerapplet.po kcmkded.po kio_remote.po kio_home.po kdeprintfax.po kcmicons.po filetypes.po kcmenergy.po kappfinder.po kthememanager.po kcmtaskbar.po kcmcgi.po kio_media.po libkickermenu_tom.po kio_finger.po ktip.po kaccess.po kio_pop3.po kdesud.po kio_fish.po kicker.po kcmkdnssd.po krdb.po libkickermenu_systemmenu.po kcmkio.po krunapplet.po kcmhtmlsearch.po kcmfonts.po libtaskbar.po useraccount.po knetattach.po kcmkonsole.po appletproxy.po dockbarextension.po kcmkonq.po kio_nntp.po kwriteconfig.po kio_ldap.po konsole.po kstart.po klipper.po kcmspellchecking.po kcmkurifilt.po kdepasswd.po clockapplet.po mediaapplet.po kdialog.po kcmlayout.po kpager.po kwin_clients.po kdebugdialog.po kcmnotify.po kio_nfs.po kcmprintmgr.po ksystemtrayapplet.po kcmxinerama.po kreadconfig.po kay.po libkickermenu_remotemenu.po lockout.po kcmkwindecoration.po kxkb.po kprinter.po libtaskmanager.po kio_system.po trashapplet.po kcmcrypto.po kcmnic.po privacy.po libkickermenu_kdeprint.po kscreensaver.po libkonq.po libkickermenu_recentdocs.po kmenuedit.po kio_trash.po kio_floppy.po krandr.po khotkeys.po kcmkclock.po kio_man.po ksystraycmd.po kcmsmartcard.po kwin.po libkicker.po khelpcenter.po ksmserver.po kgreet_winbind.po drkonqi.po kwin_lib.po kio_settings.po ksysguard.po kfontinst.po kcmscreensaver.po konqueror.po kdesu.po kcmsmserver.po kcmcolors.po kcminput.po kcmlocale.po kio_print.po kickermenu_kate.po kcmstyle.po kcmkeys.po kcmioslaveinfo.po kfmclient.po kfindpart.po kio_mac.po kio_smb.po kcmmedia.po naughtyapplet.po kcmkwm.po htmlsearch.po kcmcss.po kcmusb.po kcmperformance.po kio_thumbnail.po kcmarts.po libkickermenu_prefmenu.po joystick.po kdmconfig.po kcmaccess.po kcmkonqhtml.po quicklauncher.po kcmsamba.po kdeprint_part.po kio_smtp.po kcmiccconfig.po
+GMOFILES = kio_sftp.gmo kate.gmo kjobviewer.gmo libkickermenu_konsole.gmo kcmkicker.gmo nsplugin.gmo display.gmo extensionproxy.gmo kdcop.gmo kcmbackground.gmo kstyle_keramik_config.gmo kcmlaunch.gmo kcminfo.gmo kcmkwinrules.gmo kasbarextension.gmo khtmlkttsd.gmo libdmctl.gmo ksplashthemes.gmo kgreet_classic.gmo kcontrol.gmo kmenuapplet.gmo kio_tar.gmo kcmview1394.gmo kcmbell.gmo kcmcomponentchooser.gmo kdmgreet.gmo kdesktop.gmo kpersonalizer.gmo ksplash.gmo kcmaccessibility.gmo kminipagerapplet.gmo kcmkded.gmo kio_remote.gmo kio_home.gmo kdeprintfax.gmo kcmicons.gmo filetypes.gmo kcmenergy.gmo kappfinder.gmo kthememanager.gmo kcmtaskbar.gmo kcmcgi.gmo kio_media.gmo libkickermenu_tom.gmo kio_finger.gmo ktip.gmo kaccess.gmo kio_pop3.gmo kdesud.gmo kio_fish.gmo kicker.gmo kcmkdnssd.gmo krdb.gmo libkickermenu_systemmenu.gmo kcmkio.gmo krunapplet.gmo kcmhtmlsearch.gmo kcmfonts.gmo libtaskbar.gmo useraccount.gmo knetattach.gmo kcmkonsole.gmo appletproxy.gmo dockbarextension.gmo kcmkonq.gmo kio_nntp.gmo kwriteconfig.gmo kio_ldap.gmo konsole.gmo kstart.gmo klipper.gmo kcmspellchecking.gmo kcmkurifilt.gmo kdepasswd.gmo clockapplet.gmo mediaapplet.gmo kdialog.gmo kcmlayout.gmo kpager.gmo kwin_clients.gmo kdebugdialog.gmo kcmnotify.gmo kio_nfs.gmo kcmprintmgr.gmo ksystemtrayapplet.gmo kcmxinerama.gmo kreadconfig.gmo kay.gmo libkickermenu_remotemenu.gmo lockout.gmo kcmkwindecoration.gmo kxkb.gmo kprinter.gmo libtaskmanager.gmo kio_system.gmo trashapplet.gmo kcmcrypto.gmo kcmnic.gmo privacy.gmo libkickermenu_kdeprint.gmo kscreensaver.gmo libkonq.gmo libkickermenu_recentdocs.gmo kmenuedit.gmo kio_trash.gmo kio_floppy.gmo krandr.gmo khotkeys.gmo kcmkclock.gmo kio_man.gmo ksystraycmd.gmo kcmsmartcard.gmo kwin.gmo libkicker.gmo khelpcenter.gmo ksmserver.gmo kgreet_winbind.gmo drkonqi.gmo kwin_lib.gmo kio_settings.gmo ksysguard.gmo kfontinst.gmo kcmscreensaver.gmo konqueror.gmo kdesu.gmo kcmsmserver.gmo kcmcolors.gmo kcminput.gmo kcmlocale.gmo kio_print.gmo kickermenu_kate.gmo kcmstyle.gmo kcmkeys.gmo kcmioslaveinfo.gmo kfmclient.gmo kfindpart.gmo kio_mac.gmo kio_smb.gmo kcmmedia.gmo naughtyapplet.gmo kcmkwm.gmo htmlsearch.gmo kcmcss.gmo kcmusb.gmo kcmperformance.gmo kio_thumbnail.gmo kcmarts.gmo libkickermenu_prefmenu.gmo joystick.gmo kdmconfig.gmo kcmaccess.gmo kcmkonqhtml.gmo quicklauncher.gmo kcmsamba.gmo kdeprint_part.gmo kio_smtp.gmo kcmiccconfig.gmo
#>- all: all-recursive
#>+ 1
all: all-nls docs-am all-recursive
@@ -531,7 +531,7 @@
.NOEXPORT:
#>+ 2
-KDE_DIST=libkickermenu_remotemenu.po appletproxy.po kcminput.po kcmaccessibility.po krandr.po kickermenu_kate.po kwin.po libtaskmanager.po libkickermenu_tom.po kappfinder.po dockbarextension.po kcmmedia.po filetypes.po kreadconfig.po kio_smtp.po ksplashthemes.po kcmcolors.po display.po kfmclient.po kate.po kcmnotify.po libkonq.po kstyle_keramik_config.po privacy.po kxkb.po kio_finger.po kcontrol.po konqueror.po kcmsamba.po ksmserver.po mediaapplet.po kcmenergy.po kdeprintfax.po kcmview1394.po kio_tar.po kcmxinerama.po libkickermenu_systemmenu.po kjobviewer.po kio_mac.po kcmkwindecoration.po ksplash.po kio_nfs.po ksystemtrayapplet.po htmlsearch.po kwin_lib.po kthememanager.po klipper.po kaccess.po kdepasswd.po kicker.po khtmlkttsd.po kwriteconfig.po kcmkonsole.po kmenuapplet.po kmenuedit.po kcmsmartcard.po kcmkeys.po kcmcgi.po kcmkclock.po Makefile.in kdesu.po kcmstyle.po kcmhtmlsearch.po kcminfo.po kdialog.po kcmcrypto.po libkickermenu_prefmenu.po kio_media.po kminipagerapplet.po kcmkonqhtml.po kcmaccess.po ksysguard.po kdesktop.po kio_floppy.po kcmnic.po kio_nntp.po kdmconfig.po trashapplet.po extensionproxy.po kio_ldap.po ktip.po kcmusb.po kcmperformance.po kdebugdialog.po khotkeys.po kgreet_winbind.po kio_smb.po libkickermenu_kdeprint.po kdmgreet.po knetattach.po nsplugin.po kcmcss.po kio_sftp.po kcmkio.po kcmfonts.po useraccount.po kcmkwm.po kwin_clients.po kio_settings.po libkickermenu_recentdocs.po kdcop.po kcmkdnssd.po libtaskbar.po kcmkurifilt.po kio_pop3.po joystick.po libkicker.po krunapplet.po kcmbackground.po lockout.po kcmkwinrules.po libdmctl.po krdb.po kio_home.po kdesud.po kcmioslaveinfo.po kio_remote.po kgreet_classic.po konsole.po libkickermenu_konsole.po kcmkonq.po kcmspellchecking.po kcmprintmgr.po kio_thumbnail.po kcmbell.po kdeprint_part.po kcmcomponentchooser.po kcmlocale.po kcmarts.po kasbarextension.po kio_system.po kay.po kscreensaver.po khelpcenter.po kprinter.po kpager.po drkonqi.po kcmscreensaver.po kcmlaunch.po kstart.po kcmlayout.po kfindpart.po kio_print.po kcmicons.po quicklauncher.po kio_fish.po clockapplet.po ksystraycmd.po kcmkicker.po kio_trash.po kfontinst.po kcmtaskbar.po naughtyapplet.po Makefile.am kio_man.po kpersonalizer.po kcmkded.po kcmsmserver.po
+KDE_DIST=libkickermenu_remotemenu.po appletproxy.po kcminput.po kcmaccessibility.po krandr.po kickermenu_kate.po kwin.po libtaskmanager.po libkickermenu_tom.po kappfinder.po dockbarextension.po kcmmedia.po filetypes.po kreadconfig.po kio_smtp.po ksplashthemes.po kcmcolors.po display.po kfmclient.po kate.po kcmnotify.po libkonq.po kstyle_keramik_config.po privacy.po kxkb.po kio_finger.po kcontrol.po konqueror.po kcmsamba.po ksmserver.po mediaapplet.po kcmenergy.po kdeprintfax.po kcmview1394.po kio_tar.po kcmxinerama.po libkickermenu_systemmenu.po kjobviewer.po kio_mac.po kcmkwindecoration.po ksplash.po kio_nfs.po ksystemtrayapplet.po htmlsearch.po kwin_lib.po kthememanager.po klipper.po kaccess.po kdepasswd.po kicker.po khtmlkttsd.po kwriteconfig.po kcmkonsole.po kmenuapplet.po kmenuedit.po kcmsmartcard.po kcmkeys.po kcmcgi.po kcmkclock.po Makefile.in kdesu.po kcmstyle.po kcmhtmlsearch.po kcminfo.po kdialog.po kcmcrypto.po libkickermenu_prefmenu.po kio_media.po kminipagerapplet.po kcmkonqhtml.po kcmaccess.po ksysguard.po kdesktop.po kio_floppy.po kcmnic.po kio_nntp.po kdmconfig.po trashapplet.po extensionproxy.po kio_ldap.po ktip.po kcmusb.po kcmperformance.po kdebugdialog.po khotkeys.po kgreet_winbind.po kio_smb.po libkickermenu_kdeprint.po kdmgreet.po knetattach.po nsplugin.po kcmcss.po kio_sftp.po kcmkio.po kcmfonts.po useraccount.po kcmkwm.po kwin_clients.po kio_settings.po libkickermenu_recentdocs.po kdcop.po kcmkdnssd.po libtaskbar.po kcmkurifilt.po kio_pop3.po joystick.po libkicker.po krunapplet.po kcmbackground.po lockout.po kcmkwinrules.po libdmctl.po krdb.po kio_home.po kdesud.po kcmioslaveinfo.po kio_remote.po kgreet_classic.po konsole.po libkickermenu_konsole.po kcmkonq.po kcmspellchecking.po kcmprintmgr.po kio_thumbnail.po kcmbell.po kdeprint_part.po kcmcomponentchooser.po kcmlocale.po kcmarts.po kasbarextension.po kio_system.po kay.po kscreensaver.po khelpcenter.po kprinter.po kpager.po drkonqi.po kcmscreensaver.po kcmlaunch.po kstart.po kcmlayout.po kfindpart.po kio_print.po kcmicons.po quicklauncher.po kio_fish.po clockapplet.po ksystraycmd.po kcmkicker.po kio_trash.po kfontinst.po kcmtaskbar.po naughtyapplet.po Makefile.am kio_man.po kpersonalizer.po kcmkded.po kcmsmserver.po kcmiccconfig.po
#>+ 469
kio_sftp.gmo: kio_sftp.po
@@ -1002,15 +1002,18 @@
kio_smtp.gmo: kio_smtp.po
rm -f kio_smtp.gmo; $(GMSGFMT) -o kio_smtp.gmo $(srcdir)/kio_smtp.po
test ! -f kio_smtp.gmo || touch kio_smtp.gmo
+kcmiccconfig.gmo: kcmiccconfig.po
+ rm -f kcmiccconfig.gmo; $(GMSGFMT) -o kcmiccconfig.gmo $(srcdir)/kcmiccconfig.po
+ test ! -f kcmiccconfig.gmo || touch kcmiccconfig.gmo
#>+ 3
clean-nls:
- -rm -f kio_sftp.gmo kate.gmo kjobviewer.gmo libkickermenu_konsole.gmo kcmkicker.gmo nsplugin.gmo display.gmo extensionproxy.gmo kdcop.gmo kcmbackground.gmo kstyle_keramik_config.gmo kcmlaunch.gmo kcminfo.gmo kcmkwinrules.gmo kasbarextension.gmo khtmlkttsd.gmo libdmctl.gmo ksplashthemes.gmo kgreet_classic.gmo kcontrol.gmo kmenuapplet.gmo kio_tar.gmo kcmview1394.gmo kcmbell.gmo kcmcomponentchooser.gmo kdmgreet.gmo kdesktop.gmo kpersonalizer.gmo ksplash.gmo kcmaccessibility.gmo kminipagerapplet.gmo kcmkded.gmo kio_remote.gmo kio_home.gmo kdeprintfax.gmo kcmicons.gmo filetypes.gmo kcmenergy.gmo kappfinder.gmo kthememanager.gmo kcmtaskbar.gmo kcmcgi.gmo kio_media.gmo libkickermenu_tom.gmo kio_finger.gmo ktip.gmo kaccess.gmo kio_pop3.gmo kdesud.gmo kio_fish.gmo kicker.gmo kcmkdnssd.gmo krdb.gmo libkickermenu_systemmenu.gmo kcmkio.gmo krunapplet.gmo kcmhtmlsearch.gmo kcmfonts.gmo libtaskbar.gmo useraccount.gmo knetattach.gmo kcmkonsole.gmo appletproxy.gmo dockbarextension.gmo kcmkonq.gmo kio_nntp.gmo kwriteconfig.gmo kio_ldap.gmo konsole.gmo kstart.gmo klipper.gmo kcmspellchecking.gmo kcmkurifilt.gmo kdepasswd.gmo clockapplet.gmo mediaapplet.gmo kdialog.gmo kcmlayout.gmo kpager.gmo kwin_clients.gmo kdebugdialog.gmo kcmnotify.gmo kio_nfs.gmo kcmprintmgr.gmo ksystemtrayapplet.gmo kcmxinerama.gmo kreadconfig.gmo kay.gmo libkickermenu_remotemenu.gmo lockout.gmo kcmkwindecoration.gmo kxkb.gmo kprinter.gmo libtaskmanager.gmo kio_system.gmo trashapplet.gmo kcmcrypto.gmo kcmnic.gmo privacy.gmo libkickermenu_kdeprint.gmo kscreensaver.gmo libkonq.gmo libkickermenu_recentdocs.gmo kmenuedit.gmo kio_trash.gmo kio_floppy.gmo krandr.gmo khotkeys.gmo kcmkclock.gmo kio_man.gmo ksystraycmd.gmo kcmsmartcard.gmo kwin.gmo libkicker.gmo khelpcenter.gmo ksmserver.gmo kgreet_winbind.gmo drkonqi.gmo kwin_lib.gmo kio_settings.gmo ksysguard.gmo kfontinst.gmo kcmscreensaver.gmo konqueror.gmo kdesu.gmo kcmsmserver.gmo kcmcolors.gmo kcminput.gmo kcmlocale.gmo kio_print.gmo kickermenu_kate.gmo kcmstyle.gmo kcmkeys.gmo kcmioslaveinfo.gmo kfmclient.gmo kfindpart.gmo kio_mac.gmo kio_smb.gmo kcmmedia.gmo naughtyapplet.gmo kcmkwm.gmo htmlsearch.gmo kcmcss.gmo kcmusb.gmo kcmperformance.gmo kio_thumbnail.gmo kcmarts.gmo libkickermenu_prefmenu.gmo joystick.gmo kdmconfig.gmo kcmaccess.gmo kcmkonqhtml.gmo quicklauncher.gmo kcmsamba.gmo kdeprint_part.gmo kio_smtp.gmo
+ -rm -f kio_sftp.gmo kate.gmo kjobviewer.gmo libkickermenu_konsole.gmo kcmkicker.gmo nsplugin.gmo display.gmo extensionproxy.gmo kdcop.gmo kcmbackground.gmo kstyle_keramik_config.gmo kcmlaunch.gmo kcminfo.gmo kcmkwinrules.gmo kasbarextension.gmo khtmlkttsd.gmo libdmctl.gmo ksplashthemes.gmo kgreet_classic.gmo kcontrol.gmo kmenuapplet.gmo kio_tar.gmo kcmview1394.gmo kcmbell.gmo kcmcomponentchooser.gmo kdmgreet.gmo kdesktop.gmo kpersonalizer.gmo ksplash.gmo kcmaccessibility.gmo kminipagerapplet.gmo kcmkded.gmo kio_remote.gmo kio_home.gmo kdeprintfax.gmo kcmicons.gmo filetypes.gmo kcmenergy.gmo kappfinder.gmo kthememanager.gmo kcmtaskbar.gmo kcmcgi.gmo kio_media.gmo libkickermenu_tom.gmo kio_finger.gmo ktip.gmo kaccess.gmo kio_pop3.gmo kdesud.gmo kio_fish.gmo kicker.gmo kcmkdnssd.gmo krdb.gmo libkickermenu_systemmenu.gmo kcmkio.gmo krunapplet.gmo kcmhtmlsearch.gmo kcmfonts.gmo libtaskbar.gmo useraccount.gmo knetattach.gmo kcmkonsole.gmo appletproxy.gmo dockbarextension.gmo kcmkonq.gmo kio_nntp.gmo kwriteconfig.gmo kio_ldap.gmo konsole.gmo kstart.gmo klipper.gmo kcmspellchecking.gmo kcmkurifilt.gmo kdepasswd.gmo clockapplet.gmo mediaapplet.gmo kdialog.gmo kcmlayout.gmo kpager.gmo kwin_clients.gmo kdebugdialog.gmo kcmnotify.gmo kio_nfs.gmo kcmprintmgr.gmo ksystemtrayapplet.gmo kcmxinerama.gmo kreadconfig.gmo kay.gmo libkickermenu_remotemenu.gmo lockout.gmo kcmkwindecoration.gmo kxkb.gmo kprinter.gmo libtaskmanager.gmo kio_system.gmo trashapplet.gmo kcmcrypto.gmo kcmnic.gmo privacy.gmo libkickermenu_kdeprint.gmo kscreensaver.gmo libkonq.gmo libkickermenu_recentdocs.gmo kmenuedit.gmo kio_trash.gmo kio_floppy.gmo krandr.gmo khotkeys.gmo kcmkclock.gmo kio_man.gmo ksystraycmd.gmo kcmsmartcard.gmo kwin.gmo libkicker.gmo khelpcenter.gmo ksmserver.gmo kgreet_winbind.gmo drkonqi.gmo kwin_lib.gmo kio_settings.gmo ksysguard.gmo kfontinst.gmo kcmscreensaver.gmo konqueror.gmo kdesu.gmo kcmsmserver.gmo kcmcolors.gmo kcminput.gmo kcmlocale.gmo kio_print.gmo kickermenu_kate.gmo kcmstyle.gmo kcmkeys.gmo kcmioslaveinfo.gmo kfmclient.gmo kfindpart.gmo kio_mac.gmo kio_smb.gmo kcmmedia.gmo naughtyapplet.gmo kcmkwm.gmo htmlsearch.gmo kcmcss.gmo kcmusb.gmo kcmperformance.gmo kio_thumbnail.gmo kcmarts.gmo libkickermenu_prefmenu.gmo joystick.gmo kdmconfig.gmo kcmaccess.gmo kcmkonqhtml.gmo quicklauncher.gmo kcmsamba.gmo kdeprint_part.gmo kio_smtp.gmo kcmiccconfig.gmo
#>+ 10
install-nls:
$(mkinstalldirs) $(DESTDIR)$(kde_locale)/$(KDE_LANG)/LC_MESSAGES
- @for base in kio_sftp kate kjobviewer libkickermenu_konsole kcmkicker nsplugin display extensionproxy kdcop kcmbackground kstyle_keramik_config kcmlaunch kcminfo kcmkwinrules kasbarextension khtmlkttsd libdmctl ksplashthemes kgreet_classic kcontrol kmenuapplet kio_tar kcmview1394 kcmbell kcmcomponentchooser kdmgreet kdesktop kpersonalizer ksplash kcmaccessibility kminipagerapplet kcmkded kio_remote kio_home kdeprintfax kcmicons filetypes kcmenergy kappfinder kthememanager kcmtaskbar kcmcgi kio_media libkickermenu_tom kio_finger ktip kaccess kio_pop3 kdesud kio_fish kicker kcmkdnssd krdb libkickermenu_systemmenu kcmkio krunapplet kcmhtmlsearch kcmfonts libtaskbar useraccount knetattach kcmkonsole appletproxy dockbarextension kcmkonq kio_nntp kwriteconfig kio_ldap konsole kstart klipper kcmspellchecking kcmkurifilt kdepasswd clockapplet mediaapplet kdialog kcmlayout kpager kwin_clients kdebugdialog kcmnotify kio_nfs kcmprintmgr ksystemtrayapplet kcmxinerama kreadconfig kay libkickermenu_remotemenu lockout kcmkwindecoration kxkb kprinter libtaskmanager kio_system trashapplet kcmcrypto kcmnic privacy libkickermenu_kdeprint kscreensaver libkonq libkickermenu_recentdocs kmenuedit kio_trash kio_floppy krandr khotkeys kcmkclock kio_man ksystraycmd kcmsmartcard kwin libkicker khelpcenter ksmserver kgreet_winbind drkonqi kwin_lib kio_settings ksysguard kfontinst kcmscreensaver konqueror kdesu kcmsmserver kcmcolors kcminput kcmlocale kio_print kickermenu_kate kcmstyle kcmkeys kcmioslaveinfo kfmclient kfindpart kio_mac kio_smb kcmmedia naughtyapplet kcmkwm htmlsearch kcmcss kcmusb kcmperformance kio_thumbnail kcmarts libkickermenu_prefmenu joystick kdmconfig kcmaccess kcmkonqhtml quicklauncher kcmsamba kdeprint_part kio_smtp ; do \
+ @for base in kio_sftp kate kjobviewer libkickermenu_konsole kcmkicker nsplugin display extensionproxy kdcop kcmbackground kstyle_keramik_config kcmlaunch kcminfo kcmkwinrules kasbarextension khtmlkttsd libdmctl ksplashthemes kgreet_classic kcontrol kmenuapplet kio_tar kcmview1394 kcmbell kcmcomponentchooser kdmgreet kdesktop kpersonalizer ksplash kcmaccessibility kminipagerapplet kcmkded kio_remote kio_home kdeprintfax kcmicons filetypes kcmenergy kappfinder kthememanager kcmtaskbar kcmcgi kio_media libkickermenu_tom kio_finger ktip kaccess kio_pop3 kdesud kio_fish kicker kcmkdnssd krdb libkickermenu_systemmenu kcmkio krunapplet kcmhtmlsearch kcmfonts libtaskbar useraccount knetattach kcmkonsole appletproxy dockbarextension kcmkonq kio_nntp kwriteconfig kio_ldap konsole kstart klipper kcmspellchecking kcmkurifilt kdepasswd clockapplet mediaapplet kdialog kcmlayout kpager kwin_clients kdebugdialog kcmnotify kio_nfs kcmprintmgr ksystemtrayapplet kcmxinerama kreadconfig kay libkickermenu_remotemenu lockout kcmkwindecoration kxkb kprinter libtaskmanager kio_system trashapplet kcmcrypto kcmnic privacy libkickermenu_kdeprint kscreensaver libkonq libkickermenu_recentdocs kmenuedit kio_trash kio_floppy krandr khotkeys kcmkclock kio_man ksystraycmd kcmsmartcard kwin libkicker khelpcenter ksmserver kgreet_winbind drkonqi kwin_lib kio_settings ksysguard kfontinst kcmscreensaver konqueror kdesu kcmsmserver kcmcolors kcminput kcmlocale kio_print kickermenu_kate kcmstyle kcmkeys kcmioslaveinfo kfmclient kfindpart kio_mac kio_smb kcmmedia naughtyapplet kcmkwm htmlsearch kcmcss kcmusb kcmperformance kio_thumbnail kcmarts libkickermenu_prefmenu joystick kdmconfig kcmaccess kcmkonqhtml quicklauncher kcmsamba kdeprint_part kio_smtp kcmiccconfig ; do \
echo $(INSTALL_DATA) $$base.gmo $(DESTDIR)$(kde_locale)/$(KDE_LANG)/LC_MESSAGES/$$base.mo ;\
if test -f $$base.gmo; then $(INSTALL_DATA) $$base.gmo $(DESTDIR)$(kde_locale)/$(KDE_LANG)/LC_MESSAGES/$$base.mo ;\
elif test -f $(srcdir)/$$base.gmo; then $(INSTALL_DATA) $(srcdir)/$$base.gmo $(DESTDIR)$(kde_locale)/$(KDE_LANG)/LC_MESSAGES/$$base.mo ;\
@@ -1176,6 +1179,7 @@
rm -f $(DESTDIR)$(kde_locale)/$(KDE_LANG)/LC_MESSAGES/kcmsamba.mo
rm -f $(DESTDIR)$(kde_locale)/$(KDE_LANG)/LC_MESSAGES/kdeprint_part.mo
rm -f $(DESTDIR)$(kde_locale)/$(KDE_LANG)/LC_MESSAGES/kio_smtp.mo
+ rm -f $(DESTDIR)$(kde_locale)/$(KDE_LANG)/LC_MESSAGES/kcmiccconfig.mo
#>+ 2
all-nls: $(GMOFILES)
diff -Nuar kde-i18n-fr-3.5.10.ORI/messages/kdelibs/kdelibs.po kde-i18n-fr-3.5.10/messages/kdelibs/kdelibs.po
--- kde-i18n-fr-3.5.10.ORI/messages/kdelibs/kdelibs.po 2008-08-19 20:29:58.000000000 +0200
+++ kde-i18n-fr-3.5.10/messages/kdelibs/kdelibs.po 2011-11-01 17:02:35.529386462 +0100
@@ -5557,123 +5557,104 @@
#: kdeui/kaboutkde.cpp:34
msgid ""
-"The <b>K Desktop Environment</b> is written and maintained by the KDE Team, a "
-"world-wide network of software engineers committed to <a "
+"The <b>Trinity Desktop Environment</b> is a fork of the "
+"K Desktop Environment version 3.5, which was originally written by the KDE Team, "
+"a world-wide network of software engineers committed to <a "
"href=\"http://www.gnu.org/philosophy/free-sw.html\">Free Software</a> "
-"development."
-"<br>"
-"<br>No single group, company or organization controls the KDE source code. "
-"Everyone is welcome to contribute to KDE."
-"<br>"
-"<br>Visit <A HREF=\"http://www.kde.org/\">http://www.kde.org</A> "
+"development.<br><br>No single group, company or organization controls the "
+"Trinity source code. Everyone is welcome to contribute to Trinity.<br><br>Visit <A "
+"HREF=\"http://www.trinitydesktop.org/\">http://www.trinitydesktop.org</A> for more information "
+"about Trinity, and <A HREF=\"http://www.kde.org/\">http://www.kde.org</A> "
"for more information on the KDE project. "
msgstr ""
-"L'<b>Environnement Bureautique KDE</b> est écrit et maintenu par l'équipe de "
-"KDE, des informaticiens du monde entier travaillant sur Internet au "
-"développement de <a href=\"http://www.gnu.org/philosophy/free-sw.fr.html\">"
-"logiciels libres</a>."
-"<br>"
-"<br>Aucune société ni organisation ne contrôle le code source de KDE, et chacun "
-"est invité à y contribuer."
-"<br>"
-"<br>Visitez <a href=\"http://www.kde.org/fr\">http://www.kde.org/fr</A> "
+"L'<b>Environnement Bureautique Trinity</b> est un clone de l'environnement "
+"KDE version 3.5, originellement écrit par l'équipe KDE, des informaticiens "
+"du monde entier travaillant sur Internet au développement de <a "
+"href=\"http://www.gnu.org/philosophy/free-sw.fr.html\">logiciels libres</a>."
+"<br><br>Aucune société ni organisation ne contrôle le code source de Trinity, et chacun "
+"est invité à y contribuer.<br><br>Visitez <A HREF=\"http://www.trinitydesktop.org/\">"
+"http://www.trinitydesktop.org</A> pour plus d'informations sur Trinity, et <a "
+"href=\"http://www.kde.org/fr\">http://www.kde.org/fr</A> "
"pour plus d'informations sur le projet KDE."
#: kdeui/kaboutkde.cpp:43
msgid ""
-"Software can always be improved, and the KDE Team is ready to do so. However, "
-"you - the user - must tell us when something does not work as expected or could "
-"be done better."
-"<br>"
-"<br>The K Desktop Environment has a bug tracking system. Visit <A "
-"HREF=\"http://bugs.kde.org/\">http://bugs.kde.org</A> "
-"or use the \"Report Bug...\" dialog from the \"Help\" menu to report bugs."
-"<br>"
-"<br>If you have a suggestion for improvement then you are welcome to use the "
-"bug tracking system to register your wish. Make sure you use the severity "
-"called \"Wishlist\"."
+"Software can always be improved, and the Trinity Team is ready to "
+"do so. However, you - the user - must tell us when "
+"something does not work as expected or could be done better.<br><br>"
+"The Trinity Desktop Environment has a bug tracking system. Visit "
+"<A HREF=\"http://bugs.pearsoncomputing.net/\">http://bugs.pearsoncomputing.net</A> or "
+"use the \"Report Bug...\" dialog from the \"Help\" menu to report bugs.<br><br>"
+"If you have a suggestion for improvement then you are welcome to use "
+"the bug tracking system to register your wish. Make sure you use the "
+"severity called \"Wishlist\"."
msgstr ""
-"Les logiciels peuvent toujours être améliorés et l'équipe KDE est prête à le "
+"Les logiciels peuvent toujours être améliorés et l'équipe Trinity est prête à le "
"faire. Cependant, vous - l'utilisateur(trice) - devez nous signaler ce qui ne "
-"fonctionne pas correctement ou pourrait être perfectionné."
-"<br>"
-"<br>L'Environnement de Bureau KDE possède un système de suivi des bogues. Allez "
-"sur <A HREF=\"http://bugs.kde.org/\">http://bugs.kde.org/</A> "
-"ou utilisez la boîte de dialogue « Rapport de bogue » du menu « Aide » pour "
-"signaler les erreurs."
-"<br>"
-"<br>Si vous voulez suggérer une amélioration, vous êtes invité(e) à utiliser le "
+"fonctionne pas correctement ou pourrait être perfectionné.<br><br>"
+"L'Environnement de Bureau Trinity possède un système de suivi des bogues. Allez "
+"sur <A HREF=\"http://bugs.pearsoncomputing.net/\">http://bugs.pearsoncomputing.net</A> "
+"ou utilisez la boîte de dialogue « Rapport de bogue » du menu « Aide » pour signaler les "
+"erreurs.<br><br>Si vous voulez suggérer une amélioration, vous êtes invité(e) à utiliser le "
"système de suivi des bogues pour enregistrer votre souhait. Assurez-vous "
"d'avoir utilisé l'option « Souhait » (wish)."
#: kdeui/kaboutkde.cpp:54
msgid ""
-"You do not have to be a software developer to be a member of the KDE team. You "
-"can join the national teams that translate program interfaces. You can provide "
-"graphics, themes, sounds, and improved documentation. You decide!"
-"<br>"
-"<br>Visit <A HREF=\"http://www.kde.org/jobs/\">http://www.kde.org/jobs/</A> "
+"You do not have to be a software developer to be a member of the "
+"Trinity team. You can join the national teams that translate "
+"program interfaces. You can provide graphics, themes, sounds, and "
+"improved documentation. You decide!"
+"<br><br>"
+"Visit "
+"<A HREF=\"http://www.trinitydesktop.org/jobs/\">http://www.trinitydesktop.org/jobs/</A> "
"for information on some projects in which you can participate."
-"<br>"
-"<br>If you need more information or documentation, then a visit to <A "
-"HREF=\"http://developer.kde.org/\">http://developer.kde.org</A> "
+"<br><br>"
+"If you need more information or documentation, then a visit to "
+"<A HREF=\"http://www.trinitydesktop.org/docs/\">http://www.trinitydesktop.org/docs/</A> "
"will provide you with what you need."
msgstr ""
-"Il n'est pas nécessaire d'être programmeur pour être membre de l'équipe de KDE. "
+"Il n'est pas nécessaire d'être programmeur pour être membre de l'équipe de Trinity. "
"Vous pouvez rejoindre les équipes nationales qui traduisent les interfaces des "
"programmes. Vous pouvez réaliser des images, des thèmes, des sons et des "
"documentations enrichies. C'est vous qui décidez !"
-"<br>"
-"<br>Visitez <A HREF=\"http://www.kde.org/fr/jobs.html\">"
-"http://www.kde.org/fr/jobs.html</A> pour des informations sur certains projets "
-"auxquels vous pouvez participer."
-"<br>"
-"<br>Pour plus d'informations ou de documentations, une visite de <A "
-"HREF=\"http://developer.kde.org/\">http://developer.kde.org/</A> "
+"<br><br>"
+"Visitez "
+"<A HREF=\"http://www.trinitydesktop.org/jobs/\">http://www.trinitydesktop.org/jobs/</A>"
+"pour des informations sur certains projets auxquels vous pouvez participer."
+"<br><br>"
+"Pour plus d'informations ou de documentations, une visite de <A "
+"HREF=\"http://www.trinitydesktop.org/docs/\">http://www.trinitydesktop.org/docs/</A> "
"devrait vous fournir ce dont vous avez besoin."
#: kdeui/kaboutkde.cpp:67
msgid ""
-"KDE is available free of charge, but making it is not free."
-"<br>"
-"<br>Thus, the KDE team formed the KDE e.V., a non-profit organization legally "
-"founded in Tuebingen, Germany. The KDE e.V. represents the KDE project in legal "
-"and financial matters. See <a href=\"http://www.kde-ev.org/\">"
-"http://www.kde-ev.org</a> for information on the KDE e.V."
-"<br>"
-"<br>The KDE team does need financial support. Most of the money is used to "
-"reimburse members and others on expenses they experienced when contributing to "
-"KDE. You are encouraged to support KDE through a financial donation, using one "
-"of the ways described at <a href=\"http://www.kde.org/support/\">"
-"http://www.kde.org/support/</a>."
-"<br>"
-"<br>Thank you very much in advance for your support."
-msgstr ""
-"KDE est disponible gratuitement, mais sa réalisation a un coût."
-"<br>"
-"<br>C'est pourquoi l'équipe de KDE a formé l'association KDE, une association à "
-"but non lucratif fondée à Tübingen (Allemagne). L'association KDE représente "
-"les aspects juridiques et financiers du Projet KDE. Consultez <a "
-"href=\"http://www.kde-ev.org\">http://www.kde-ev.org/</a> "
-"pour plus d'informations sur l'association KDE."
-"<br>"
-"<br>L'équipe de KDE a besoin d'un appui financier. La majeure partie de ses "
+"Trinity is available free of charge, but making it is not free.<br><br>"
+"<br><br>"
+"The Trinity team does need financial support. Most of the money is used to "
+"reimburse members and others on expenses they experienced when "
+"contributing to Trinity. You are encouraged to support Trinity through a financial "
+"donation, using one of the ways described at "
+"<a href=\"http://www.trinitydesktop.org/donate.php\">http://www.trinitydesktop.org/donate.php</a>."
+"<br><br>Thank you very much in advance for your support!"
+msgstr ""
+"Trinity est disponible gratuitement, mais sa réalisation a un coût."
+"<br><br>"
+"<br>L'équipe de Trinity a besoin d'un appui financier. La majeure partie de ses "
"fonds sert à rembourser les membres et d'autres intervenants des dépenses "
-"qu'ils ont engagées lors de leur contribution à KDE. Pour apporter votre "
-"participation financière à KDE, utilisez l'une des possibilités décrites à "
-"l'adresse <a "
-"href=\"http://www.kde.org/support/\">http://www.kde.org/support/</a>."
-"<br>"
-"<br>Nous vous remercions vivement de votre soutien."
+"qu'ils ont engagées lors de leur contribution à Trinity. Pour apporter votre "
+"participation financière à Trinity, utilisez l'une des possibilités décrites à "
+"l'adresse <a href=\"http://www.trinitydesktop.org/donate.php\">http://www.trinitydesktop.org/donate.php</a>."
+"<br><br>Nous vous remercions vivement de votre soutien."
#: kdeui/kaboutkde.cpp:81
#, c-format
-msgid "K Desktop Environment. Release %1"
-msgstr "Environnement de bureau KDE. Version %1"
+msgid "Trinity Desktop Environment. Release %1"
+msgstr "Environnement de bureau Trinity. Version %1"
#: kdeui/kaboutkde.cpp:83
msgid ""
-"_: About KDE\n"
+"About Trinity"
"&About"
msgstr "À &propos"
@@ -5682,12 +5663,12 @@
msgstr "Rapport de bogues et &souhaits"
#: kdeui/kaboutkde.cpp:85
-msgid "&Join the KDE Team"
-msgstr "Re&joignez l'équipe de KDE"
+msgid "&Join the Trinity Team"
+msgstr "Re&joignez l'équipe de Trinity"
#: kdeui/kaboutkde.cpp:86
-msgid "&Support KDE"
-msgstr "&Soutenez KDE"
+msgid "&Support Trinity"
+msgstr "&Soutenez Trinity"
#: kdeui/kstdguiitem.cpp:110 khtml/java/kjavaappletserver.cpp:804
msgid "&Yes"
@@ -6623,8 +6604,8 @@
msgstr "À &propos de : %1"
#: kdeui/khelpmenu.cpp:176 kdeui/kstdaction_p.h:114
-msgid "About &KDE"
-msgstr "À propos de &KDE"
+msgid "About &Trinity"
+msgstr "À propos de &Trinity"
#: kdeui/kactionclasses.cpp:2072
msgid "Exit F&ull Screen Mode"

File diff suppressed because it is too large Load Diff

@ -0,0 +1,192 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.5.13
%endif
%define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.12 specific building variables
BuildRequires: cmake >= 2.8
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Summary: K Desktop Environment - Accessibility
Name: trinity-kdeaccessibility
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2
Group: User Interface/Desktops
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Source0: kdeaccessibility-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: kdeaccessibility3 = %{version}-%{release}
Requires: trinity-kdelibs
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: desktop-file-utils
BuildRequires: trinity-kdelibs-devel
BuildRequires: alsa-lib-devel
%if 0%{?fedora} > 4 || 0%{?rhel} > 4
BuildRequires: libXtst-devel
%endif
%description
Included with this package are:
* kmag, a screen magnifier,
* kmousetool, a program for people whom it hurts to click the mouse,
* kmouth, program that allows people who have lost their voice
to let their computer speak for them.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Provides: kdeaccessibility3-devel = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Requires: trinity-kdelibs-devel
%description devel
%{summary}.
%prep
%setup -q -n kdeaccessibility
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%__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}"
%configure \
--includedir=%{tde_includedir} \
--disable-rpath \
--enable-new-ldflags \
--enable-closure \
--disable-debug --disable-warnings \
--enable-final \
--with-extra-includes=%{_includedir}/tqt
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
desktop-file-install \
--vendor="" \
--dir %{buildroot}%{_datadir}/applications/kde \
--delete-original \
%{buildroot}%{_datadir}/applnk/Applications/*.desktop ||:
# file lists for locale
%find_lang %{name} || touch %{name}.lang
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}/$HTML_DIR ]; then
for lang_dir in %{buildroot}/$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
done
popd
fi
done
fi
# rpmdocs
for dir in kmag kmousetool ksayit kttsd ; do
for file in AUTHORS ChangeLog README TODO ; do
test -s $dir/$file && install -p -m644 -D $dir/$file rpmdocs/$dir/$file
done
done
%clean
%__rm -rf %{buildroot}
%post
/sbin/ldconfig ||:
for icon_theme in mono hicolor locolor ; do
touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||:
gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||:
done
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%postun
/sbin/ldconfig ||:
for icon_theme in mono hicolor locolor ; do
touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||:
gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||:
done
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc COPYING
%doc rpmdocs/*
%{_bindir}/*
%{_datadir}/applications/kde/*.desktop
%{_datadir}/apps/*/
%{_datadir}/config/*
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/icons/locolor/*/*/*
%{_datadir}/icons/mono/
%{_datadir}/icons/crystalsvg/*/*/*
%{_datadir}/service*/*.desktop
%{_libdir}/lib*.so.*
%{_libdir}/*.la
%{tde_libdir}/*
# Misc docs
%doc %lang(en) %{_docdir}/HTML/en/kmag
%doc %lang(en) %{_docdir}/HTML/en/kmousetool
%doc %lang(en) %{_docdir}/HTML/en/kmouth
%doc %lang(en) %{_docdir}/HTML/en/kttsd
%files devel
%defattr(-,root,root,-)
%{tde_includedir}/*
%{_libdir}/lib*.so
%changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT
- Spec file based on Fedora 8 "kdeaccessibility-3.5.10-1"

@ -0,0 +1,64 @@
--- kdeaddons-3.5.3/noatun-plugins/tippercanoe/sdlwrap.cpp.than 2006-06-07 18:52:09.000000000 +0200
+++ kdeaddons-3.5.3/noatun-plugins/tippercanoe/sdlwrap.cpp 2006-06-07 18:54:06.000000000 +0200
@@ -183,6 +183,7 @@
SDL_UpdateRect(surface, 0, 0, 0, 0);
}
+#if 0
int SdlScreen::winID(void)
{
SDL_SysWMinfo info;
@@ -195,3 +196,4 @@
SDL_GetWMInfo(&info);
return info.info.x11.wmwindow;
}
+#endif
--- kdeaddons-3.5.3/noatun-plugins/tippercanoe/main.cpp.than 2006-06-07 18:54:19.000000000 +0200
+++ kdeaddons-3.5.3/noatun-plugins/tippercanoe/main.cpp 2006-06-07 18:54:27.000000000 +0200
@@ -112,7 +112,7 @@
{
time_t timer = time(NULL);
- printf("%u\n", static_cast<SdlScreen *>(screen)->winID());
+ //printf("%u\n", static_cast<SdlScreen *>(screen)->winID());
fflush(stdout);
int frames = 0;
--- kdeaddons-3.5.3/noatun-plugins/tippercanoe/syna.h.than 2006-06-07 18:51:25.000000000 +0200
+++ kdeaddons-3.5.3/noatun-plugins/tippercanoe/syna.h 2006-06-07 18:51:56.000000000 +0200
@@ -108,7 +108,7 @@
int sizeUpdate();
bool inputUpdate(int &mouseX,int &mouseY,int &mouseButtons,char &keyHit);
void show();
- int winID();
+ //int winID();
};
// core
--- kdeaddons-3.5.3/noatun-plugins/tyler/main.cpp.than 2006-06-07 18:54:38.000000000 +0200
+++ kdeaddons-3.5.3/noatun-plugins/tyler/main.cpp 2006-06-07 18:55:00.000000000 +0200
@@ -52,6 +52,7 @@
SDL_Surface *screen;
}
+#if 0
int winID(void)
{
SDL_SysWMinfo info;
@@ -61,6 +62,7 @@
SDL_GetWMInfo(&info);
return info.info.x11.wmwindow;
}
+#endif
int main(int, char **)
{
@@ -74,7 +76,7 @@
access_mutex = SDL_CreateMutex();
init_renderer1();
- printf("%u\n", winID());
+ //printf("%u\n", winID());
fflush(stdout);
init_renderer2();
thread = SDL_CreateThread((int (*)(void *))renderer, NULL);

@ -0,0 +1,7 @@
[General]
AnimateResize=false
MaxActions=3
MaxEntries=3
ShowFrame=true
ShowServicemenus=true
Theme=fedora

Binary file not shown.

@ -0,0 +1,256 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.5.13
%endif
%define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.13 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-kdeaddons
Summary: Trinity Desktop Environment - Plugins
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2
Group: User Interface/Desktops
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdeaddons-%{version}.tar.gz
Source1: metabar-fedora.tar.bz2
Source2: metabarrc
Patch3: kdeaddons-3.5.3-sdl.patch
BuildRequires: trinity-kdebase-devel
BuildRequires: trinity-kdegames-devel
BuildRequires: trinity-kdemultimedia-devel
BuildRequires: trinity-kdepim-devel
BuildRequires: SDL-devel
BuildRequires: alsa-lib-devel
BuildRequires: openssl-devel
BuildRequires: db4-devel
BuildRequires: xmms-devel
Requires: trinity-kdebase
%if 0%{?fedora}
# used in jpegorient (#312641)
Requires: python-exif
%endif
Requires: which
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Obsoletes: %{name}-xmms < %{version}-%{release}
%description
A collection of KDE Addons/Plugins, including:
* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver
* kate (plugins)
* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol
* knewsticker-scripts
%package extras
Group: User Interface/Desktops
Summary: Extras packages from kdeaddons
Requires: %{name} = %{version}-%{release}
Requires: trinity-kdegames
Obsoletes: %{name}-atlantikdesigner < %{version}-%{release}
%description extras
This package includes:
* atlantikdesigner: game board designer
* noatun-plugins
%prep
%setup -q -a 1 -n kdeaddons
%patch3 -p1 -b .sdl
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%__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}"
%if 0%{?fedora} > 0
export CXXFLAGS="${CXXFLAGS} -fpermissive"
%endif
%configure \
--includedir=%{_includedir}/kde \
--disable-rpath \
--enable-new-ldflags \
--enable-closure \
--disable-debug --disable-warnings \
--disable-dependency-tracking --enable-final \
--with-extra-includes=%{_includedir}/tqt
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
# File lists for locale
HTML_DIR=$(kde-config --expandvars --install html)
touch %{name}.lang
if [ -d %{buildroot}/$HTML_DIR ]; then
for lang_dir in %{buildroot}/$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
done
popd
fi
done
fi
# rpmdocs
for dir in konq-plugins ; do
for file in AUTHORS ChangeLog README TODO ; do
test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
done
done
# install fedora metabar theme
cp -prf fedora %{buildroot}%{_datadir}/apps/metabar/themes
install -m644 -p %{SOURCE2} %{buildroot}%{_datadir}/config/
%post
/sbin/ldconfig
for f in crystalsvg hicolor locolor ; 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
/sbin/ldconfig
for f in crystalsvg hicolor locolor ; 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 || :
%post extras
touch --no-create %{_datadir}/icons/hicolor 2> /dev/null ||:
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
%postun extras
touch --no-create %{_datadir}/icons/hicolor 2> /dev/null ||:
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
%clean
%__rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc README
%doc rpmdocs/*
%{_bindir}/*
%{tde_libdir}/*
%{_datadir}/applications/kde/*
%{_datadir}/applnk/.hidden/*
%{_datadir}/apps/akregator/pics/*
%{_datadir}/apps/domtreeviewer/
%{_datadir}/apps/fsview/
%{_datadir}/apps/imagerotation/
%{_datadir}/apps/kaddressbook/*
%{_datadir}/apps/kate/*
%{_datadir}/apps/katepart/syntax/*
%{_datadir}/apps/katexmltools
# own dir so we don't need to Requires: kdenetwork too
%dir %{_datadir}/apps/knewsticker
%{_datadir}/apps/knewsticker/*
%{_datadir}/apps/khtml/kpartplugins/*
%{_datadir}/apps/konq*view/kpartplugins/*
%{_datadir}/apps/konqueror/icons/*/*/*/*
%dir %{_datadir}/apps/konqueror/kpartplugins/
%{_datadir}/apps/konqueror/kpartplugins/*
%{_datadir}/apps/konqueror/servicemenus/*
%{_datadir}/apps/konqsidebartng/*/*
%{_datadir}/apps/mediacontrol/
%{_datadir}/apps/metabar/
%{_datadir}/apps/microformat/
#%{_datadir}/apps/noatun/*
%{_datadir}/apps/kicker/applets/*
%{_datadir}/apps/ksig/
%{_datadir}/config*/*
%{_datadir}/icons/crystalsvg/*/*/*
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/icons/locolor/*/*/*
%{_datadir}/mimelnk/*/*
%{_datadir}/service*/*
%doc %lang(en) %{_docdir}/HTML/en/*/*
# atlantikdesigner
#%exclude %{_bindir}/atlantikdesigner
#%exclude %{_datadir}/icons/hicolor/*/*/atlantikdesigner*
#%exclude %{_datadir}/applications/kde/atlantikdesigner.desktop
# noatun-plugins
#%exclude %{_bindir}/noatun*
#%exclude %{tde_libdir}/noatun*
#%exclude %{_datadir}/apps/noatun/*
%files extras
%defattr(-,root,root,-)
# atlantikdesigner
%doc atlantikdesigner/TODO
#%{_bindir}/atlantikdesigner
%{_datadir}/apps/atlantikdesigner/
#%{_datadir}/icons/hicolor/*/*/atlantikdesigner*
#%{_datadir}/applications/kde/atlantikdesigner.desktop
# noatun-plugins
#%{_bindir}/noatun*
#%{tde_libdir}/noatun*
%{_datadir}/apps/noatun/*
%changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Sat Oct 29 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT

@ -0,0 +1,33 @@
[Kpackage]
BSD=false
DEBAPT=false
DEBDPKG=false
KISS=false
RPM=true
SLACK=false
[Rpm]
Package_L_0_0=/mnt/cdrom/RedHat/RPMS
Package_L_0_1=/mnt/cdrom/SRPMS
Package_L_0_2=/usr/src/redhat/RPMS
Package_L_0_3=/usr/src/redhat/SRPMS
Package_L_0_4=ftp://ftp.redhat.com/pub/redhat/linux/updates/7.2/en
Package_L_1_0=ftp://rhcontrib.bero.org/pub/rh-contrib/7.2/i386
Package_L_1_1=ftp://rhcontrib.bero.org/pub/rh-contrib/7.2/noarch
Package_L_1_2=ftp://rhcontrib.bero.org/pub/rh-contrib/7.2/SRPMS
Package_S_0_0=0
Package_S_0_1=0
Package_S_0_2=1
Package_S_0_3=0
Package_S_0_4=1
Package_S_1_0=0
Package_S_1_1=0
Package_S_1_2=0
Package_U_0_0=1
Pacakge_U_0_1=1
Package_U_0_2=1
Pacakge_U_0_3=1
Package_U_0_4=0
Package_U_1_0=0
Package_U_1_1=0
Package_U_1_2=0

@ -0,0 +1,8 @@
[Other Settings]
Configured=true
[Path Settings]
RunlevelPath=/etc/rc.d
ScriptPath=/etc/rc.d/init.d
[Runlevels]
Show Runlevels=0,1,2,3,4,5,6

@ -0,0 +1,3 @@
USER=root
PROGRAM=/usr/sbin/kuser
SESSION=true

@ -0,0 +1,4 @@
#%PAM-1.0
auth include config-util
account include config-util
session include config-util

@ -0,0 +1,6 @@
[template]
copySkel=true
createHomeDir=true
homeBase=/home
shell=/bin/bash
userPrivateGroup=true

@ -0,0 +1,201 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.5.13
%endif
%define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.12 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
%define console_helper 1
Name: trinity-kdeadmin
Summary: Administrative tools for TDE
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2
Group: User Interface/Desktops
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdeadmin-%{version}.tar.gz
Source1: kuser.pam
Source2: kuser.pamd
Source5: kpackagerc
Source6: ksysvrc
Source7: kuserrc
Requires: trinity-kdelibs
Requires: pkgconfig
%if 0%{?console_helper}
Requires: usermode-gtk
%endif
BuildRequires: trinity-kdelibs-devel
BuildRequires: rpm-devel
%description
The kdeadmin package includes administrative tools for the K Desktop
Environment (KDE) including:
kcron, kdat, knetworkconf, kpackage, ksysv, kuser.
%prep
%setup -q -n kdeadmin
%if 0%{?rhel} > 1
echo 'DO_NOT_COMPILE="$DO_NOT_COMPILE kpackage"' >kpackage/configure.in.in
echo 'DO_NOT_COMPILE="$DO_NOT_COMPILE ksysv"' >ksysv/configure.in.in
echo 'DO_NOT_COMPILE="$DO_NOT_COMPILE kuser"' >kuser/configure.in.in
echo 'DO_NOT_COMPILE="$DO_NOT_COMPILE lilo-config"' >lilo-config/configure.in.in
%endif
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%__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}"
%if 0%{?fedora} > 0
export CXXFLAGS="${CXXFLAGS} -fpermissive"
%endif
%configure \
--enable-new-ldflags \
--disable-dependency-tracking \
--disable-rpath \
--with-rpm \
--enable-final \
--enable-closure \
--with-private-groups \
--with-extra-includes=%{_includedir}/tqt
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%if 0%{?rhel} > 1
comps="kcron kdat knetworkconf"
rm -rf %{buildroot}%{_docdir}/HTML/en/kuser \
%{buildroot}%{_docdir}/HTML/en/kpackage \
%{buildroot}%{_docdir}/HTML/en/ksysv \
%{buildroot}%{_docdir}/HTML/en/lilo-config
%else
comps="kcron kdat knetworkconf kpackage ksysv kuser"
mkdir -p %{buildroot}%{_datadir}/config \
%{buildroot}/etc/security/console.apps \
%{buildroot}/etc/pam.d \
%{buildroot}%{_sbindir}
install -p -m644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{buildroot}%{_datadir}/config/
# Run kuser through consolehelper
install -p -m644 %{SOURCE1} %{buildroot}/etc/security/console.apps/kuser
install -p -m644 %{SOURCE2} %{buildroot}/etc/pam.d/kuser
mv %{buildroot}%{_bindir}/kuser %{buildroot}%{_sbindir}
ln -s consolehelper %{buildroot}%{_bindir}/kuser
%endif
# locale's
%find_lang %{name} || touch %{name}.lang
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}/$HTML_DIR ]; then
for lang_dir in %{buildroot}/$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
done
popd
fi
done
fi
# rpmdocs
for dir in $comps ; do
for file in AUTHORS ChangeLog README TODO ; do
test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
done
done
%post
for icon_theme in crystalsvg hicolor locolor ; do
touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||:
gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||:
done
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%postun
for icon_theme in crystalsvg hicolor locolor ; do
touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||:
gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||:
done
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%clean
%__rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%doc rpmdocs/*
%{_bindir}/*
%if 0%{?rhel} < 1
%{_sbindir}/*
%config(noreplace) /etc/pam.d/*
%config(noreplace) /etc/security/console.apps/*
%{_datadir}/config*/*
%{_datadir}/mimelnk/*/*.desktop
%{_datadir}/icons/crystalsvg/*/*/*
%endif
%{_datadir}/apps/*
%{_datadir}/applications/kde/*.desktop
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/icons/locolor/*/*/*
%{_datadir}/service*/*.desktop
%{tde_libdir}/*
%{_libdir}/pkgconfig/*.pc
%doc %lang(en) %{_docdir}/HTML/en/*
%changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Fri Oct 28 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.13 %define version 3.5.13
%endif %endif
%define release 0 %define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -11,17 +11,23 @@
%endif %endif
# TDE 3.5.13 specific building variables # TDE 3.5.13 specific building variables
BuildRequires: autoconf automake libtool m4 BuildRequires: cmake >= 2.8
%define tde_libdir %{_libdir}/trinity %define tde_libdir %{_libdir}/trinity
# kdeartwork specific settings
# On RHEL 6, libart is too old !
%if 0%{?fedora} >= 15
%define with_libart 1
%endif
Name: trinity-kdeartwork Name: trinity-kdeartwork
Summary: Additional artwork (themes, sound themes, ...) for KDE Summary: Additional artwork (themes, sound themes, ...) for TDE
Version: %{?version} Version: %{?version}
Release: %{?release}%{?dist}%{?_variant} Release: %{?release}%{?dist}%{?_variant}
License: GPLv2 License: GPLv2
Group: User Interface/Desktops Group: User Interface/Desktops
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Vendor: Trinity Project Vendor: Trinity Project
@ -35,8 +41,15 @@ Source1: webcollagerc
BuildRequires: gettext BuildRequires: gettext
BuildRequires: trinity-kdebase-devel BuildRequires: trinity-kdebase-devel
BuildRequires: libart_lgpl-devel
BuildRequires: nas-devel esound-devel jack-audio-connection-kit-devel BuildRequires: nas-devel esound-devel jack-audio-connection-kit-devel
%if 0%{?rhel} > 5 || 0%{?fedora} >= 15
BuildRequires: xscreensaver
%else
BuildRequires: gnome-screensaver
%endif
%if "%{?with_libart}" == "1"
BuildRequires: libart_lgpl-devel
%endif
Requires: trinity-kdebase Requires: trinity-kdebase
@ -54,24 +67,27 @@ Group: User Interface/Desktops
%prep %prep
%setup -q -n kdeartwork %setup -q -n kdeartwork
%__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 %build
unset QTDIR || : ; . /etc/profile.d/qt.sh unset QTDIR || : ; . /etc/profile.d/qt.sh
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
export LDFLAGS="-L%{_libdir} -I%{_includedir}" export PKG_CONFIG_PATH="%{_libdir}/pkgconfig"
export CMAKE_INCLUDE_PATH="%{_includedir}:%{_includedir}/tqt"
export LD_LIBRARY_PATH="%{_libdir}"
%configure \
--disable-rpath \ %__mkdir build
--enable-new-ldflags \ cd build
--disable-dependency-tracking \ %cmake \
--disable-debug --disable-warnings \ -DWITH_XSCREENSAVER=ON \
--enable-final \ %if "%{?with_libart}" == "1"
--with-extra-includes=%{_includedir}/tqt -DWITH_LIBART=ON \
%else
-DWITH_LIBART=OFF \
%endif
-DWITH_OPENGL=ON \
-DWITH_ARTS=ON \
-DBUILD_ALL=ON \
..
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -79,8 +95,7 @@ export LDFLAGS="-L%{_libdir} -I%{_includedir}"
%install %install
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install -C build DESTDIR=%{buildroot}
%make_install
# webcollage -root -directory /usr/share/backgrounds/images #227683 # webcollage -root -directory /usr/share/backgrounds/images #227683
@ -123,17 +138,17 @@ done
%post icons %post icons
for i in locolor ikons kdeclassic kids slick ; do for i in locolor ikons kdeclassic kids slick ; do
touch --no-create %{_datadir}/icons/$i 2>/dev/null || : touch --no-create %{_datadir}/icons/$i 2>/dev/null || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || :
done done
%postun icons %postun icons
for i in locolor ikons kdeclassic kids slick ; do for i in locolor ikons kdeclassic kids slick ; do
touch --no-create %{_datadir}/icons/$i 2>/dev/null || : touch --no-create %{_datadir}/icons/$i 2>/dev/null || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || :
done done
%clean %clean
rm -rf %{buildroot} %__rm -rf %{buildroot}
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -165,5 +180,8 @@ rm -rf %{buildroot}
%changelog %changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0 * Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT - Import to GIT

@ -0,0 +1,3 @@
[directory]
Value=/usr/share/backgrounds/images/

@ -0,0 +1,11 @@
--- kdebase/kdm/kfrontend/genkdmconf.c.ORI 2011-11-01 21:59:14.450046357 +0100
+++ kdebase/kdm/kfrontend/genkdmconf.c 2011-11-01 21:59:34.449045801 +0100
@@ -676,7 +676,7 @@
" ;;\n"
"esac\n"
"# invoke global X session script\n"
-". /etc/X11/Xsession\n";
+". /etc/X11/xinit/Xsession\n";
static const char def_background[] =
"[Desktop0]\n"

@ -0,0 +1,13 @@
--- kdebase/startkde.ORI 2011-11-01 22:17:52.000000000 +0100
+++ kdebase/startkde 2011-11-01 22:18:14.000000000 +0100
@@ -413,7 +413,9 @@
fi
if [ -n $KGTK_PRELOAD ]; then
- if [ -e /usr/lib/libnspr4.so ]; then
+ if [ -e /usr/lib64/libnspr4.so ]; then
+ KGTK_NSPR_PRELOAD="/usr/lib64/libnspr4.so:"
+ elif [ -e /usr/lib/libnspr4.so ]; then
KGTK_NSPR_PRELOAD="/usr/lib/libnspr4.so:"
fi
export LD_PRELOAD=$KGTK_PRELOAD:$KGTK_NSPR_PRELOAD$LD_PRELOAD

@ -0,0 +1,9 @@
#%PAM-1.0
auth include system-auth
account required pam_nologin.so
account include system-auth
password include system-auth
session include system-auth
session required pam_loginuid.so
session optional pam_selinux.so
session optional pam_console.so

@ -0,0 +1,5 @@
#%PAM-1.0
auth include system-auth
account include system-auth
password include system-auth
session include system-auth

@ -0,0 +1,5 @@
#%PAM-1.0
auth include system-auth
account include system-auth
password include system-auth
session include system-auth

@ -0,0 +1,11 @@
#%PAM-1.0
auth required pam_env.so
auth required pam_nologin.so
auth required pam_permit.so
account include system-auth
password include system-auth
session optional pam_keyinit.so force revoke
session include system-auth
session required pam_loginuid.so
session optional pam_selinux.so
session optional pam_console.so

@ -0,0 +1,13 @@
#%PAM-1.0
auth required pam_env.so
auth required pam_permit.so
account required pam_nologin.so
account include system-auth
password include system-auth
session required pam_selinux.so close
session required pam_loginuid.so
session optional pam_console.so
session required pam_selinux.so open
session optional pam_keyinit.so force revoke
session required pam_namespace.so
session include system-auth

@ -0,0 +1,15 @@
#%PAM-1.0
auth required pam_env.so
auth required pam_permit.so
auth include postlogin
account required pam_nologin.so
account include system-auth
password include system-auth
session required pam_selinux.so close
session required pam_loginuid.so
session optional pam_console.so
session required pam_selinux.so open
session optional pam_keyinit.so force revoke
session required pam_namespace.so
session include system-auth
session include postlogin

@ -0,0 +1,10 @@
#%PAM-1.0
auth include system-auth
account required pam_nologin.so
account include system-auth
password include system-auth
session optional pam_keyinit.so force revoke
session include system-auth
session required pam_loginuid.so
session optional pam_selinux.so
session optional pam_console.so

@ -0,0 +1,16 @@
#%PAM-1.0
auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
auth required pam_env.so
auth substack system-auth
auth optional pam_gnome_keyring.so
account required pam_nologin.so
account include system-auth
password include system-auth
session required pam_selinux.so close
session required pam_loginuid.so
session optional pam_console.so
session required pam_selinux.so open
session optional pam_keyinit.so force revoke
session required pam_namespace.so
session optional pam_gnome_keyring.so auto_start
session include system-auth

@ -0,0 +1,18 @@
#%PAM-1.0
auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
auth required pam_env.so
auth substack system-auth
auth optional pam_gnome_keyring.so
auth include postlogin
account required pam_nologin.so
account include system-auth
password include system-auth
session required pam_selinux.so close
session required pam_loginuid.so
session optional pam_console.so
session required pam_selinux.so open
session optional pam_keyinit.so force revoke
session required pam_namespace.so
session optional pam_gnome_keyring.so auto_start
session include system-auth
session include postlogin

@ -0,0 +1,9 @@
#%PAM-1.0
auth include system-auth
account required pam_nologin.so
account include system-auth
password include system-auth
session include system-auth
session required pam_loginuid.so
session optional pam_selinux.so
session optional pam_console.so

@ -0,0 +1,5 @@
#%PAM-1.0
auth include system-auth
account include system-auth
password include system-auth
session include system-auth

@ -0,0 +1,5 @@
#%PAM-1.0
auth include system-auth
account include system-auth
password include system-auth
session include system-auth

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 11 %define release 12
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -51,6 +51,8 @@ Patch4: http://www.trinitydesktop.org/patches/r1182808.diff
# [kdebase] fixed an incompatibility with gcc 4.5 # [kdebase] fixed an incompatibility with gcc 4.5
Patch8: http://www.trinitydesktop.org/patches/r1221326.diff Patch8: http://www.trinitydesktop.org/patches/r1221326.diff
Patch11: kdebase-3.5.12-kickerfix.patch
# TDE Official patches (from SVN), modified # TDE Official patches (from SVN), modified
# [kdebase/ksmserver/shutdowndlg.cpp] Fixed invalid constructor per GCC 4.5.2 # [kdebase/ksmserver/shutdowndlg.cpp] Fixed invalid constructor per GCC 4.5.2
Patch7: kdebase-3.5.12-r1220975.patch Patch7: kdebase-3.5.12-r1220975.patch
@ -150,7 +152,7 @@ Requires: %{name} = %{version}-%{release}
%package libs %package libs
Summary: %{name} runtime libraries Summary: %{name} runtime libraries
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: trinity-kdelibs >= %{version} Requires: trinity-kdelibs
%if "%{?_prefix}" == "/usr" %if "%{?_prefix}" == "/usr"
Obsoletes: kdebase%{?_qt_suffix}-libs Obsoletes: kdebase%{?_qt_suffix}-libs
%endif %endif
@ -185,6 +187,7 @@ Protocol handlers (KIOslaves) for personal information management, including:
%if 0%{?rhel} && 0%{?rhel} < 6 %if 0%{?rhel} && 0%{?rhel} < 6
%patch10 -p1 %patch10 -p1
%endif %endif
%patch11 -d kicker/kicker
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" %__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh"

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.13 %define version 3.5.13
%endif %endif
%define release 0 %define release 2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -15,33 +15,55 @@ BuildRequires: cmake >= 2.8
%define tde_docdir %{_docdir}/kde %define tde_docdir %{_docdir}/kde
%define tde_libdir %{_libdir}/trinity %define tde_libdir %{_libdir}/trinity
# Older RHEL/Fedora versions use packages named "qt", "qt-devel", ..
# whereas newer versions use "qt3", "qt3-devel" ...
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8
%define _qt_suffix 3
%endif
Name: trinity-kdebase Name: trinity-kdebase
Version: %{?version} Version: %{?version}
Release: %{?release}%{?dist}%{?_variant} Release: %{?release}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: Trinity KDE Base Programs Summary: Trinity KDE Base Programs
Group: User Interface/Desktops
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdebase-%{version}.tar.gz Source0: kdebase-%{version}.tar.gz
# Wrapper script to prevent Plasma launch at Trinity Startup
Source1: plasma-desktop
# Pam configuration files for RHEL / Fedora
Source2: pamd.kdm-trinity%{?dist}
Source3: pamd.kdm-trinity-np%{?dist}
Source4: pamd.kcheckpass-trinity%{?dist}
Source5: pamd.kscreensaver-trinity%{?dist}
# TDE for RHEL/Fedora specific patches # TDE for RHEL/Fedora specific patches
# [kdebase/kdesu] Remove 'ignore' button on 'kdesu' dialog box # [kdebase/kdesu] Remove 'ignore' button on 'kdesu' dialog box
Patch3: kdebase-3.5.13-kdesu-noignorebutton.patch Patch3: kdebase-3.5.13-kdesu-noignorebutton.patch
# [kdebase/kdesktop] Modifies "open terminal here" on desktop # [kdebase/kdesktop] Modifies "open terminal here" on desktop
Patch5: kdebase-3.5.12-desktop-openterminalhere.patch Patch5: kdebase-3.5.12-desktop-openterminalhere.patch
# [kdebase/kioslave]: Forces HAL backend to use HAL mount options # [kdebase/kioslave] Forces HAL backend to use HAL mount options
Patch6: kdebase-3.5.12-halmountoptions.patch Patch6: kdebase-3.5.12-halmountoptions.patch
# [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xinit/Xsession'
Patch7: kdebase-3.5.13-genkdmconf_Xsession_location.patch
# [kdebase/startkde] Hardcoded path '/usr/lib/xxx' in startkde, not suitable for x86_64
Patch8: kdebase-3.5.13-startkde_ldpreload.patch
BuildRequires: tqtinterface-devel BuildRequires: tqtinterface-devel
BuildRequires: trinity-arts-devel BuildRequires: trinity-arts-devel
BuildRequires: trinity-kdelibs-devel BuildRequires: trinity-kdelibs-devel
BuildRequires: qt3-devel >= 3.3.8d BuildRequires: qt%{?_qt_suffix}-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: avahi-devel avahi-qt3-devel BuildRequires: avahi-devel avahi-qt3-devel
BuildRequires: imake BuildRequires: imake
@ -52,7 +74,7 @@ BuildRequires: dbus-devel dbus-qt-devel
BuildRequires: lm_sensors-devel BuildRequires: lm_sensors-devel
BuildRequires: libfontenc-devel BuildRequires: libfontenc-devel
BuildRequires: hal-devel BuildRequires: hal-devel
BuildRequires: audiofile-devel BuildRequires: audiofile-devel alsa-lib-devel
BuildRequires: jack-audio-connection-kit-devel BuildRequires: jack-audio-connection-kit-devel
BuildRequires: libraw1394-devel BuildRequires: libraw1394-devel
BuildRequires: openldap-devel BuildRequires: openldap-devel
@ -60,15 +82,22 @@ BuildRequires: libvorbis-devel
BuildRequires: pam-devel BuildRequires: pam-devel
BuildRequires: libXdmcp-devel BuildRequires: libXdmcp-devel
BuildRequires: libxkbfile-devel BuildRequires: libxkbfile-devel
BuildRequires: libusb-devel
BuildRequires: esound-devel glib2-devel nas-devel
BuildRequires: libXcomposite-devel
BuildRequires: dbus-tqt-devel BuildRequires: dbus-tqt-devel
BuildRequires: libXtst-devel
BuildRequires: libXdamage-devel
Requires: tqtinterface Requires: tqtinterface
Requires: trinity-arts Requires: trinity-arts
Requires: trinity-kdelibs Requires: trinity-kdelibs
Requires: qt3 >= 3.3.8d Requires: qt%{?_qt_suffix}
Requires: openssl Requires: openssl
Requires: avahi avahi-qt3 Requires: avahi avahi-qt3
Requires: dbus-tqt Requires: dbus-tqt
# Provides the global Xsession script (/etc/X11/xinit/Xsession)
Requires: xorg-x11-xinit
# RHEL 6 Configuration files are provided in separate packages # RHEL 6 Configuration files are provided in separate packages
@ -90,11 +119,11 @@ kfontmanager, kmenuedit).
%package devel %package devel
Requires: %{name} Requires: %{name}
Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
Requires: trinity-kdelibs-devel Requires: trinity-kdelibs-devel
Summary: %{summary} - Development files Summary: %{summary} - Development files
%if "%{?_prefix}" == "/usr" %if "%{?_prefix}" == "/usr"
Obsoletes: kdebase3-devel Obsoletes: kdebase%{?_qt_suffix}-devel
%endif %endif
Group: Development/Libraries Group: Development/Libraries
%description devel %description devel
@ -106,7 +135,7 @@ Kate plugins or KWin styles.
%package extras %package extras
Summary: Extra applications from %{name} Summary: Extra applications from %{name}
Group: User Interface/Desktops Group: User Interface/Desktops
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{name} = %{version}-%{release}
%description extras %description extras
%{summary}, including: %{summary}, including:
* kappfinder * kappfinder
@ -118,11 +147,11 @@ Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%package libs %package libs
Summary: %{name} runtime libraries Summary: %{name} runtime libraries
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: trinity-kdelibs >= %{version} Requires: trinity-kdelibs
%if "%{?_prefix}" == "/usr" %if "%{?_prefix}" == "/usr"
Obsoletes: kdebase3-libs Obsoletes: kdebase%{?_qt_suffix}-libs
%endif %endif
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{name} = %{version}-%{release}
%description libs %description libs
%{summary} %{summary}
@ -143,10 +172,9 @@ Protocol handlers (KIOslaves) for personal information management, including:
%patch3 -p1 %patch3 -p1
%patch5 -p1 %patch5 -p1
%patch6 -p1 %patch6 -p1
%patch7 -p1
%patch8 -p1
# Gets the cmake modules in current build directory
%__mkdir_p cmake/modules
%__cp -f %{_datadir}/cmake/*.* cmake/modules
%build %build
unset QTDIR || : ; . /etc/profile.d/qt.sh unset QTDIR || : ; . /etc/profile.d/qt.sh
@ -165,7 +193,11 @@ cd build
-DWITH_XCOMPOSITE=ON \ -DWITH_XCOMPOSITE=ON \
-DWITH_XCURSOR=ON \ -DWITH_XCURSOR=ON \
-DWITH_XFIXES=ON \ -DWITH_XFIXES=ON \
%if 0%{?fedora} || 0%{?rhel} > 5
-DWITH_XRANDR=ON \ -DWITH_XRANDR=ON \
%else
-DWITH_XRANDR=OFF \
%endif
-DWITH_XRENDER=ON \ -DWITH_XRENDER=ON \
-DWITH_XDAMAGE=ON \ -DWITH_XDAMAGE=ON \
-DWITH_XEXT=ON \ -DWITH_XEXT=ON \
@ -179,14 +211,16 @@ cd build
-DWITH_I8K=OFF \ -DWITH_I8K=OFF \
-DWITH_HAL=ON \ -DWITH_HAL=ON \
-DBUILD_ALL=ON \ -DBUILD_ALL=ON \
-DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \
-DKDM_PAM_SERVICE="kdm-trinity" \
-DKSCREENSAVER_PAM_SERVICE="kscreensaver-trinity" \
.. ..
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
%install %install
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%__mkdir_p %{?buildroot} %__make install DESTDIR=%{?buildroot} -C build
%make_install -C build
# Adds a GDM/KDM/XDM session called 'TDE' # Adds a GDM/KDM/XDM session called 'TDE'
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -201,6 +235,18 @@ sed -i "%{?buildroot}%{_bindir}/startkde" \
# Renames '/etc/ksysguarddrc' to avoid conflict with KDE4 'ksysguard' # Renames '/etc/ksysguarddrc' to avoid conflict with KDE4 'ksysguard'
mv -f %{?buildroot}%{_sysconfdir}/ksysguarddrc %{?buildroot}%{_sysconfdir}/ksysguarddrc.tde 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
# PAM configuration files
%__mkdir_p "%{?buildroot}%{_sysconfdir}/pam.d"
%__install -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity"
%__install -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity-np"
%__install -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity"
%__install -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/kscreensaver-trinity"
%clean %clean
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
@ -288,6 +334,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%exclude %{_datadir}/applnk/Utilities/kpager.desktop %exclude %{_datadir}/applnk/Utilities/kpager.desktop
%exclude %{_datadir}/icons/hicolor/*/apps/kpager.png %exclude %{_datadir}/icons/hicolor/*/apps/kpager.png
# Pam configuration
%{_sysconfdir}/pam.d/*
%doc AUTHORS COPYING README %doc AUTHORS COPYING README
%{tde_docdir}/HTML/en/* %{tde_docdir}/HTML/en/*
%config(noreplace) %{_sysconfdir}/ksysguarddrc.tde %config(noreplace) %{_sysconfdir}/ksysguarddrc.tde
@ -321,7 +370,6 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%{_bindir}/konqueror %{_bindir}/konqueror
%{_bindir}/konsole %{_bindir}/konsole
%{_bindir}/krandom.kss %{_bindir}/krandom.kss
%{_bindir}/krandrtray
%{_bindir}/krdb %{_bindir}/krdb
%{_bindir}/kreadconfig %{_bindir}/kreadconfig
%{_bindir}/ksmserver %{_bindir}/ksmserver
@ -369,6 +417,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%{_bindir}/khc_mansearch.pl %{_bindir}/khc_mansearch.pl
%{_bindir}/kicker %{_bindir}/kicker
%{_bindir}/knetattach %{_bindir}/knetattach
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
%{_bindir}/krandrtray
%endif
%{_bindir}/kompmgr %{_bindir}/kompmgr
%{_bindir}/kpm %{_bindir}/kpm
%{_bindir}/ksplash %{_bindir}/ksplash
@ -398,12 +449,17 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%{tde_libdir}/* %{tde_libdir}/*
%{_libdir}/libkdeinit_*.* %{_libdir}/libkdeinit_*.*
%{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu %{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu
%if 0%{?fedora} >= 15 && "%{?_prefix}" != "/usr"
%exclude %{_sysconfdir}/xdg/menus/kde-information.menu
%else
%{_sysconfdir}/xdg/menus/kde-information.menu %{_sysconfdir}/xdg/menus/kde-information.menu
%endif
%{_sysconfdir}/xdg/menus/kde-screensavers.menu %{_sysconfdir}/xdg/menus/kde-screensavers.menu
%{_sysconfdir}/xdg/menus/kde-settings.menu %{_sysconfdir}/xdg/menus/kde-settings.menu
/usr/share/xsessions/*.desktop /usr/share/xsessions/*.desktop
# Remove conflicts with redhat-menus # Remove conflicts with redhat-menus
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
%{_bindir}/plasma-desktop
%config(noreplace) %{_datadir}/config/* %config(noreplace) %{_datadir}/config/*
%else %else
%exclude %{_datadir}/config %exclude %{_datadir}/config
@ -420,6 +476,8 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
# New in TDE 3.5.13 # New in TDE 3.5.13
%{_bindir}/krootbacking %{_bindir}/krootbacking
%{_bindir}/tsak
%attr(4511,root,root) %{_bindir}/kdmtsak
%files libs %files libs
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -455,6 +513,12 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%{_datadir}/cmake/*.cmake %{_datadir}/cmake/*.cmake
%changelog %changelog
* Sat Sep 03 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12.99-0 * Tue Nov 01 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
- Add 'patch8' to fix LD_PRELOAD variable set by 'startkde' under x86_64
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Sat Sep 03 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT - Import to GIT
- Use TDE 3.5.13, cmake, QT3.3.3.8d - Use TDE 3.5.13, cmake, QT3.3.3.8d

@ -27,7 +27,7 @@ Group: User Interface/Desktops
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://developer.kde.org/language-bindings/ URL: http://www.trinitydesktop.org/
Source0: kdebindings-%{version}.tar.gz Source0: kdebindings-%{version}.tar.gz
@ -211,6 +211,7 @@ done
%clean %clean
%__rm -rf $RPM_BUILD_ROOT %__rm -rf $RPM_BUILD_ROOT
%post %post
/sbin/ldconfig ||: /sbin/ldconfig ||:
touch --no-create %{_datadir}/icons/hicolor ||: touch --no-create %{_datadir}/icons/hicolor ||:
@ -265,7 +266,7 @@ update-desktop-database >& /dev/null ||:
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_includedir}/kde/* %{tde_includedir}/*
%{_libdir}/lib*.so %{_libdir}/lib*.so
%if "%{?_with_java:1}" == "1" %if "%{?_with_java:1}" == "1"
%{_libdir}/jni/*.so %{_libdir}/jni/*.so

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.13 %define version 3.5.13
%endif %endif
%define release 0 %define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -14,6 +14,7 @@
BuildRequires: autoconf automake libtool m4 BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde %define tde_docdir %{_docdir}/kde
%define tde_libdir %{_libdir}/trinity %define tde_libdir %{_libdir}/trinity
%define tde_includedir %{_includedir}/kde
Name: trinity-kdebindings Name: trinity-kdebindings
@ -26,7 +27,10 @@ Group: User Interface/Desktops
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://developer.kde.org/language-bindings/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdebindings-%{version}.tar.gz Source0: kdebindings-%{version}.tar.gz
@ -39,6 +43,8 @@ BuildRequires: trinity-kdelibs-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: trinity-arts-devel BuildRequires: trinity-arts-devel
BuildRequires: glib-devel gtk+-devel
BuildRequires: gtk2-devel
%define perl_ver %{expand:%%(eval `perl -V:version`; echo $version)} %define perl_ver %{expand:%%(eval `perl -V:version`; echo $version)}
%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} %define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)}
%define perl_vendorlib %{expand:%%(eval `perl -V:installvendorlib`; echo $installvendorlib)} %define perl_vendorlib %{expand:%%(eval `perl -V:installvendorlib`; echo $installvendorlib)}
@ -59,12 +65,16 @@ Provides: %{name}-dcoppython = %{version}-%{release}
## ruby ## ruby
BuildRequires: ruby-devel >= 1.8, ruby BuildRequires: ruby-devel >= 1.8, ruby
Provides: %{name}-ruby = %{version}-%{release} Provides: %{name}-ruby = %{version}-%{release}
%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')}
%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')} %{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')}
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')} %{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')}
## java ## java
#BuildRequires: java-1.4.2-gcj-compat-devel libgcj-devel gcc-java %if 0%{?rhel} && 0%{?rhel} < 6
BuildRequires: java-1.4.2-gcj-compat-devel libgcj-devel gcc-java
%else
BuildRequires: java-devel >= 1.4.2 BuildRequires: java-devel >= 1.4.2
%endif
%define java_home %{_usr}/lib/jvm/java %define java_home %{_usr}/lib/jvm/java
%define _with_java --with-java=%{java_home} %define _with_java --with-java=%{java_home}
Provides: %{name}-java = %{version}-%{release} Provides: %{name}-java = %{version}-%{release}
@ -114,13 +124,14 @@ unset JAVA_HOME ||:
export DO_NOT_COMPILE="$DO_NOT_COMPILE python" export DO_NOT_COMPILE="$DO_NOT_COMPILE python"
%configure \ %configure \
--includedir=%{_includedir}/kde \ --includedir=%{tde_includedir} \
--disable-rpath \ --disable-rpath \
--enable-new-ldflags \ --enable-new-ldflags \
--disable-debug --disable-warnings \ --disable-debug --disable-warnings \
--disable-dependency-tracking \ --disable-dependency-tracking \
--with-extra-libs=%{_libdir} \ --with-extra-libs=%{_libdir} \
--with-pythondir=%{_usr} \ --with-pythondir=%{_usr} \
--enable-closure \
--disable-final \ --disable-final \
%{?_with_java} %{!?_with_java:--without-java} \ %{?_with_java} %{!?_with_java:--without-java} \
%{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \ %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \
@ -145,10 +156,10 @@ popd
%install %install
%__rm -rf $RPM_BUILD_ROOT
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf $RPM_BUILD_ROOT
%make_install \ %__make install DESTDIR=%{?buildroot} \
PYTHON=%{__python} PYTHON=%{__python}
desktop-file-install \ desktop-file-install \
@ -175,14 +186,6 @@ fi
# locale's # locale's
%find_lang %{name} || touch %{name}.lang %find_lang %{name} || touch %{name}.lang
HTML_DIR=$(kde-config --expandvars --install html) HTML_DIR=$(kde-config --expandvars --install html)
# Fix HTML doc location in TDE 3.5.13
# (from 'share/doc/HTML' to 'share/doc/kde/HTML')
if [ ! -d $RPM_BUILD_ROOT$HTML_DIR ] && [ -d $RPM_BUILD_ROOT%{_docdir}/HTML ]; then
mkdir -p $RPM_BUILD_ROOT${HTML_DIR%/*}
mv -f $RPM_BUILD_ROOT%{_docdir}/HTML $RPM_BUILD_ROOT${HTML_DIR%/*}
fi
if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then
for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do
if [ -d $lang_dir ]; then if [ -d $lang_dir ]; then
@ -206,7 +209,8 @@ for dir in dcopperl dcoppython kalyptus %{?_with_java:kdejava qtjava} kjsembed k
done done
%clean %clean
rm -rf $RPM_BUILD_ROOT %__rm -rf $RPM_BUILD_ROOT
%post %post
/sbin/ldconfig ||: /sbin/ldconfig ||:
@ -246,17 +250,14 @@ update-desktop-database >& /dev/null ||:
#%{ruby_sitelib}/K* #%{ruby_sitelib}/K*
#%{ruby_sitelib}/Qt* #%{ruby_sitelib}/Qt*
%{_usr}/lib/ruby/*/* %{_usr}/lib/ruby/*/*
%if 0%{?fedora} >= 15 %{ruby_arch}/*.so.*
%{_usr}/lib64/ruby/*/*/*.so.* %doc %lang(en) %{_docdir}/HTML/en/javalib/*
%else
%{_usr}/lib64/ruby/*/*.so.*
%endif
# Excludes 'kjscmd' (conflicts with 'kdelibs' from RHEL6) # Excludes 'kjscmd' (conflicts with 'kdelibs' from RHEL6)
%if "%{?_prefix}" == "/usr" %if "%{?_prefix}" == "/usr"
%exclude %{_bindir}/kjscmd %exclude %{_bindir}/kjscmd
%exclude %{_mandir}/man1/kjscmd*
%endif %endif
%exclude %{_mandir}/man1/kjscmd*
%files dcopperl -f %{name}-dcopperl.list %files dcopperl -f %{name}-dcopperl.list
@ -266,21 +267,19 @@ update-desktop-database >& /dev/null ||:
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_includedir}/kde/* %{tde_includedir}/*
%{_libdir}/lib*.so %{_libdir}/lib*.so
%if "%{?_with_java:1}" == "1" %if "%{?_with_java:1}" == "1"
%{_libdir}/jni/*.so %{_libdir}/jni/*.so
%{_libdir}/jni/*.la %{_libdir}/jni/*.la
%endif %endif
%if 0%{?fedora} >= 15 %{ruby_arch}/*.so
%{_usr}/lib64/ruby/*/*/*.so %{ruby_arch}/*.la
%{_usr}/lib64/ruby/*/*/*.la
%else
%{_usr}/lib64/ruby/*/*.so
%{_usr}/lib64/ruby/*/*.la
%endif
%changelog %changelog
* Sat Sep 03 2011 Francois Andriot <francois.andriot@free.fr - 3.5.12.99.20110903-0 * Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Sat Sep 03 2011 Francois Andriot <francois.andriot@free.fr - 3.5.13-0
- Import to GIT - Import to GIT
- Built with future TDE version (3.5.13 + cmake + QT3.3.8d) - Built with future TDE version (3.5.13 + cmake + QT3.3.8d)

@ -0,0 +1,237 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.5.13
%endif
%define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.12 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-kdeedu
Summary: Educational/Edutainment applications
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2
Group: Amusements/Games
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdeedu-%{version}.tar.gz
Provides: kdeedu3 = %{version}-%{release}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: %{name}-libs = %{version}-%{release}
BuildRequires: desktop-file-utils
BuildRequires: trinity-kdelibs-devel
BuildRequires: python-devel python
BuildRequires: boost-devel
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
BuildRequires: ocaml(compiler)
%else
BuildRequires: ocaml
%endif
#BuildRequires: ocaml-facile-devel
%description
Educational/Edutainment applications, including:
* blinken: Simon Says Game
* kalzium: Periodic Table of Elements
* kanagram: Letter Order Game
* kbruch: Exercise Fractions
* keduca: Tests and Exams
* kgeography: Geography Trainer
* khangman: Hangman Game
* kig: Interactive Geometry
* kiten: Japanese Reference/Study Tool
* klatin: Latin Reviser
* klettres: French alphabet tutor
* kmplot: Mathematical Function Plotter
* kpercentage: Excersie Percentages
* kstars: Desktop Planetarium
* ktouch: Touch Typing Tutor
* kturtle: Logo Programming Environment
* kverbos: Study Spanish Verbforms
* kvoctrain: Vocabulary Trainer
* kwordquiz: Vocabulary Trainer
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Provides: kdeedu3-devel = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
%description devel
%{summary}.
%package libs
Summary: %{name} runtime libraries
Group: System Environment/Libraries
Requires: trinity-kdelibs
# include to be paranoid, installing libs-only is still mostly untested -- Rex
Requires: %{name} = %{version}-%{release}
%description libs
%{summary}.
%prep
%setup -q -n kdeedu
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%if 0%{?rhel} > 0
rm -rf doc/kgeography kgeography
perl -pi -e "s|kgeography||" subdirs
%endif
%__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}"
# Fix link with kparts
export CXXFLAGS="${CXXFLAGS} -lkparts"
%if 0%{?fedora}
export CXXFLAGS="${CXXFLAGS} -fpermissive"
%endif
%configure \
--enable-new-ldflags \
--disable-dependency-tracking \
--disable-rpath \
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
--enable-kig-python-scripting \
%else
--disable-kig-python-scripting \
%endif
--disable-debug \
--disable-warnings \
--enable-final \
--enable-closure \
--includedir=%{_includedir}/kde \
--disable-ocamlsolver \
--with-extra-includes=%{_includedir}/tqt
%__make \
OCAMLLIB=$(ocamlc -where) FACILELIB=$(ocamlc -where)
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
# locale's
%find_lang %{name} || touch %{name}.lang
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
done
popd
fi
done
fi
# rpmdocs
for dir in blinken k* ; do
for file in AUTHORS ChangeLog README TODO ; do
test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
done
done
%clean
%__rm -rf %{buildroot}
%post
for i in crystalsvg hicolor locolor ; do
touch --no-create %{_datadir}/icons/$i 2>/dev/null || :
gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || :
done
update-desktop-database >& /dev/null ||:
%postun
for i in crystalsvg hicolor locolor ; do
touch --no-create %{_datadir}/icons/$i 2>/dev/null || :
gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || :
done
update-desktop-database >& /dev/null ||:
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc README COPYING
%doc rpmdocs/*
%{_bindir}/*
%{_datadir}/applications/kde/*
# FIXME
%{_datadir}/applnk/Edutainment/
%{_datadir}/apps/*
%config %{_datadir}/config*/*
%{_datadir}/mimelnk/*/*
%{_datadir}/icons/crystalsvg/*/*/*
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/icons/locolor/*/*/*
%{_datadir}/services/*
%{tde_libdir}/*
%doc %lang(en) %{_docdir}/HTML/en/*
%files libs
%defattr(-,root,root,-)
%{_libdir}/lib*.so.*
%{_libdir}/lib*.la
%files devel
%defattr(-,root,root,-)
%doc libkdeedu/AUTHORS libkdeedu/README
%{tde_includedir}/*
%{_libdir}/lib*.so
%changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Sat Sep 09 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT

@ -0,0 +1,199 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.5.13
%endif
%define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.12 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-kdegames
Summary: Trinity Desktop Environment - Games
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2
Group: Amusements/Games
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: kdegames-%{version}.tar.gz
Provides: kdegames3 = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
BuildRequires: trinity-kdelibs-devel
%description
Games and gaming libraries for the K Desktop Environment.
Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg,
kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris,
ksnake, ksirtet, katomic, kjumpingcube, ktuberling.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
License: LGPLv2
Provides: kdegames3-devel = %{version}-%{release}
Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: trinity-kdelibs-devel
%description devel
%{summary}.
Install %{name}-devel if you wish to develop or compile games for the
KDE desktop.
%package libs
Summary: %{name} runtime libraries
Group: System Environment/Libraries
Requires: trinity-kdelibs
License: LGPLv2
# include to paranoid, installing libs-only is still mostly untested -- Rex
#Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description libs
%{summary}.
%prep
%setup -q -n kdegames
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%__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}"
%if 0%{?fedora} > 0
export CXXFLAGS="${CXXFLAGS} -lkio"
%endif
%configure \
--enable-new-ldflags \
--disable-dependency-tracking \
--disable-rpath \
--enable-final \
--disable-debug \
--disable-warnings \
--enable-closure \
--includedir=%{_includedir}/kde \
--disable-setgid \
--with-extra-includes=%{_includedir}/tqt
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
# locale's
%find_lang %{name} || touch %{name}.lang
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
done
popd
fi
done
fi
# rpmdocs
for dir in k* lskat ; do
for file in AUTHORS ChangeLog README TODO ; do
test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
done
done
%clean
%__rm -rf %{buildroot}
%post
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
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 || :
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS README COPYING
%doc rpmdocs/*
%{_bindir}/*
%{_datadir}/applications/kde/*.desktop
%{_datadir}/apps/*
%{_datadir}/config*/*
%{_datadir}/icons/crystalsvg/*/*/*
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/mimelnk/*/*
%{_datadir}/service*/*
%{tde_libdir}/*
%{_libdir}/libkdeinit_*.so
%doc %lang(en) %{_docdir}/HTML/en/*
%files libs
%defattr(-,root,root,-)
%{_libdir}/lib*.so.*
%{_libdir}/lib*.la
%files devel
%defattr(-,root,root,-)
%doc COPYING.LIB
%doc libkdegames/README libkdegames/TODO
%{tde_includedir}/*
%{_libdir}/lib*.so
%exclude %{_libdir}/libkdeinit_*.so
%changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Sat Sep 09 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT

@ -0,0 +1,11 @@
--- kdegraphics.ORI/kfile-plugins/dependencies/CMakeLists.txt 2011-07-31 08:24:04.000000000 +0200
+++ kdegraphics/kfile-plugins/dependencies/CMakeLists.txt 2011-10-30 14:42:03.000000000 +0100
@@ -9,4 +9,6 @@
#
#################################################
-add_subdirectory( poppler-tqt )
\ Pas de fin de ligne à la fin du fichier.
+if( WITH_PDF )
+ add_subdirectory( poppler-tqt )
+endif ( )

@ -0,0 +1,16 @@
diff -Nuar kdegraphics.ORI/kpovmodeler/ConfigureChecks.cmake kdegraphics/kpovmodeler/ConfigureChecks.cmake
--- kdegraphics.ORI/kpovmodeler/ConfigureChecks.cmake 2011-05-11 22:40:19.000000000 +0200
+++ kdegraphics/kpovmodeler/ConfigureChecks.cmake 2011-10-30 14:00:54.000000000 +0100
@@ -12,7 +12,10 @@
# glu
pkg_search_module( GLU glu )
if( NOT GLU_FOUND )
- tde_message_fatal( "glu is required, but was not found on your system" )
+ check_include_file ( GL/glu.h HAVE_GLU )
+ if( NOT HAVE_GLU )
+ tde_message_fatal( "glu is required, but was not found on your system" )
+ endif ( )
endif( )
kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/build.make

@ -0,0 +1,10 @@
--- kdegraphics/kpovmodeler/ConfigureChecks.cmake.ORI 2011-11-02 21:57:05.000000000 +0100
+++ kdegraphics/kpovmodeler/ConfigureChecks.cmake 2011-11-02 21:57:49.000000000 +0100
@@ -16,6 +16,7 @@
if( NOT HAVE_GLU )
tde_message_fatal( "glu is required, but was not found on your system" )
endif ( )
+ set( GLU_LIBRARIES "-lGL -lGLU" )
endif( )

@ -0,0 +1,11 @@
diff -Nuar kdegraphics.ORI/ksnapshot/CMakeLists.txt kdegraphics/ksnapshot/CMakeLists.txt
--- kdegraphics.ORI/ksnapshot/CMakeLists.txt 2011-05-11 23:29:40.000000000 +0200
+++ kdegraphics/ksnapshot/CMakeLists.txt 2011-10-31 15:45:47.107958154 +0100
@@ -40,6 +40,6 @@
SOURCES
ksnapshotiface.skel main.cpp ksnapshot.cpp regiongrabber.cpp
windowgrabber.cpp ksnapshotwidget.ui
- LINK kdeprint-shared
+ LINK kdeprint-shared Xext
DESTINATION ${BIN_INSTALL_DIR}
)

@ -0,0 +1,11 @@
--- kdegraphics.ORI/kpdf/xpdf/aconf.h 2011-04-27 19:32:57.000000000 +0200
+++ kdegraphics/kpdf/xpdf/aconf.h 2011-10-30 14:54:24.000000000 +0100
@@ -7,7 +7,7 @@
#define HAVE_FREETYPE_FREETYPE_H HAVE_FREETYPE
#define OPI_SUPPORT 0
#define TEXTOUT_WORD_LIST 0
-#define HAVE_MKSTEMPS 1 //libkdefakes provides it
+#define HAVE_MKSTEMPS 0
#define HAVE_SPLASH 1
#define SPLASH_CMYK 1
#define HAVE_XPDFCORE 0

@ -0,0 +1,372 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.5.13
%endif
%define release 2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.13 specific building variables
BuildRequires: cmake >= 2.8
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-kdegraphics
Version: %{?version}
Release: %{?release}%{?dist}%{_variant}
License: GPL
Summary: K Desktop Environment - Graphics Applications
Group: Applications/Multimedia
Prefix: %{_prefix}
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdegraphics-%{version}.tar.gz
# TDE 3.5.13
## RHEL / Fedora specific patches
### [kdegraphics/ksnapshot] Missing -lXext in LDFLAGS (required for Fedora 15)
Patch0: kdegraphics-3.5.13-ksnapshot_ldflags.patch
### [kdegraphics/kpovmodeler] CMAKE does not detect GL/glu.h (on RHEL5)
Patch1: kdegraphics-3.5.13-kpovmodeler_check_glu.patch
### [kdegraphics/kfile-plugins/dependencies/poppler-tqt] Compile 'poppler-tqt' only if HAVE_POPPLER_016
Patch2: kdegraphics-3.5.13-disable_poppler.patch
### [kdegraphics/kpdf/xpdf] Disable 'mkstemps' support for RHEL5
Patch3: kdegraphics-3.5.13-xpdf_disable_mkstemps.patch
### [kdegraphics/kpovmodeler] CMAKE missing GLU_LIBRARIES
Patch4: kdegraphics-3.5.13-kpovmodeler_missing_gl_ldflags.patch
BuildRequires: tqtinterface-devel
BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdebase-devel
BuildRequires: gettext
BuildRequires: libmng-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: libungif-devel
BuildRequires: automake libtool
BuildRequires: gphoto2-devel
BuildRequires: sane-backends-devel
BuildRequires: libusb-devel
BuildRequires: t1lib-devel
BuildRequires: libdrm-devel
# kgamma
BuildRequires: libXxf86vm-devel
# kuickshow
BuildRequires: imlib-devel
#kfile-plugin
BuildRequires: OpenEXR-devel
# kpdf
BuildRequires: freetype-devel
BuildRequires: poppler-devel
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
BuildRequires: poppler-qt-devel
%endif
BuildRequires: libpaper-devel
# ksvg
BuildRequires: fontconfig-devel
BuildRequires: fribidi-devel
BuildRequires: lcms-devel
BuildRequires: libart_lgpl-devel
BuildRequires: libXmu-devel
# kpovmodeler
BuildRequires: libGL-devel libGLU-devel libXi-devel
Requires: tqtinterface
Requires: trinity-arts
Requires: trinity-kdelibs
Requires: ghostscript
Requires: %{name}-libs = %{version}-%{release}
%if "%{_prefix}" == "/usr"
Provides: kdegraphics3 = %{version}-%{release}
Conflicts: kdegraphics
%endif
%description
Graphics applications for the K Desktop Environment, including
* kamera (digital camera support)
* kcoloredit (palette editor and color chooser)
* kdvi (displays TeX .dvi files)
* kghostview (displays postscript files)
* kiconedit (icon editor)
* kooka (scanner application)
* kpdf (displays PDF files)
* kruler (screen ruler and color measurement tool)
* ksnapshot (screen capture utility)
* kview (image viewer for GIF, JPEG, TIFF, etc.)
%package devel
Summary: Development files for %{name}
Provides: kdegraphics3-devel = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
Group: Development/Libraries
%description devel
%{summary}.
## FIXME: move more stuff to -extras
%package extras
Summary: Extra applications from %{name}
Group: Applications/Multimedia
Requires: %{name}-libs = %{version}-%{release}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%description extras
%{summary}, including:
* kfax
* kfaxview
* kpovmodler
%package libs
Summary: %{name} runtime libraries
Group: System Environment/Libraries
Requires: trinity-kdelibs >= %{version}
# include to be paranoid, installing libs-only is still mostly untested -- Rex
Requires: %{name} = %{version}-%{release}
%description libs
%{summary}.
%prep
%setup -q -n kdegraphics
%patch0 -p1
%patch1 -p1
%patch2 -p1
%if 0%{?rhel} && 0%{?rhel} <= 5
%patch3 -p1
%endif
%patch4 -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_T1LIB=ON \
-DWITH_LIBPAPER=ON \
-DWITH_TIFF=ON \
-DWITH_OPENEXR=ON \
%if 0%{?rhel} && 0%{?rhel} <= 5
-DWITH_PDF=OFF \
%else
-DWITH_PDF=ON \
%endif
-DBUILD_ALL=ON \
..
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build
# locale's
%find_lang %{name} || touch %{name}.lang
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
done
popd
fi
done
fi
# rpmdocs
for dir in k* ; do
for file in AUTHORS ChangeLog README TODO ; do
if test -s "$dir/$file" ; then
install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
echo "%doc rpmdocs/$dir/" >> %{name}.lang
fi
done
done
# unpackaged files
# omit kpovmodeler-devel files (for now) -- Rex
rm -f %{buildroot}/libkpovmodeler.so
%clean
%__rm -rf %{buildroot}
%post
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
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 || :
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%post extras
/sbin/ldconfig ||:
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
/sbin/ldconfig ||:
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,-)
# kfax
%doc rpmdocs/kfax/
%{_bindir}/kfax
%{_datadir}/applications/kde/kfax.desktop
%{_datadir}/apps/kfax/
%{_datadir}/icons/hicolor/??x??/apps/kfax.png
%{_datadir}/icons/hicolor/scalable/apps/kfax.svgz
# kfaxview
%{_bindir}/kfaxview
%{_libdir}/libkfaximage.so
%{_libdir}/libkfaximage.la
%{tde_libdir}/kfaxviewpart.*
%{_datadir}/applications/kde/kfaxview.desktop
%{_datadir}/apps/kfaxview/
%{_datadir}/icons/hicolor/??x??/apps/kfaxview.png
%{_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz
%{_datadir}/services/kfaxmultipage.desktop
%{_datadir}/services/kfaxmultipage_tiff.desktop
# kpovmodeler
%doc rpmdocs/kpovmodeler/
%doc %{tde_docdir}/HTML/en/kpovmodeler/
%{_bindir}/kpovmodeler
%{_libdir}/libkpovmodeler.so.*
%{_libdir}/libkpovmodeler.la
%{tde_libdir}/libkpovmodelerpart.*
%{_datadir}/applications/kde/kpovmodeler.desktop
%{_datadir}/apps/kpovmodeler/
%{_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.*
%{_datadir}/icons/hicolor/*/apps/kpovmodeler.*
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%doc rpmdocs/*
# kfax
%exclude %{_bindir}/kfax
%exclude %{_datadir}/applications/kde/kfax.desktop
%exclude %{_datadir}/apps/kfax/
%exclude %{_datadir}/icons/hicolor/*/apps/kfax.*
# kfaxview
%exclude %{_bindir}/kfaxview
%exclude %{_libdir}/libkfaximage.so
%exclude %{_libdir}/libkfaximage.la
%exclude %{tde_libdir}/kfaxviewpart.*
%exclude %{_datadir}/applications/kde/kfaxview.desktop
%exclude %{_datadir}/apps/kfaxview/
%exclude %{_datadir}/icons/hicolor/*/apps/kfaxview.*
%exclude %{_datadir}/services/kfaxmultipage.desktop
%exclude %{_datadir}/services/kfaxmultipage_tiff.desktop
# kpovmodeler
%exclude %{tde_docdir}/HTML/en/kpovmodeler/
%exclude %{_bindir}/kpovmodeler
%exclude %{_libdir}/libkpovmodeler.*
%exclude %{tde_libdir}/libkpovmodelerpart.*
%exclude %{_datadir}/applications/kde/kpovmodeler.desktop
%exclude %{_datadir}/apps/kpovmodeler/
%exclude %{_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.*
%exclude %{_datadir}/icons/hicolor/*/apps/kpovmodeler.*
%{_bindir}/*
%{_datadir}/applications/kde/*.desktop
%{_datadir}/applnk/Graphics/*kruler.desktop
%{_datadir}/apps/*
%{_datadir}/icons/crystalsvg/*/*/*
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/config*/*
%{_datadir}/service*/*
%{_datadir}/mimelnk/*/*
%{_libdir}/libkdeinit_*.so
%{tde_libdir}/*
%doc %lang(en) %{tde_docdir}/HTML/en/*
%files libs
%defattr(-,root,root,-)
%exclude %{_libdir}/libkfaximage.la
%exclude %{_libdir}/libkpovmodeler.la
%exclude %{_libdir}/libkpovmodeler.so.*
%{_libdir}/lib*.so.*
%{_libdir}/lib*.la
# Why ???
%{_libdir}/libdjvu.so
%files devel
%defattr(-,root,root,-)
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
%{tde_includedir}/*
%endif
%{_includedir}/dom/*
%{_includedir}/ksvg/*
%{_includedir}/kviewshell/*
%{_includedir}/libtext2path-0.1/*
%{_includedir}/kmultipageInterface.h
%{_datadir}/cmake/*.cmake
%{_libdir}/lib*.so
#exclude %{_libdir}/libkpovmodeler.so
%exclude %{_libdir}/libkfaximage.so
%exclude %{_libdir}/libkdeinit_*.so
%exclude %{_libdir}/libdjvu.so
%changelog
* Wed Nov 02 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
- Fix kpovmodeler compilation on RHEL 5 (patch4)
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
- RHEL 5 build has some features disabled (see patches)
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.13 %define version 3.5.13
%endif %endif
%define release 0 %define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -15,69 +15,91 @@ BuildRequires: cmake >= 2.8
%define tde_docdir %{_docdir}/kde %define tde_docdir %{_docdir}/kde
%define tde_libdir %{_libdir}/trinity %define tde_libdir %{_libdir}/trinity
# Older RHEL/Fedora versions use packages named "qt", "qt-devel", ..
# whereas newer versions use "qt3", "qt3-devel" ...
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8
%define _qt_suffix 3
%endif
Name: trinity-kdelibs Name: trinity-kdelibs
Version: %{version} Version: %{version}
Release: %{?release}%{?dist}%{?_variant} Release: %{?release}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: Trinity KDE Libraries Summary: TDE Libraries
Group: System Environment/Libraries
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Source0: kdelibs-%{version}.tar.gz
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdelibs-%{version}.tar.gz
BuildRequires: libtool BuildRequires: libtool
BuildRequires: tqtinterface-devel BuildRequires: tqtinterface-devel
BuildRequires: trinity-arts-devel BuildRequires: trinity-arts-devel
BuildRequires: qt3-devel BuildRequires: avahi-devel
BuildRequires: avahi-devel avahi-qt3-devel BuildRequires: lua-devel
#BuildRequires: lua-devel
BuildRequires: krb5-devel libxslt-devel cups-devel libart_lgpl-devel pcre-devel BuildRequires: krb5-devel libxslt-devel cups-devel libart_lgpl-devel pcre-devel
BuildRequires: libutempter-devel BuildRequires: libutempter-devel
BuildRequires: bzip2-devel BuildRequires: bzip2-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: gcc-c++
Requires: tqtinterface BuildRequires: alsa-lib-devel
Requires: trinity-arts BuildRequires: libidn-devel
Requires: qt3 BuildRequires: qt%{?_qt_suffix}-devel
Requires: avahi avahi-qt3 BuildRequires: avahi-qt3-devel
BuildRequires: jasper-devel
Requires: tqtinterface
Requires: trinity-arts
Requires: avahi
Requires: qt%{?_qt_suffix}
Requires: avahi-qt3
%if "%{?_prefix}" == "/usr" %if "%{?_prefix}" == "/usr"
Obsoletes: kdelibs3 Obsoletes: kdelibs%{?_qt_suffix}
%endif %endif
%description %description
Libraries for the Trinity K Desktop Environment Libraries for the Trinity Desktop Environment:
KDE Libraries included: kdecore (KDE core library), kdeui (user interface),
kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking),
kspell (spelling checker), jscript (javascript), kab (addressbook),
kimgio (image manipulation).
%package devel %package devel
Requires: %{name}
Summary: %{name} - Development files Summary: %{name} - Development files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%if "%{?_prefix}" == "/usr" %if "%{?_prefix}" == "/usr"
Obsoletes: kdelibs3-devel Obsoletes: kdelibs%{?_qt_suffix}-devel
%endif %endif
%description devel %description devel
Development files for %{name} This package includes the header files you will need to compile
applications for TDE.
%package apidocs %package apidocs
Requires: %{name} Group: Development/Libraries
Summary: %{name} - API documentation Summary: %{name} - API documentation
Requires: %{name} = %{version}-%{release}
%if "%{?_prefix}" == "/usr"
Obsoletes: kdelibs%{?_qt_suffix}-apidocs-devel
%endif
%description apidocs %description apidocs
This package includes the KDE 3 API documentation in HTML This package includes the TDE API documentation in HTML
format for easy browsing format for easy browsing
%prep %prep
%setup -q -n kdelibs %setup -q -n kdelibs
# Gets the cmake modules in current build directory
%__mkdir_p cmake/modules
%__cp -f %{_datadir}/cmake/*.* cmake/modules
%build %build
unset QTDIR || : ; . /etc/profile.d/qt.sh unset QTDIR || : ; . /etc/profile.d/qt.sh
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
@ -109,17 +131,17 @@ cd build
%install %install
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%__mkdir_p %{?buildroot} %__make install DESTDIR=%{?buildroot} -C build
%make_install -C build
%__mkdir_p %{?buildroot}%{_sysconfdir}/ld.so.conf.d %__mkdir_p %{?buildroot}%{_sysconfdir}/ld.so.conf.d
cat <<EOF >%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf cat <<EOF >%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
%{_libdir} %{_libdir}
%endif %endif
%{_libdir}/trinity %{tde_libdir}
EOF EOF
%clean %clean
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
@ -259,6 +281,9 @@ EOF
%changelog %changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Wed Sep 02 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13pre.svn20110902-0.el6 * Wed Sep 02 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13pre.svn20110902-0.el6
- Import to GIT - Import to GIT
- Built with future TDE version (3.5.13 + cmake + QT3.3.8d) - Built with future TDE version (3.5.13 + cmake + QT3.3.8d)

@ -0,0 +1,264 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.5.13
%endif
%define release 0
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.13 specific variables
BuildRequires: cmake >= 2.8
%define tde_docdir %{_docdir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-kdelibs
Version: %{version}
Release: %{?release}%{?dist}%{?_variant}
License: GPL
Summary: Trinity KDE Libraries
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Source0: kdelibs-%{version}.tar.gz
Prefix: %{_prefix}
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
# Gets the cmake modules in current build directory
%__mkdir_p cmake/modules
%__cp -f %{_datadir}/cmake/*.* cmake/modules
%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
%{tde_libdir}/
%{_datadir}/applications/kde/*.desktop
%{_datadir}/autostart/kab2kabc.desktop
%{_datadir}/applnk/kio_iso.desktop
%{_datadir}/apps/*
%exclude %{_datadir}/apps/ksgmltools2/
%config(noreplace) %{_datadir}/config/*
%{_datadir}/emoticons/*
%{_datadir}/icons/default.kde
%{_datadir}/mimelnk/magic
%{_datadir}/mimelnk/*/*.desktop
%{_datadir}/services/*
%{_datadir}/servicetypes/*
%{_datadir}/icons/crystalsvg/
%{tde_docdir}/HTML/en/kspell
# remove conflicts with kdelibs-4
%if "%{?_prefix}" != "/usr"
%{_bindir}/checkXML
%{_bindir}/ksvgtopng
%{_bindir}/kunittestmodrunner
%{_bindir}/preparetips
%{_datadir}/icons/hicolor/index.theme
%{_datadir}/locale/all_languages
%{tde_docdir}/HTML/en/common/*
%else
%exclude %{_bindir}/checkXML
%exclude %{_bindir}/ksvgtopng
%exclude %{_bindir}/kunittestmodrunner
%exclude %{_bindir}/preparetips
%exclude %{_datadir}/config/colors
%exclude %{_datadir}/config/kdebug.areas
%exclude %{_datadir}/config/kdebugrc
%exclude %{_datadir}/config/ksslcalist
%exclude %{_datadir}/config/ui/ui_standards.rc
%exclude %{_datadir}/icons/hicolor/index.theme
%exclude %{_datadir}/locale/all_languages
%exclude %{tde_docdir}/HTML/en/common/*
%endif
%{_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}/
#%{tde_docdir}/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)

@ -43,6 +43,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdemultimedia-%{version}.tar.gz Source0: kdemultimedia-%{version}.tar.gz
Provides: kdemultimedia3 = %{version}-%{release}
# RedHat Legacy patches (from Fedora 8) # RedHat Legacy patches (from Fedora 8)
Patch3: kdemultimedia-3.4.0-xdg.patch Patch3: kdemultimedia-3.4.0-xdg.patch
Patch5: kdemultimedia-3.5.7-pthread.patch Patch5: kdemultimedia-3.5.7-pthread.patch
@ -159,7 +161,8 @@ export CXXFLAGS="${CXXFLAGS} -lDCOP"
%{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \ %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \
%{?_with_taglib} %{!?_with_taglib:--without-taglib} \ %{?_with_taglib} %{!?_with_taglib:--without-taglib} \
%{?_with_xine} %{!?_with_xine:--without-xine} \ %{?_with_xine} %{!?_with_xine:--without-xine} \
--with-extra-includes=%{_usr}/include/cdda:%{_includedir}/tqt --with-extra-includes=%{_usr}/include/cdda:%{_includedir}/tqt \
--enable-closure
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
@ -172,7 +175,7 @@ export PATH="%{_bindir}:${PATH}"
%__make install DESTDIR=%{?buildroot} -C kaudiocreator %__make install DESTDIR=%{?buildroot} -C kaudiocreator
## Remove/uninstall (conflicting) bits we don't want ## Remove/uninstall (conflicting) bits we don't want
rm -f $RPM_BUILD_ROOT%{_libdir}/mcop/akode*MPEGPlayObject.mcopclass %__rm -f $RPM_BUILD_ROOT%{_libdir}/mcop/akode*MPEGPlayObject.mcopclass
# only show in KDE, really? -- Rex (FIXME) # only show in KDE, really? -- Rex (FIXME)
for f in %{buildroot}%{appdir}/*.desktop ; do for f in %{buildroot}%{appdir}/*.desktop ; do
@ -217,6 +220,7 @@ done
%post %post
/sbin/ldconfig
for f in crystalsvg hicolor locolor ; do for f in crystalsvg hicolor locolor ; do
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
@ -224,6 +228,7 @@ done
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%postun %postun
/sbin/ldconfig
for f in crystalsvg hicolor locolor ; do for f in crystalsvg hicolor locolor ; do
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.13 %define version 3.5.13
%endif %endif
%define release 0 %define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -38,8 +38,10 @@ Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdemultimedia-%{version}.tar.gz Source0: kdemultimedia-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: kdemultimedia3 = %{version}-%{release} Provides: kdemultimedia3 = %{version}-%{release}
@ -47,10 +49,15 @@ Provides: kdemultimedia3 = %{version}-%{release}
Patch3: kdemultimedia-3.4.0-xdg.patch Patch3: kdemultimedia-3.4.0-xdg.patch
Patch5: kdemultimedia-3.5.7-pthread.patch Patch5: kdemultimedia-3.5.7-pthread.patch
Provides: kdemultimedia3 = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
BuildRequires: zlib-devel BuildRequires: trinity-arts-devel
BuildRequires: trinity-kdelibs-devel BuildRequires: trinity-kdelibs-devel
BuildRequires: zlib-devel
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
BuildRequires: audiofile-devel BuildRequires: audiofile-devel
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -64,6 +71,8 @@ BuildRequires: automake libtool
%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel} %{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel}
%{?_with_taglib:BuildRequires: taglib-devel} %{?_with_taglib:BuildRequires: taglib-devel}
%{?_with_xine:BuildRequires: xine-lib-devel} %{?_with_xine:BuildRequires: xine-lib-devel}
BuildRequires: libXxf86dga-devel
BuildRequires: libXxf86vm-devel
%description %description
The K Desktop Environment (KDE) is a GUI desktop for the X Window The K Desktop Environment (KDE) is a GUI desktop for the X Window
@ -93,14 +102,7 @@ noatun plugins.
%package extras %package extras
Summary: Extra applications from %{name} Summary: Extra applications from %{name}
Group: Applications/Multimedia Group: Applications/Multimedia
%if 0%{?libs}
Requires: %{name}-extras-libs = %{version}-%{release} Requires: %{name}-extras-libs = %{version}-%{release}
%else
Obsoletes: %{name}-extras-libs < %{version}-%{release}
Provides: %{name}-extras-libs = %{version}-%{release}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%endif
%description extras %description extras
%{summary}, including: %{summary}, including:
* juk, a media player * juk, a media player
@ -141,14 +143,9 @@ sed -i admin/acinclude.m4.in \
%build %build
unset QTDIR || : ; . /etc/profile.d/qt.sh unset QTDIR || : ; . /etc/profile.d/qt.sh
# just to be paranoid -- Rex
unset QTDIR || : ; . /etc/profile.d/qt.sh
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
export LDFLAGS="-L%{_libdir} -I%{_includedir}" export LDFLAGS="-L%{_libdir} -I%{_includedir}"
export CXXFLAGS="${LDFLAGS} $(pkg-config --libs gsl)"
%configure \ %configure \
--enable-new-ldflags \ --enable-new-ldflags \
--disable-dependency-tracking \ --disable-dependency-tracking \
@ -168,19 +165,19 @@ export CXXFLAGS="${LDFLAGS} $(pkg-config --libs gsl)"
%{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \ %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \
%{?_with_taglib} %{!?_with_taglib:--without-taglib} \ %{?_with_taglib} %{!?_with_taglib:--without-taglib} \
%{?_with_xine} %{!?_with_xine:--without-xine} \ %{?_with_xine} %{!?_with_xine:--without-xine} \
--with-extra-includes=%{_usr}/include/cdda:%{_includedir}/tqt --with-extra-includes=%{_usr}/include/cdda:%{_includedir}/tqt \
--enable-closure
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
%install %install
%__rm -rf %{buildroot} export PATH="%{_bindir}:${PATH}"
%__rm -rf %{?buildroot}
%make_install %__make install DESTDIR=%{buildroot}
%make_install -C kaudiocreator
## Remove/uninstall (conflicting) bits we don't want ## Remove/uninstall (conflicting) bits we don't want
rm -f $RPM_BUILD_ROOT%{_libdir}/mcop/akode*MPEGPlayObject.mcopclass %__rm -f $RPM_BUILD_ROOT%{_libdir}/mcop/akode*MPEGPlayObject.mcopclass
# only show in KDE, really? -- Rex (FIXME) # only show in KDE, really? -- Rex (FIXME)
for f in %{buildroot}%{appdir}/*.desktop ; do for f in %{buildroot}%{appdir}/*.desktop ; do
@ -225,7 +222,7 @@ done
%post %post
%{?libs:/sbin/ldconfig} /sbin/ldconfig
for f in crystalsvg hicolor locolor ; do for f in crystalsvg hicolor locolor ; do
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
@ -233,14 +230,13 @@ done
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%postun %postun
%{?libs:/sbin/ldconfig} /sbin/ldconfig
for f in crystalsvg hicolor locolor ; do for f in crystalsvg hicolor locolor ; do
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
done done
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%if 0%{?libs}
%post libs -p /sbin/ldconfig %post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig
@ -248,10 +244,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%post extras-libs -p /sbin/ldconfig %post extras-libs -p /sbin/ldconfig
%postun extras-libs -p /sbin/ldconfig %postun extras-libs -p /sbin/ldconfig
%endif
%post extras %post extras
%{?libs:/sbin/ldconfig} /sbin/ldconfig
for f in crystalsvg hicolor ; do for f in crystalsvg hicolor ; do
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
@ -259,7 +254,7 @@ done
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%postun extras %postun extras
%{?libs:/sbin/ldconfig} /sbin/ldconfig
for f in crystalsvg hicolor ; do for f in crystalsvg hicolor ; do
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
@ -357,6 +352,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%{_libdir}/mcop/* %{_libdir}/mcop/*
%{_libdir}/libkdeinit_*.so %{_libdir}/libkdeinit_*.so
#%{_libdir}/liboggarts.so #%{_libdir}/liboggarts.so
%{_libdir}/libmpeg-0.3.0.so
%{_libdir}/libyafcore.so
%{_libdir}/libyafxplayer.so
%{tde_libdir}/* %{tde_libdir}/*
%{_libdir}/kconf_update_bin/* %{_libdir}/kconf_update_bin/*
%{_bindir}/* %{_bindir}/*
@ -372,6 +370,16 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%{_datadir}/services/* %{_datadir}/services/*
%{_datadir}/servicetypes/* %{_datadir}/servicetypes/*
# Misc HTML docs
%doc %lang(en) %{tde_docdir}/HTML/en/artsbuilder
%doc %lang(en) %{tde_docdir}/HTML/en/kaudiocreator
%doc %lang(en) %{tde_docdir}/HTML/en/kioslave/audiocd.docbook
%doc %lang(en) %{tde_docdir}/HTML/en/kmid
%doc %lang(en) %{tde_docdir}/HTML/en/kmix
%doc %lang(en) %{tde_docdir}/HTML/en/krec
%doc %lang(en) %{tde_docdir}/HTML/en/kscd
%files libs %files libs
%defattr(-,root,root,-) %defattr(-,root,root,-)
%exclude %{_libdir}/libnoatun*.* %exclude %{_libdir}/libnoatun*.*
@ -388,9 +396,14 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%exclude %{_libdir}/libnoatunarts.* %exclude %{_libdir}/libnoatunarts.*
#exclude %{_libdir}/liboggarts.so #exclude %{_libdir}/liboggarts.so
%exclude %{_libdir}/libwinskinvis.so %exclude %{_libdir}/libwinskinvis.so
%exclude %{_libdir}/libmpeg-0.3.0.so
%exclude %{_libdir}/libyafcore.so
%exclude %{_libdir}/libyafxplayer.so
%changelog %changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Sat Sep 09 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0 * Sat Sep 09 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Initial build for RHEL 6 - Import to GIT
- Spec file based on Fedora 8 "kdemultimedia-6:3.5.10-2" - Spec file based on Fedora 8 "kdemultimedia-6:3.5.10-2"

@ -0,0 +1,26 @@
--- kdenetwork-3.2.3/kppp/connect.cpp.orig 2004-07-01 16:03:52.861908057 +0200
+++ kdenetwork-3.2.3/kppp/connect.cpp 2004-07-01 16:33:35.943692521 +0200
@@ -1399,9 +1399,13 @@
void addpeerdns() {
int fd, fd2;
+ QString p = "/var/run/ppp/resolv.conf";
+
+ if (!QFile::exists(p))
+ p = "/etc/ppp/resolv.conf";
if((fd = Requester::rq->openResolv(O_WRONLY|O_APPEND)) >= 0) {
- if((fd2 = open("/etc/ppp/resolv.conf", O_RDONLY)) >= 0) {
+ if((fd2 = open(p.latin1(), O_RDONLY)) >= 0) {
char c;
int i = 0;
while(i++ < 100 && read(fd2, &c, 1) == 1) {
@@ -1412,7 +1416,7 @@
}
close(fd2);
} else
- fprintf(stderr, "failed to read from /etc/ppp/resolv.conf\n");
+ fprintf(stderr, "failed to read from %s\n", p.latin1());
close(fd);
}
add_domain(gpppdata.domain());

@ -0,0 +1,9 @@
diff -up kdenetwork-3.5.8/kppp/Kppp.desktop.kppp kdenetwork-3.5.8/kppp/Kppp.desktop
--- kdenetwork-3.5.8/kppp/Kppp.desktop.kppp 2007-10-08 04:49:13.000000000 -0500
+++ kdenetwork-3.5.8/kppp/Kppp.desktop 2007-10-13 16:03:03.000000000 -0500
@@ -66,5 +66,4 @@ Path=
Type=Application
Terminal=false
X-KDE-StartupNotify=true
-X-DCOP-ServiceType=Multi
Categories=Qt;KDE;Network;Dialup;

@ -0,0 +1,33 @@
diff -ur kdenetwork-orig/krfb/krfb_httpd/krfb_httpd kdenetwork-3.5.9/krfb/krfb_httpd/krfb_httpd
--- kdenetwork-orig/krfb/krfb_httpd/krfb_httpd 2007-05-14 09:40:05.000000000 +0200
+++ kdenetwork-3.5.9/krfb/krfb_httpd/krfb_httpd 2008-02-26 12:43:21.000000000 +0100
@@ -6,17 +6,14 @@
fi
read request url httptype || exit 0
-url="${url/
-/}"
-httptype="${httptype/
-/}"
+url="${url/ /}"
+httptype="${httptype/ /}"
if [ "x$httptype" != "x" ]; then
line="x"
while [ -n "$line" ]; do
read line || exit 0
- line="${line/
-/}"
+ line="${line/ /}"
done
fi
# echo "url = $url, request = $request" >> /tmp/httpd.log
@@ -38,7 +35,7 @@
content="
<HTML><HEAD><TITLE>$LOGNAME's desktop</TITLE></HEAD>
<BODY>
-<APPLET CODE=VncViewer.class ARCHIVE=VncViewer.jar WIDTH=$width HEIGHT=$height>
+<APPLET CODE=vncviewer/VNCViewer.class ARCHIVE=vncviewer.jar WIDTH=$width HEIGHT=$height>
<param name=PORT value=$port>
</APPLET>
</BODY></HTML>"

@ -0,0 +1,57 @@
*** kdenetwork/kopete/protocols/testbed/testbedaccount.h.ORI 2011-08-24 00:30:58.403965000 +0200
--- kdenetwork/kopete/protocols/testbed/testbedaccount.h 2011-08-24 00:31:29.706965000 +0200
***************
*** 59,65 ****
/**
* 'Connect' to the testbed server. Only sets myself() online.
*/
! virtual void connect( const Kopete::OnlineStatus& initialStatus = Kopete::OnlineStatus::OnlineStatus() );
/**
* Disconnect from the server. Only sets myself() offline.
*/
--- 59,65 ----
/**
* 'Connect' to the testbed server. Only sets myself() online.
*/
! virtual void connect( const Kopete::OnlineStatus& initialStatus = Kopete::OnlineStatus() );
/**
* Disconnect from the server. Only sets myself() offline.
*/
*** kdenetwork/kopete/kopete/contactlist/kopetegroupviewitem.cpp.ORI 2011-08-24 00:28:22.080965001 +0200
--- kdenetwork/kopete/kopete/contactlist/kopetegroupviewitem.cpp 2011-08-24 00:28:36.149965002 +0200
***************
*** 175,181 ****
// the sorting itself is rather slow. Therefore we call delayedSort, which tries
// to group multiple sort requests into one.
using namespace Kopete::UI::ListView;
! if ( ListView::ListView *lv = dynamic_cast<ListView::ListView *>( listView() ) )
lv->delayedSort();
else
listView()->sort();
--- 175,181 ----
// the sorting itself is rather slow. Therefore we call delayedSort, which tries
// to group multiple sort requests into one.
using namespace Kopete::UI::ListView;
! if ( ListView *lv = dynamic_cast<ListView *>( listView() ) )
lv->delayedSort();
else
listView()->sort();
*** kdenetwork/kopete/kopete/chatwindow/krichtexteditpart.cpp.ORI 2011-08-24 00:29:00.953965001 +0200
--- kdenetwork/kopete/kopete/chatwindow/krichtexteditpart.cpp 2011-08-24 00:29:21.080965001 +0200
***************
*** 38,44 ****
KopeteRichTextEditPart::KopeteRichTextEditPart( TQWidget *wparent, const char *wname, TQObject*, const char*, const TQStringList& )
: KParts::ReadOnlyPart( wparent, wname ? wname : "rich_text_part" )
{
! KopeteRichTextEditPart::KopeteRichTextEditPart( wparent, wname, false );
}
KopeteRichTextEditPart::KopeteRichTextEditPart( TQWidget *parent, const char *name, int capabilities )
--- 38,44 ----
KopeteRichTextEditPart::KopeteRichTextEditPart( TQWidget *wparent, const char *wname, TQObject*, const char*, const TQStringList& )
: KParts::ReadOnlyPart( wparent, wname ? wname : "rich_text_part" )
{
! KopeteRichTextEditPart( wparent, wname, false );
}
KopeteRichTextEditPart::KopeteRichTextEditPart( TQWidget *parent, const char *name, int capabilities )

@ -0,0 +1,4 @@
#%PAM-1.0
auth include config-util
account include config-util
session include config-util

@ -0,0 +1,12 @@
# default: off
# description: KDE version of the talk server (accepting talk requests
# for chatting with users on other systems).
service ntalk
{
disable = yes
socket_type = dgram
wait = yes
user = root
group = tty
server = /usr/bin/ktalkd
}

@ -0,0 +1,91 @@
#!/bin/bash
#
# Startup script for LISa
#
# chkconfig: - 92 36
# description: LISa is a small daemon which is intended to run on \
# end user systems. It provides something like a \
# "network neighbourhood", but only relying on the TCP/IP \
# protocol stack, no smb or whatever.\
# The information about the hosts in your "neighbourhood" \
# is provided via TCP port 7741.
# processname: lisa
# config: /etc/lisarc
# Source function library.
. /etc/rc.d/init.d/functions
# Source function library.
if [ -f /etc/init.d/functions ] ; then
. /etc/init.d/functions
elif [ -f /etc/rc.d/init.d/functions ] ; then
. /etc/rc.d/init.d/functions
else
exit 0
fi
# Some definitions.
lisa=/usr/bin/lisa
prog=LISa
OPTIONS="--quiet --config=/etc/lisarc"
RETVAL=0
#
start() {
echo -n $"Starting $prog: "
daemon $lisa $OPTIONS
RETVAL=$?
echo
if [ $RETVAL = 0 ] ; then
touch /var/lock/subsys/lisa
else
RETVAL=1
fi
return $RETVAL
}
stop() {
echo -n $"Stopping $prog: "
killproc $lisa
RETVAL=$?
echo
if [ $RETVAL = 0 ] ; then
rm -f /var/lock/subsys/lisa
else
RETVAL=1
fi
return $RETVAL
}
reload() {
echo -n $"Reloading $prog: "
killproc $lisa -HUP
RETVAL=$?
echo
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
status)
status $lisa
RETVAL=$?
;;
restart)
stop
start
;;
condrestart)
[ -f /var/lock/subsys/lisa ] && restart
;;
*)
echo $"Usage: $prog {start|stop|restart|status|condrestart}"
exit 1
esac
exit $RETVAL

@ -0,0 +1,10 @@
PingAddresses = 127.0.0.1/255.255.255.0;
PingNames =
AllowedAddresses = 127.0.0.1/255.255.255.0;
BroadcastNetwork = 127.0.0.1/255.255.255.0;
SearchUsingNmblookup = 0
FirstWait = 30
SecondWait = -1
UpdatePeriod = 150
DeliverUnnamedHosts = 1
MaxPingsAtOnce = 256

@ -0,0 +1,42 @@
Index: kdenetwork/kopete/libkopete/avdevice/configure.in.in
===================================================================
--- kdenetwork/kopete/libkopete/avdevice/configure.in.in (revision 0)
+++ kdenetwork/kopete/libkopete/avdevice/configure.in.in (revision 1243951)
@@ -0,0 +1,21 @@
+# -- Check for libv4l1-videodev.h presence --------------------
+
+AC_MSG_CHECKING([for libv4l1-videodev.h])
+
+AC_TRY_COMPILE([
+#include <libv4l1-videodev.h>
+],
+[
+],
+ ac_have_libv4l1_videodev_h=yes
+,
+ ac_have_libv4l1_videodev_h=no
+)
+
+if test $ac_have_libv4l1_videodev_h = yes; then
+ AC_DEFINE(HAVE_LIBV4L1_VIDEODEV_H, 1, [Define if you have libv4l1-videodev.h installed])
+fi
+
+AC_MSG_RESULT($ac_have_libv4l1_videodev_h)
+
+# -- End libv4l1-videodev.h ----------------------------------------------
Index: kdenetwork/kopete/libkopete/avdevice/videodevice.h
===================================================================
--- kdenetwork/kopete/libkopete/avdevice/videodevice.h (revision 1243950)
+++ kdenetwork/kopete/libkopete/avdevice/videodevice.h (revision 1243951)
@@ -52,7 +52,11 @@
#include <linux/fs.h>
#include <linux/kernel.h>
+#if defined(HAVE_LIBV4L1_VIDEODEV_H)
+#include <libv4l1-videodev.h>
+#else
#include <linux/videodev.h>
+#endif
#define VIDEO_MODE_PAL_Nc 3
#define VIDEO_MODE_PAL_M 4
#define VIDEO_MODE_PAL_N 5

@ -0,0 +1,473 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.5.13
%endif
%define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.13 specific building variables
BuildRequires: cmake >= 2.8
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
# Fedora review: http://bugzilla.redhat.com/195486
## Conditional build:
# disabled, for now, doesn't build -- Rex
#define _enable_jingle --enable-jingle
#define _enable_slp --enable-slp
# RHEL6: xmms is outdated !
#define _with_xmms --with-xmms
%ifnarch s390 s390x
%define _with_wifi --with-wifi
%endif
%define console_helper 1
Name: trinity-kdenetwork
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
Summary: K Desktop Environment - Network Applications
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
License: GPLv2
Group: Applications/Internet
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: kdenetwork3 = %{version}-%{release}
Source0: kdenetwork-%{version}.tar.gz
Source1: kppp.pamd
Source2: ktalk
Source4: lisarc
Source5: lisa.redhat
# RedHat/Fedora legacy patches
Patch3: kdenetwork-3.5.8-kppp.patch
Patch4: kdenetwork-3.2.3-resolv.patch
# include more/proper ppp headers
Patch6: kdenetwork-3.5.9-krfb_httpd.patch
Requires: %{name}-libs = %{version}-%{release}
BuildRequires: gettext
BuildRequires: trinity-kdelibs-devel
BuildRequires: coreutils
BuildRequires: openssl-devel
%if 0%{?fedora} > 4 || 0%{?rhel} > 4
BuildRequires: libXmu-devel libXScrnSaver-devel libXtst-devel libXxf86vm-devel
%endif
%if "%{?_with_wifi:1}" == "1"
%if 0%{?fedora} > 5 || 0%{?rhel} > 4
BuildRequires: wireless-tools-devel
%else
BuildRequires: wireless-tools
%endif
%endif
%{?_enable_slp:BuildRequires: openslp-devel}
## kopete:
BuildRequires: libxml2-devel libxslt-devel
%ifarch %{ix86}
# BR: %{_includedir}/valgrind/valgrind.h
BuildRequires: valgrind
%endif
#jabber
BuildRequires: libidn-devel
#jabber/jingle
%{?_enable_jingle:BuildRequires: expat-devel glib2-devel ortp-devel speex-devel}
# jabber/ssl
#{?fedora:Requires(hint): qca-tls}
# sametime
BuildRequires: meanwhile-devel
%{?_with_xmms:BuildRequires: xmms-devel}
Requires: jasper
## kppp
Requires: ppp
## krdc
Requires: rdesktop
## lisa
Requires(preun): chkconfig
Requires(post): chkconfig
#Requires(hint): samba-client
BuildRequires: avahi-qt3-devel
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
BuildRequires: libv4l-devel
%endif
# The following libraries are not available on RHEL
%if 0%{?fedora} >= 15
BuildRequires: libgadu-devel
BuildRequires: openslp-devel
BuildRequires: libjingle-devel
%endif
%if 0%{?console_helper}
Requires: usermode-gtk
%endif
%description
Networking applications, including:
* kget: downloader manager
* kio_lan: lan browsing kio slave
* knewsticker: RDF newsticker applet
* kopete: chat client
* kppp: dialer and front end for pppd
* krdc: a client for Desktop Sharing and other VNC servers
* krfb: Desktop Sharing server, allow others to access your desktop via VNC
* lisa: lan information server
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Provides: kdenetwork3-devel = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
Requires: trinity-kdelibs-devel
%description devel
%{summary}.
%package extras
Summary: Extras packages for %{name}
Group: Applications/Internet
Requires: %{name}-libs = %{version}-%{release}
%if "%{?_with_xmms:1}" == "1"
Obsoletes: %{name}-nowlistening < %{version}-%{release}
Provides: %{name}-nowlistening = %{version}-%{release}
%endif
%description extras
More Networking applications for the K Desktop Environment:
* ksirc
* kdict
* ktalkd
* kpf
* kwifimanager
%if "%{?_with_xmms:1}" == "1"
* nowlistening (xmms) plugin for Kopete.
%endif
%package libs
Summary: %{name} runtime libraries
Group: System Environment/Libraries
Requires: trinity-kdelibs
# helps multilib upgrades
Obsoletes: %{name} < %{version}-%{release}
# include to be paranoid, installing libs-only is still mostly untested -- Rex
Requires: %{name} = %{version}-%{release}
%description libs
%{summary}.
%prep
%setup -q -n kdenetwork
%if %{console_helper}
%patch3 -p1 -b .kppp
%endif
%patch4 -p1 -b .resolv
%patch6 -p1 -b .krfb_httpd
%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_JINGLE=ON \
-DWITH_SPEEX=ON \
-DWITH_WEBCAM=ON \
-DWITH_GSM=ON \
-DWITH_ARTS=ON \
-DBUILD_ALL=ON \
..
# Do not use '%{?_smp_mflags}' because it will fail to build !
%__make
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build
## File lists
# locale's
%find_lang %{name} || touch %{name}.lang
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && %{__rm} -f $i/common && ln -sf ../common $i/common
done
popd
fi
done
fi
# Show only in KDE, FIXME, need to re-evaluate these -- Rex
for i in fileshare kcmkrfb kcmktalkd kcmwifi krfb kppp kppplogview \
kwifimanager kget knewsticker ksirc kdict ; do
if [ -f %{buildroot}%{_datadir}/applications/kde/$i.desktop ] ; then
echo "OnlyShowIn=KDE;" >> %{buildroot}%{_datadir}/applications/kde/$i.desktop
fi
done
%if %console_helper
# Run kppp through consolehelper
install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3
mkdir -p %{buildroot}%{_sbindir}
mv %{buildroot}%{_bindir}/kppp %{buildroot}%{_sbindir}
ln -s consolehelper %{buildroot}%{_bindir}/kppp
mkdir -p %{buildroot}/etc/security/console.apps
cat > %{buildroot}/etc/security/console.apps/kppp3 <<EOF
USER=root
PROGRAM=%{_sbindir}/kppp
SESSION=true
EOF
%endif
# ktalk
install -p -m 0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xinetd.d/ktalk
# Add lisa startup script
install -p -m 0644 -D %{SOURCE4} %{buildroot}%{_sysconfdir}/lisarc
install -p -m 0755 -D %{SOURCE5} %{buildroot}%{_initrddir}/lisa
%post
/sbin/chkconfig --add lisa ||:
for f in crystalsvg hicolor locolor ; 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
for f in crystalsvg hicolor locolor ; 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 || :
%preun
if [ $1 -eq 0 ]; then
/sbin/chkconfig --del lisa ||:
/sbin/service lisa stop > /dev/null 2>&1 ||:
fi
%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
%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
%clean
%__rm -rf %{buildroot}
%files extras
%defattr(-,root,root,-)
# ksirc
%{tde_docdir}/HTML/??/ksirc/
%{_bindir}/ksirc
%{_libdir}/libkdeinit_ksirc.*
%{tde_libdir}/ksirc.*
%{_datadir}/applications/kde/ksirc.desktop
%{_datadir}/apps/ksirc/
%config(noreplace) %{_datadir}/config/ksircrc
%{_datadir}/icons/hicolor/*/apps/ksirc.*
# kdict
%{tde_docdir}/HTML/en/kdict
%{_bindir}/kdict
%{tde_libdir}/kdict*
%{_libdir}/libkdeinit_kdict.*
%{_datadir}/applications/kde/kdict.desktop
%{_datadir}/apps/kdict
%{_datadir}/apps/kicker/applets/kdictapplet.desktop
%{_datadir}/icons/hicolor/*/apps/kdict.*
# ktalk
%{tde_docdir}/HTML/en/ktalkd
%{_bindir}/ktalkd*
%{tde_libdir}/kcm_ktalkd.*
%{_datadir}/applications/kde/kcmktalkd.desktop
%config(noreplace) %{_datadir}/config/ktalkdrc
%{_datadir}/icons/crystalsvg/*/apps/ktalkd.*
%{_datadir}/sounds/ktalkd.wav
%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk
# kpf
%{tde_docdir}/HTML/en/kpf
%{tde_libdir}/kpf*
%{_datadir}/apps/kicker/applets/kpfapplet.desktop
%{_datadir}/icons/crystalsvg/*/apps/kpf.*
%{_datadir}/services/kpfpropertiesdialogplugin.desktop
%if "%{?_with_wifi:1}" == "1"
# kwifimanager
%doc %{tde_docdir}/HTML/en/kwifimanager
%{_bindir}/kwifimanager
%{tde_libdir}/kcm_wifi.*
%{_datadir}/applications/kde/kcmwifi.desktop
%{_datadir}/applications/kde/kwifimanager.desktop
%{_datadir}/apps/kwifimanager
%{_datadir}/icons/hicolor/*/apps/kwifimanager.png
%endif
%if "%{?_with_xmms:1}" == "1"
#files nowlistening
#defattr(-,root,root,-)
%{_datadir}/apps/kopete/*nowlisteningchatui*
%{_datadir}/apps/kopete/*nowlisteningui*
%{_datadir}/services/kconfiguredialog/*nowlistening*
%{_datadir}/services/*nowlistening*
%{tde_libdir}/*nowlistening*
%endif
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
# ksirc
%exclude %{_bindir}/ksirc
%exclude %{_libdir}/libkdeinit_ksirc.*
%exclude %{tde_libdir}/ksirc.*
%exclude %{_datadir}/applications/kde/ksirc.desktop
%exclude %{_datadir}/apps/ksirc/
%exclude %{_datadir}/config/ksircrc
%exclude %{tde_docdir}/HTML/??/ksirc/
%exclude %{_datadir}/icons/hicolor/??x??/apps/ksirc.png
# kdict
%exclude %{tde_docdir}/HTML/en/kdict
%exclude %{_bindir}/kdict
%exclude %{tde_libdir}/kdict*
%exclude %{_libdir}/libkdeinit_kdict.*
%exclude %{_datadir}/applications/kde/kdict.desktop
%exclude %{_datadir}/apps/kdict
%exclude %{_datadir}/apps/kicker/applets/kdictapplet.desktop
%exclude %{_datadir}/icons/hicolor/128x128/apps/kdict.png
%exclude %{_datadir}/icons/hicolor/??x??/apps/kdict.png
%exclude %{_datadir}/icons/hicolor/scalable/apps/kdict.svgz
# ktalk
%exclude %{tde_docdir}/HTML/en/ktalkd
%exclude %{_sysconfdir}/xinetd.d/ktalk
%exclude %{_bindir}/ktalkd*
%exclude %{tde_libdir}/kcm_ktalkd.*
%exclude %{_datadir}/applications/kde/kcmktalkd.desktop
%exclude %{_datadir}/config/ktalkdrc
%exclude %{_datadir}/icons/crystalsvg/128x128/apps/ktalkd.png
%exclude %{_datadir}/icons/crystalsvg/??x??/apps/ktalkd.png
%exclude %{_datadir}/sounds/ktalkd.wav
# kpf
%exclude %{tde_libdir}/kpf*
%exclude %{_datadir}/apps/kicker/applets/kpfapplet.desktop
%exclude %{tde_docdir}/HTML/en/kpf
%exclude %{_datadir}/icons/crystalsvg/??x??/apps/kpf.png
%exclude %{_datadir}/services/kpfpropertiesdialogplugin.desktop
%ifnarch s390 s390x
# kwifimanager
%exclude %{_bindir}/kwifimanager
%exclude %{tde_libdir}/kcm_wifi.*
%exclude %{_datadir}/applications/kde/kcmwifi.desktop
%exclude %{_datadir}/applications/kde/kwifimanager.desktop
%exclude %{_datadir}/apps/kwifimanager
%exclude %{tde_docdir}/HTML/en/kwifimanager
%exclude %{_datadir}/icons/hicolor/128x128/apps/kwifimanager.png
%exclude %{_datadir}/icons/hicolor/??x??/apps/kwifimanager.png
%exclude %{_datadir}/icons/hicolor/scalable/apps/kwifimanager.svgz
%endif
# nowlistening
%if "%{?_with_xmms:1}" == "1"
%exclude %{_datadir}/apps/kopete/*nowlisteningchatui*
%exclude %{_datadir}/apps/kopete/*nowlisteningui*
%exclude %{_datadir}/services/kconfiguredialog/*nowlistening*
%exclude %{_datadir}/services/*nowlistening*
%exclude %{tde_libdir}/*nowlistening*
%endif
%if %console_helper
%config(noreplace) /etc/security/console.apps/kppp3
%config(noreplace) /etc/pam.d/kppp3
%{_sbindir}/kppp
%else
%attr(4755,root,root) %{_bindir}/kppp
%endif
%config(noreplace) %{_sysconfdir}/lisarc
%config(noreplace) %{_initrddir}/lisa
%{_libdir}/libkdeinit_*.so
%{tde_libdir}/*
%{_libdir}/kconf_update_bin/*
%{_bindir}/*
%{_datadir}/apps/*
%{_datadir}/applications/kde/*
%{_datadir}/applnk/.hidden/*
%{_datadir}/config/*
%{_datadir}/config.kcfg/*
%{_datadir}/icons/*/*/*/*
%{_datadir}/mimelnk/*
%{_datadir}/services/*
%{_datadir}/servicetypes/*
%{_datadir}/sounds/*
%files libs
%defattr(-,root,root,-)
%{_libdir}/libkopete*.so.*
%{_libdir}/libkopete*.la
%{_libdir}/librss.so.*
%{_libdir}/librss.la
%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/libkopete*.so
%{_libdir}/librss.so
%changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Tue Oct 25 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.13 %define version 3.5.13
%endif %endif
%define release 0 %define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -29,21 +29,32 @@ Summary: PIM (Personal Information Manager) applications
Prefix: %{_prefix} Prefix: %{_prefix}
Source0: kdepim-%{version}.tar.gz Source0: kdepim-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: tqtinterface BuildRequires: tqtinterface-devel
BuildRequires: trinity-arts BuildRequires: trinity-arts-devel
BuildRequires: trinity-kdelibs BuildRequires: trinity-kdelibs-devel
BuildRequires: gpgme-devel BuildRequires: gpgme-devel
BuildRequires: libgpg-error-devel BuildRequires: libgpg-error-devel
BuildRequires: flex BuildRequires: flex
BuildRequires: libical-devel BuildRequires: libical-devel
BuildRequires: gnokii-devel BuildRequires: gnokii-devel
BuildRequires: boost-devel
BuildRequires: libcaldav-devel
BuildRequires: libcarddav-devel
%if 0%{?fedora} >= 15 %if 0%{?fedora} >= 15
BuildRequires: flex-static BuildRequires: flex-static
%else
%if 0%{?rhel} <= 5
BuildRequires: trinity-libcurl-devel
%endif
%endif %endif
Requires: trinity-kdelibs Requires: trinity-kdelibs
Requires: libcaldav
Requires: libcarddav
%description %description
PIM (Personal Information Manager) applications. PIM (Personal Information Manager) applications.
@ -52,6 +63,7 @@ PIM (Personal Information Manager) applications.
%package devel %package devel
Requires: %{name} Requires: %{name}
Summary: %{name} - Development files Summary: %{name} - Development files
Group: Development/Libraries
%description devel %description devel
Development files for %{name}. Development files for %{name}.
@ -84,18 +96,19 @@ cd build
-DWITH_BIRTHDAYS=ON \ -DWITH_BIRTHDAYS=ON \
-DWITH_NEWEXCHANGE=ON \ -DWITH_NEWEXCHANGE=ON \
-DWITH_SCALIX=ON \ -DWITH_SCALIX=ON \
-DWITH_CALDAV=OFF \ -DWITH_CALDAV=ON \
-DWITH_CARDDAV=OFF \ -DWITH_CARDDAV=ON \
-DWITH_INDEXLIB=ON \ -DWITH_INDEXLIB=ON \
-DBUILD_ALL=ON \ -DBUILD_ALL=ON \
.. ..
%__make %{?_smp_mflags} # Do not use %{?_smp_mflags} !
%__make
%install %install
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%make_install -C build %__make install DESTDIR=%{?buildroot} -C build
%clean %clean
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
@ -116,11 +129,13 @@ export PATH="%{_bindir}:${PATH}"
%{_datadir}/config.kcfg/* %{_datadir}/config.kcfg/*
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
%{tde_libdir}/*.so %{tde_libdir}/*.so
#%{tde_libdir}/*.so.*
%{tde_libdir}/plugins/designer/*.so %{tde_libdir}/plugins/designer/*.so
%{_datadir}/servicetypes/* %{_datadir}/servicetypes/*
%{_libdir}/kconf_update_bin/* %{_libdir}/kconf_update_bin/*
%{_libdir}/libakregatorprivate.so %{_libdir}/libakregatorprivate.so
%{_libdir}/libkmailprivate.so %{_libdir}/libkmailprivate.so
%{_libdir}/libkmobiledevice.so
%{tde_docdir}/HTML/en/* %{tde_docdir}/HTML/en/*
%files devel %files devel
@ -132,8 +147,12 @@ export PATH="%{_bindir}:${PATH}"
%{tde_libdir}/plugins/designer/*.la %{tde_libdir}/plugins/designer/*.la
%exclude %{_libdir}/libakregatorprivate.so %exclude %{_libdir}/libakregatorprivate.so
%exclude %{_libdir}/libkmailprivate.so %exclude %{_libdir}/libkmailprivate.so
%exclude %{_libdir}/libkmobiledevice.so
%{_datadir}/cmake/*.cmake %{_datadir}/cmake/*.cmake
%changelog %changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Mon Sep 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-0 * Mon Sep 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-0
- Import to GIT - Import to GIT

@ -50,7 +50,7 @@ Provides: kdesdk3 = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
BuildRequires: automake libtool BuildRequires: libtool
BuildRequires: tqtinterface-devel BuildRequires: tqtinterface-devel
BuildRequires: pcre-devel BuildRequires: pcre-devel
BuildRequires: trinity-kdelibs-devel BuildRequires: trinity-kdelibs-devel
@ -66,7 +66,7 @@ BuildRequires: libxslt-devel libxml2-devel
BuildRequires: binutils-devel BuildRequires: binutils-devel
%endif %endif
BuildRequires: perl BuildRequires: perl
%{?_with_subversion:BuildRequires: subversion-devel neon-devel} BuildRequires: subversion-devel neon-devel
# Obsoletes/Provides # Obsoletes/Provides
%define cervisia_ver 2.4.7 %define cervisia_ver 2.4.7
@ -99,7 +99,7 @@ Requires: trinity-kdelibs-devel
%package libs %package libs
Summary: %{name} runtime libraries Summary: %{name} runtime libraries
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: trinity-kdelibs >= %{version} Requires: trinity-kdelibs
# helps multilib upgrades # helps multilib upgrades
Obsoletes: %{name} < %{version}-%{release} Obsoletes: %{name} < %{version}-%{release}
# include to be paranoid, installing libs-only is still mostly untested -- Rex # include to be paranoid, installing libs-only is still mostly untested -- Rex

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.13 %define version 3.5.13
%endif %endif
%define release 0 %define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -26,7 +26,10 @@ Group: User Interface/Desktops
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: kdesdk-%{version}.tar.gz Source: kdesdk-%{version}.tar.gz
# RedHat Legacy patches # RedHat Legacy patches
@ -48,7 +51,9 @@ BuildRequires: desktop-file-utils
BuildRequires: flex BuildRequires: flex
# umbrello # umbrello
BuildRequires: libxslt-devel libxml2-devel BuildRequires: libxslt-devel libxml2-devel
%if 0%{?fedora} > 5 || 0%{?rhel} > 4
BuildRequires: binutils-devel BuildRequires: binutils-devel
%endif
BuildRequires: perl BuildRequires: perl
BuildRequires: subversion-devel neon-devel BuildRequires: subversion-devel neon-devel
@ -83,7 +88,7 @@ Requires: trinity-kdelibs-devel
%package libs %package libs
Summary: %{name} runtime libraries Summary: %{name} runtime libraries
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: trinity-kdelibs >= %{version} Requires: trinity-kdelibs
# helps multilib upgrades # helps multilib upgrades
Obsoletes: %{name} < %{version}-%{release} Obsoletes: %{name} < %{version}-%{release}
# include to be paranoid, installing libs-only is still mostly untested -- Rex # include to be paranoid, installing libs-only is still mostly untested -- Rex
@ -111,14 +116,15 @@ cd build
-DBUILD_ALL=ON \ -DBUILD_ALL=ON \
.. ..
%__make %{?_smp_mflags} # Do not use %{?_smp_mflags} !
%__make
%install %install
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%make_install -C build %__make install DESTDIR=%{?buildroot} -C build
desktop-file-install --vendor "" \ desktop-file-install --vendor "" \
--dir %{buildroot}%{_datadir}/applications/kde \ --dir %{buildroot}%{_datadir}/applications/kde \
@ -174,7 +180,7 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%{_bindir}/* %{_bindir}/*
%{tde_docdir}/HTML/en/* %{tde_docdir}/HTML/en/*
%{_datadir}/apps/* %{_datadir}/apps/*
%{_datadir}/mimelnk/application/* #%{_datadir}/mimelnk/application/*
%{_datadir}/services/* %{_datadir}/services/*
%{_datadir}/servicetypes/* %{_datadir}/servicetypes/*
%{_datadir}/icons/crystalsvg/*/*/* %{_datadir}/icons/crystalsvg/*/*/*
@ -184,7 +190,7 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%{_datadir}/config.kcfg/* %{_datadir}/config.kcfg/*
%{tde_libdir}/* %{tde_libdir}/*
%{_libdir}/libkdeinit_*.so %{_libdir}/libkdeinit_*.so
%{_mandir}/man1/* #%{_mandir}/man1/*
# Removes conflict with package 'rpmdevtool' on RHEL 6 # Removes conflict with package 'rpmdevtool' on RHEL 6
%if "%{_prefix}" == "/usr" %if "%{_prefix}" == "/usr"
@ -198,13 +204,17 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_includedir}/kde/* %{_includedir}/*.h
%{_includedir}/kbabel
%{_libdir}/lib*.so %{_libdir}/lib*.so
%exclude %{_libdir}/libkdeinit_*.so %exclude %{_libdir}/libkdeinit_*.so
%{_libdir}/kmtrace/* #%{_libdir}/kmtrace/*
%{_datadir}/cmake/*.cmake
%changelog %changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Mon Sep 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0 * Mon Sep 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT - Import to GIT
- Built with future TDE version (3.5.13 + cmake + QT3.3.8d)

@ -0,0 +1,165 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.5.13
%endif
%define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.12 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Summary: K Desktop Environment - Toys and Amusements
Name: trinity-kdetoys
Group: Amusements/Graphics
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2+
Source0: kdetoys-%{version}.tar.gz
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
BuildRequires: tqtinterface-devel
BuildRequires: trinity-kdelibs-devel
BuildRequires: gettext
%description
Includes:
* amor: Amusing Misuse Of Resources put's comic figures above your windows
* eyesapplet: a kicker applet similar to XEyes
* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them
* kmoon: system tray applet showing the moon phase
* kodo: mouse movement meter
* kteatime: system tray applet that makes sure your tea doesn't get too strong
* ktux: Tux-in-a-Spaceship screen saver
* kweather: kicker applet that will display the current weather outside
* kworldwatch: application and kicker applet showing daylight area on the world
globe
NOTE: kicker applets and screen savers require kdebase to be installed,
and user to be logged-in to KDE.
%prep
%setup -q -n kdetoys
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%__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}"
%configure \
--includedir=%{_includedir}/kde \
--disable-rpath \
--enable-new-ldflags \
--enable-closure \
--disable-debug --disable-warnings \
--disable-dependency-tracking --enable-final \
--with-extra-includes=%{_includedir}/tqt
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf "%{buildroot}"
%__make install DESTDIR=%{buildroot}
desktop-file-install \
--dir=%{buildroot}%{_datadir}/applnk/System/ScreenSavers \
--vendor="" \
%{buildroot}%{_datadir}/applnk/System/ScreenSavers/*.desktop ||:
desktop-file-install \
--dir=%{buildroot}%{_datadir}/applications/kde \
--vendor="" \
%{buildroot}%{_datadir}/applications/kde/*.desktop ||:
# replace absolute symlink with relative
ln -nfs tips-en %{buildroot}%{_datadir}/apps/amor/tips
## File lists
# locale's
%find_lang %{name} || touch %{name}.lang
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
done
popd
fi
done
fi
## Unpackaged files
# not sure the point of just one header file 'AmorIface.h', omit (for now).
%__rm -rf %{buildroot}%{_includedir}
%post
touch --no-create %{_datadir}/icons/hicolor ||:
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
%postun
touch --no-create %{_datadir}/icons/hicolor ||:
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_bindir}/*
%{_libdir}/libkdeinit_*.*
%{tde_libdir}/*
%{_datadir}/applications/kde/*.desktop
%{_datadir}/applnk/System/ScreenSavers/*.desktop
%{_datadir}/apps/*
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/service*/*.desktop
%doc %lang(en) %{_docdir}/HTML/en/*
%clean
%__rm -rf %{buildroot}
%changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Fri Oct 28 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT

@ -79,6 +79,7 @@ Utilities for the Trinity Desktop Environment, including:
* ktimer (task scheduler) * ktimer (task scheduler)
* kwikdisk (removable media utility) * kwikdisk (removable media utility)
# afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex # afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
@ -222,7 +223,6 @@ done
%files extras %files extras
%defattr(-,root,root,-) %defattr(-,root,root,-)
# kmilo # kmilo
%{tde_libdir}/kded_kmilod.* %{tde_libdir}/kded_kmilod.*
%{tde_libdir}/kmilo* %{tde_libdir}/kmilo*

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.13 %define version 3.5.13
%endif %endif
%define release 0 %define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -12,7 +12,8 @@
# TDE 3.5.13 specific building variables # TDE 3.5.13 specific building variables
BuildRequires: autoconf automake libtool m4 BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir} %define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity %define tde_libdir %{_libdir}/trinity
@ -20,34 +21,95 @@ Name: trinity-kdeutils
Version: %{?version} Version: %{?version}
Release: %{?release}%{?dist}%{?_variant} Release: %{?release}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: TDE Utilities
Group: Applications/System
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
Summary: Trinity KDE Utilities URL: http://www.trinitydesktop.org/
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdeutils-%{version}.tar.gz Source0: kdeutils-%{version}.tar.gz
Source1: klaptop_acpi_helper.pam
Source2: klaptop_acpi_helper.console
Source3: kcmlaptoprc
BuildRequires: tqtinterface BuildRequires: tqtinterface
BuildRequires: trinity-arts BuildRequires: trinity-arts
BuildRequires: trinity-kdelibs BuildRequires: trinity-kdelibs
# RedHat / Fedora legacy patches
Patch1: kdf-3.0.2-label.patch
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: tqtinterface Requires: tqtinterface
Requires: trinity-kdelibs Requires: trinity-kdelibs
BuildRequires: gettext
BuildRequires: net-snmp-devel
BuildRequires: python-devel
BuildRequires: gmp-devel
%if 0%{?fedora} > 4 || 0%{?rhel} > 4
BuildRequires: libXScrnSaver-devel libXtst-devel
%endif
BuildRequires: xmms-devel
%define superkaramba_ver 0.39
Obsoletes: superkaramba < 0:%{superkaramba_ver}
Provides: superkaramba = 0:%{superkaramba_ver}
%description %description
Trinity KDE Utilities. Utilities for the Trinity Desktop Environment, including:
* ark (tar/gzip archive manager)
* kcalc (scientific calculator)
* kcharselect (character selector)
* kdepasswd (change password)
* kdessh (ssh front end)
* kdf (view disk usage)
* kedit (simple text editor)
* kfloppy (floppy formatting tool)
* kgpg (gpg gui)
* khexedit (hex editor)
* kjots (note taker)
* kregexpeditor (regular expression editor)
* ktimer (task scheduler)
* kwikdisk (removable media utility)
# afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex
%package devel %package devel
Requires: %{name} Summary: Development files for %{name}
Summary: %{name} - Development files Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}-extras = %{version}-%{release}
Requires: trinity-kdelibs-devel
%description devel %description devel
Development files for %{name}. Development files for %{name}.
%package extras
Summary: Extras packages from %{name}
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}
%if 0%{?fedora} > 5 || 0%{?rhel} > 4
Requires: pm-utils
%endif
Requires: usermode
%description extras
More Utilities for the K Desktop Environment:
* kmilo
* ksim (system information monitor);
* klaptopdaemon (battery monitoring and management for laptops);
%prep %prep
%setup -q -n kdeutils %setup -q -n kdeutils
%patch1 -p1 -b .label
# Ugly hack to modify TQT include directory inside autoconf files. # Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \ sed -i admin/acinclude.m4.in \
@ -61,58 +123,225 @@ sed -i admin/acinclude.m4.in \
unset QTDIR || : ; source /etc/profile.d/qt.sh unset QTDIR || : ; source /etc/profile.d/qt.sh
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
export LDFLAGS="-L%{_libdir} -I%{_includedir}" export LDFLAGS="-L%{_libdir} -I%{_includedir}"
export LDFLAGS="${LDFLAGS} -lqt-mt -lkdeui -L${QTLIB}"
%configure \ %configure \
--disable-rpath \ --enable-new-ldflags \
--enable-new-ldflags \ --disable-dependency-tracking \
--disable-dependency-tracking \ --disable-rpath \
--disable-debug --disable-warnings --enable-final \ --disable-debug --disable-warnings \
--with-xinerama \ --enable-final \
--with-extra-includes=%{_includedir}/tqt \ --includedir=%{tde_includedir} \
--with-extra-libs=%{tde_libdir} \ --with-snmp \
--enable-closure --with-xscreensaver \
--with-extra-includes=%{_includedir}/tqt \
--enable-closure
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
%install %install
%__rm -rf %{?buildroot}
%__mkdir_p %{?buildroot}
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%make_install %__rm -rf %{?buildroot}
%__make install DESTDIR=%{?buildroot}
# Show only in KDE (really? -- Rex)
for i in kcalc kregexpeditor Kjots ktimer kdf kcmdf ksim KFloppy KEdit \
KCharSelect ark kwalletmanager kwalletconfig \
irkick kcmlirc laptop pcmcia kvaio thinkpad kwikdisk; do
if [ -f %{buildroot}%{_datadir}/applications/kde/$i.desktop ] ; then
echo "OnlyShowIn=KDE;" >> %{buildroot}%{_datadir}/applications/kde/$i.desktop
fi
done
## File lists
# locale's
%find_lang %{name} || touch %{name}.lang
# HTML (1.0)
HTML_DIR=$(kde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
lang=$(basename $lang_dir)
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
# replace absolute symlinks with relative ones
pushd $lang_dir
for i in *; do
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
done
popd
pushd $lang_dir/kcontrol
for i in *; do
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common
done
popd
fi
done
fi
# using pam
install -p -D -m 644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/pam.d/klaptop_acpi_helper
install -p -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/security/console.apps/klaptop_acpi_helper
pushd %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_sbindir}
mv klaptop_acpi_helper ../sbin
ln -s consolehelper klaptop_acpi_helper
popd
# klaptop setting
install -p -D -m 644 %{SOURCE3} %{buildroot}%{_datadir}/config/kcmlaptoprc
%clean %clean
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%files
%post
/sbin/ldconfig
for f in crystalsvg hicolor locolor ; 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
/sbin/ldconfig
for f in crystalsvg hicolor locolor ; 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 || :
%post extras
/sbin/ldconfig
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
%postun extras
/sbin/ldconfig
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
%files extras
%defattr(-,root,root,-) %defattr(-,root,root,-)
# kmilo
%{tde_libdir}/kded_kmilod.*
%{tde_libdir}/kmilo*
%{_libdir}/libkmilo.la
%{_libdir}/libkmilo.so.*
%{_datadir}/services/kded/kmilod.desktop
%{_datadir}/services/kmilo
%{_datadir}/servicetypes/kmilo
# ksim
%doc %{_docdir}/HTML/*/ksim/
%{tde_libdir}/ksim*
%{_libdir}/libksimcore.la
%{_libdir}/libksimcore.so.*
%{_datadir}/apps/kicker/extensions/ksim.desktop
%{_datadir}/apps/ksim/
%config %{_datadir}/config/ksim_panelextensionrc
%{_datadir}/icons/crystalsvg/??x??/apps/ksim.png
%{_datadir}/icons/crystalsvg/16x16/devices/ksim_cpu.png
# klaptop
%doc %{_docdir}/HTML/en/kcontrol
%{_sysconfdir}/pam.d/klaptop_acpi_helper
%attr(644,root,root) %{_sysconfdir}/security/console.apps/klaptop_acpi_helper
%{_bindir}/klaptop*
%{tde_libdir}/kded_klaptopdaemon.*
%{_sbindir}/klaptop_acpi_helper
%{_datadir}/apps/klaptopdaemon
%{_datadir}/services/kded/klaptopdaemon.desktop
%{tde_libdir}/kcm_laptop.*
%{_libdir}/libkcmlaptop.*
%{_datadir}/applications/kde/laptop.desktop
%config %{_datadir}/config/kcmlaptoprc
%{_datadir}/icons/crystalsvg/128x128/apps/laptop_battery.png
%{_datadir}/icons/crystalsvg/??x??/apps/laptop_battery.png
%{_datadir}/icons/crystalsvg/scalable/apps/laptop_battery.svgz
%files -f %{name}.lang
%defattr(-,root,root,-)
# kmilo
%exclude %{tde_libdir}/kded_kmilod.*
%exclude %{tde_libdir}/kmilo*
%exclude %{_libdir}/libkmilo.la
%exclude %{_libdir}/libkmilo.so.*
%exclude %{_datadir}/services/kded/kmilod.desktop
%exclude %{_datadir}/services/kmilo
%exclude %{_datadir}/servicetypes/kmilo
# ksim
%exclude %{_docdir}/HTML/*/ksim/
%exclude %{tde_libdir}/ksim*
%exclude %{_libdir}/libksimcore.la
%exclude %{_libdir}/libksimcore.so.*
%exclude %{_datadir}/apps/kicker/extensions/ksim.desktop
%exclude %{_datadir}/apps/ksim/
%exclude %{_datadir}/config/ksim_panelextensionrc
%exclude %{_datadir}/icons/crystalsvg/??x??/apps/ksim.png
%exclude %{_datadir}/icons/crystalsvg/16x16/devices/ksim_cpu.png
# klaptop
%exclude %{_sysconfdir}/pam.d/klaptop_acpi_helper
%exclude %{_sysconfdir}/security/console.apps/klaptop_acpi_helper
%exclude %{_bindir}/klaptop*
%exclude %{tde_libdir}/kded_klaptopdaemon.*
%exclude %{_sbindir}/klaptop_acpi_helper
%exclude %{_datadir}/apps/klaptopdaemon
%exclude %{_datadir}/services/kded/klaptopdaemon.desktop
%exclude %{tde_libdir}/kcm_laptop.*
%exclude %{_libdir}/libkcmlaptop.*
%exclude %{_datadir}/applications/kde/laptop.desktop
%exclude %{_datadir}/config/kcmlaptoprc
%exclude %{_docdir}/HTML/en/kcontrol/
%exclude %{_datadir}/icons/crystalsvg/128x128/apps/laptop_battery.png
%exclude %{_datadir}/icons/crystalsvg/??x??/apps/laptop_battery.png
%exclude %{_datadir}/icons/crystalsvg/scalable/apps/laptop_battery.svgz
%attr(644,root,root) %{_sysconfdir}/security/console.apps/*
%attr(644,root,root) %{_sysconfdir}/pam.d/*
%{_bindir}/* %{_bindir}/*
%{_datadir}/applications/kde/*.desktop %{_sbindir}/*
%{tde_libdir}/*
%{_libdir}/*.la
%{_libdir}/libkdeinit*.so
%{_libdir}/lib*.so.*
%{_datadir}/icons/*/*/*/*
%{_datadir}/apps/* %{_datadir}/apps/*
%{_datadir}/autostart/*.desktop %config %{_datadir}/config/*
%{_datadir}/config/*
%{_datadir}/icons/*
%{_datadir}/services/*
%{_datadir}/config.kcfg/* %{_datadir}/config.kcfg/*
%{_datadir}/servicetypes/kmilo/kmilopluginsvc.desktop %{_datadir}/services/*
%{_libdir}/lib*.so.* %{_datadir}/servicetypes/*
%{_libdir}/libkdeinit*.so %{_datadir}/applications/kde/*
%{tde_libdir}/*.so %if 0%{?rhel} >= 5 || 0%{?fedora}
%{tde_docdir}/HTML/en/* %{_datadir}/applnk/Utilities/*
%if 0%{?rhel} >= 4
%{_datadir}/applnk/*/*
%{_datadir}/mimelnk/application/* %{_datadir}/mimelnk/application/*
%endif %endif
%{_datadir}/autostart/*
%doc %lang(en) %{_docdir}/HTML/en/*
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/*.la %{tde_includedir}/*
%{_libdir}/*.so %{_libdir}/libkcmlaptop.so
%{_includedir}/* %{_libdir}/libkhexeditcommon.so
%{tde_libdir}/*.la %{_libdir}/libkmilo.so
%{_libdir}/libkregexpeditorcommon.so
%{_libdir}/libksimcore.so
%changelog %changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Mon Sep 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0 * Mon Sep 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT - Import to GIT

@ -0,0 +1,11 @@
--- kdevelop/kdevdesigner/designer/listeditor.ui.h.ORI 2011-10-30 13:30:56.655489268 +0100
+++ kdevelop/kdevdesigner/designer/listeditor.ui.h 2011-10-30 13:31:00.782489292 +0100
@@ -30,7 +30,7 @@
{
QListViewItem *i = new QListViewItem( listview, listview->lastItem() );
i->setRenameEnabled( 0, TRUE );
- tqApp->processEvents();
+ qApp->processEvents();
i->startRename( 0 );
}

@ -143,7 +143,7 @@ Requires: %{name} = %{version}-%{release}
%build %build
QTDIR="" && source /etc/profile.d/qt.sh unset QTDIR || : ; . /etc/profile.d/qt.sh
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
export LDFLAGS="-L%{_libdir} -I%{_includedir}" export LDFLAGS="-L%{_libdir} -I%{_includedir}"
@ -184,7 +184,6 @@ popd
%install %install
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
%__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0 %__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0

@ -0,0 +1,237 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.5.13
%endif
%define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.13 specific variables
BuildRequires: cmake >= 2.8
%define tde_libdir %{_libdir}/trinity
%define _default_patch_fuzz 2
%define qt_version 3.3.8d
%define qt_ver %{qt_version}
Name: trinity-kdevelop
Summary: Integrated Development Environment for C++/C
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPLv2
Group: Development/Tools
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: kdevelop-%{version}.tar.gz
Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2
# RedHat Legacy patches
Patch1: c_cpp_reference-2.0.2-config.patch
# TDE 3.5.13 patches
## RHEL / Fedora RPM specific patches
Patch2: kdevelop-3.5.13-kdevdesigner-ftbfs.patch
Provides: kdevelop3 = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
Requires: trinity-kdelibs-devel
Requires: make
Requires: perl
Requires: flex >= 2.5.4
Requires: qt3-designer
Requires: gettext
Requires: ctags
BuildRequires: tqtinterface-devel
BuildRequires: trinity-arts-devel
BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdelibs-apidocs
BuildRequires: qt3-devel-docs
BuildRequires: db4-devel
BuildRequires: flex
# FIXME: No CVS support in KDevelop? This is going to suck...
# Requires kdesdk3.
BuildRequires: trinity-kdesdk-devel
BuildRequires: subversion-devel neon-devel
# looks like this is dragged in by apr-devel (dep of subversion-devel), but not
# a dependency
BuildRequires: openldap-devel
%description
The KDevelop Integrated Development Environment provides many features
that developers need as well as providing a unified interface to programs
like gdb, the C/C++ compiler, and make. KDevelop manages or provides:
All development tools needed for C++ programming like Compiler,
Linker, automake and autoconf; KAppWizard, which generates complete,
ready-to-go sample applications; Classgenerator, for creating new
classes and integrating them into the current project; File management
for sources, headers, documentation etc. to be included in the
project; The creation of User-Handbooks written with SGML and the
automatic generation of HTML-output with the KDE look and feel;
Automatic HTML-based API-documentation for your project's classes with
cross-references to the used libraries; Internationalization support
for your application, allowing translators to easily add their target
language to a project;
KDevelop also includes WYSIWYG (What you see is what you get)-creation
of user interfaces with a built-in dialog editor; Debugging your
application by integrating KDbg; Editing of project-specific pixmaps
with KIconEdit; The inclusion of any other program you need for
development by adding it to the "Tools"-menu according to your
individual needs.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Provides: kdevelop3-devel = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
Requires: trinity-kdelibs-devel
%description devel
%{summary}.
%package libs
Summary: %{name} runtime libraries
Group: System Environment/Libraries
Requires: trinity-kdelibs
# helps multilib upgrades
Obsoletes: %{name} < %{version}-%{release}
# include to be paranoid, installing libs-only is still mostly untested -- Rex
Requires: %{name} = %{version}-%{release}
%description libs
%{summary}.
%prep
%setup -q -n kdevelop -a1
%patch1 -p0 -b .config
%patch2 -p1
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%__rm -rf c_cpp_reference-2.0.2_for_KDE_3.0/admin
%__cp -a admin c_cpp_reference-2.0.2_for_KDE_3.0/
%__make -C c_cpp_reference-2.0.2_for_KDE_3.0 -f admin/Makefile.common cvs
%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}"
# c references
pushd c_cpp_reference-2.0.2_for_KDE_3.0
%configure \
--with-qt-libraries=$QTDIR/lib \
--with-qt-includes=$QTDIR/include \
--with-extra-libs=%{_libdir}
popd
%__mkdir build
cd build
%cmake \
-DWITH_BUILDTOOL_ALL=ON \
-DWITH_LANGUAGE_ALL=ON \
-DWITH_VCS_ALL=OFF \
-DBUILD_ALL=ON \
..
%__make %{?_smp_mflags}
cd ..
%__make %{?_smp_mflags} -C c_cpp_reference-2.0.2_for_KDE_3.0
%install
%__rm -rf %{buildroot}
cd build
%__make install DESTDIR=%{buildroot}
cd ..
%__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0
# remove useless files
%__rm -rf %{buildroot}%{_prefix}/kdevbdb
%post
for f in hicolor locolor ; 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
for f in hicolor locolor ; 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 || :
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%clean
%__rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_docdir}/HTML/en/*
%{_bindir}/*
%{tde_libdir}/*
%{_libdir}/kconf_update_bin/*
%{_datadir}/applications/kde/*
%{_datadir}/apps/*
%{_datadir}/config/*
%{_datadir}/desktop-directories/*
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/icons/locolor/*/*/*
%{_datadir}/mimelnk/*.desktop
%{_datadir}/mimelnk/*/*
%{_datadir}/services/*
%{_datadir}/servicetypes/*
%files libs
%defattr(-,root,root,-)
%{_libdir}/lib*.so.*
%{_libdir}/lib*.la
%files devel
%defattr(-,root,root,-)
%{_libdir}/lib*.so
%{_includedir}/*
%changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Sat Oct 29 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT
- Based on SPEC file from Fedora: kdevelop 9:3.5.3-1

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

@ -0,0 +1,231 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.5.13
%endif
%define release 1
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
%define _docdir %{_prefix}/share/doc
%endif
# TDE 3.5.13 specific building variables
BuildRequires: autoconf automake libtool m4
%define tde_docdir %{_docdir}/kde
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
Name: trinity-kdewebdev
Version: %{?version}
Release: %{?release}%{?dist}%{?_variant}
License: GPL
Summary: Web development applications
Group: Applications/Editors
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdewebdev-%{version}.tar.gz
Source1: http://download.sourceforge.net/quanta/css.tar.bz2
Source2: http://download.sourceforge.net/quanta/html.tar.bz2
Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2
Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2
Source5: hi48-app-kxsldbg.png
Patch0: javascript.patch
Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch
BuildRequires: desktop-file-utils
BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdesdk-devel
BuildRequires: libxslt-devel libxml2-devel
%if 0%{?rhel} == 4
# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241)
BuildRequires: libgcrypt-devel
%endif
BuildRequires: perl
Requires: %{name}-libs = %{version}-%{release}
# optional
Requires: tidy
Provides: kdewebdev3 = %{version}-%{release}
Obsoletes: quanta < %{version}-%{release}
Provides: quanta = %{version}-%{release}
%define kommander_ver 1.2.2
#Obsoletes: kommander < %{kommander_ver}-%{release}
Provides: kommander = %{kommander_ver}-%{release}
%description
%{summary}, including:
* kfilereplace: batch search and replace tool
* kimagemapeditor: HTML image map editor
* klinkstatus: link checker
* kommander: visual dialog building tool
* kxsldbg: xslt Debugger
* quanta+: web development
%package devel
Group: Development/Libraries
Summary: Header files and documentation for %{name}
Provides: kdewebdev3-devel = %{version}-%{release}
Requires: trinity-kdelibs-devel
Requires: %{name}-libs
Obsoletes: quanta-devel < %{version}-%{release}
%description devel
%{summary}.
%package libs
Summary: %{name} runtime libraries
Group: System Environment/Libraries
Requires: trinity-kdelibs
# helps multilib upgrades
%description libs
%{summary}.
%prep
%setup -q -a 1 -a 2 -a 3 -a 4 -n kdewebdev
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
sed -i admin/acinclude.m4.in \
-e "s,/usr/include/tqt,%{_includedir}/tqt,g"
%patch0 -p0 -b .javascript
%patch1 -p1 -b .kxsldbg-icons
install -m644 -p %{SOURCE5} kxsldbg/
%__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 || : ; source /etc/profile.d/qt.sh
export PATH="%{_bindir}:${PATH}"
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
%if 0%{?fedora} >= 15
#export CXXFLAGS="${CXXFLAGS} -fpermissive"
%endif
%configure \
--includedir=%{tde_includedir} \
--disable-rpath \
--enable-new-ldflags \
--enable-closure \
--disable-debug --disable-warnings \
--disable-dependancy-tracking --enable-final \
--with-extra-includes=%{_includedir}/tqt \
%__make %{?_smp_mflags}
%install
export PATH="%{_bindir}:${PATH}"
%__rm -rf %{?buildroot}
%__make install DESTDIR=%{?buildroot}
## package separately? Why doesn't upstream include this? -- Rex
# install docs
for i in css html javascript ; do
pushd $i
./install.sh <<EOF
%{buildroot}%{_datadir}/apps/quanta/doc
EOF
popd
rm -rf $i
done
cp -a php php.docrc %{buildroot}%{_datadir}/apps/quanta/doc/
# make symlinks relative
pushd %{buildroot}%{_docdir}/HTML/en
for i in *; do
if [ -d $i -a -L $i/common ]; then
rm -f $i/common
ln -nfs ../common $i
fi
done
popd
# rpmdocs
for dir in k* quanta; do
for file in AUTHORS ChangeLog README TODO ; do
test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
done
done
%post
for f in crystalsvg hicolor locolor ; 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
for f in crystalsvg hicolor locolor ; 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 || :
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%clean
%__rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%doc rpmdocs/*
%{_bindir}/*
%{tde_libdir}/*
%{_datadir}/applications/kde/*
%{_datadir}/applnk/.hidden/*
%{_datadir}/apps/*
%doc %{_datadir}/apps/quanta/doc
%{_datadir}/config.kcfg/*
%{_datadir}/icons/crystalsvg/*/*/*
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/icons/locolor/*/*/*
%{_datadir}/mimelnk/application/*
%{_datadir}/services/*
%{_datadir}/servicetypes/*
%doc %lang(en) %{_docdir}/HTML/en/*
%files libs
%defattr(-,root,root,-)
%{_libdir}/lib*.so.*
%{_libdir}/lib*.la
%files devel
%defattr(-,root,root,-)
%{_libdir}/lib*.so
%{tde_includedir}/*
%changelog
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT

@ -0,0 +1,96 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.5.13
%endif
%define release 1
# 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-desktop
Version: %{version}
Release: %{?release}%{?dist}%{?_variant}
License: GPL
Summary: Meta-package to install TDE
Group: User Interface/Desktops
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: trinity-kdeaccessibility >= %{version}
Requires: trinity-kdeaddons >= %{version}
Requires: trinity-kdeadmin >= %{version}
Requires: trinity-kdeartwork >= %{version}
Requires: trinity-kdeartwork-icons >= %{version}
Requires: trinity-kdebase >= %{version}
Requires: trinity-kdebindings >= %{version}
Requires: trinity-kdeedu >= %{version}
Requires: trinity-kdegames >= %{version}
Requires: trinity-kdegraphics >= %{version}
Requires: trinity-kdemultimedia >= %{version}
Requires: trinity-kdenetwork >= %{version}
Requires: trinity-kdepim >= %{version}
Requires: trinity-kdeutils >= %{version}
Requires: trinity-kdetoys >= %{version}
%description
The TDE project aims to keep the KDE3.5 computing style alive, as well as
polish off any rough edges that were present as of KDE 3.5.10. Along
the way, new useful features will be added to keep the environment
up-to-date.
Toward that end, significant new enhancements have already been made in
areas such as display control, network connectivity, user
authentication, and much more!
%package dev
Group: User Interface/Desktops
Summary: Meta-package to install TDE development tools
Requires: trinity-kdesdk >= %{version}
Requires: trinity-kdevelop >= %{version}
Requires: trinity-kdewebdev >= %{version}
%description dev
%{summary}
%package extras
Group: User Interface/Desktops
Summary: Meta-package to install extra TDE packages
Requires: trinity-kdeaddons-extras >= %{version}
Requires: trinity-kdebase-extras >= %{version}
Requires: trinity-kdegraphics-extras >= %{version}
Requires: trinity-kdemultimedia-extras >= %{version}
Requires: trinity-kdenetwork-extras >= %{version}
Requires: trinity-kdeutils-extras >= %{version}
%description extras
%{summary}
%package all
Group: User Interface/Desktops
Summary: Meta-package to install all TDE packages
Requires: %{name} == %{version}
Requires: %{name}-dev == %{version}
Requires: %{name}-extras == %{version}
%description all
%{summary}
%files
%files dev
%files extras
%files all
Loading…
Cancel
Save