Push working tdelibs (rpmlint errors don't count)

pull/3/head
Robert Xu 13 years ago
parent 5d7b5e6def
commit 481b46fdd0

@ -2,3 +2,4 @@
_build* _build*
.osc .osc
.metadata .metadata
*.tar.bz2

@ -0,0 +1,3 @@
#!/bin/bash
osc build -b -d --local-package --alternative-project=home:bravoall1552:tde3.5.13 openSUSE_12.1 i586

@ -0,0 +1,5 @@
#!/bin/bash
osc vc || exit 1
osc add .
osc ci

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>arts</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>org.eclipse.linuxtools.rpm.core.rpmnature</nature>
</natures>
</projectDescription>

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 22 02:14:29 UTC 2012 - robxu9@gmail.com
- Fix paths
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Aug 21 02:15:14 UTC 2011 - rxu@lincomlinux.org Sun Aug 21 02:15:14 UTC 2011 - rxu@lincomlinux.org

@ -25,7 +25,7 @@ License: GPLv2+
Group: Productivity/Multimedia/Sound/Players Group: Productivity/Multimedia/Sound/Players
Summary: Modular Software Synthesizer Summary: Modular Software Synthesizer
PreReq: permissions PreReq: permissions
Version: 1.5.10 Version: R13.99
Release: 1 Release: 1
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
Source1: artswrapper.7.gz Source1: artswrapper.7.gz
@ -34,7 +34,7 @@ Patch2: no-informational-messages.diff
Patch5: arts-vorbis-fix.dif Patch5: arts-vorbis-fix.dif
Patch7: fortify_source.patch Patch7: fortify_source.patch
Patch8: arts-start-on-demand.diff Patch8: arts-start-on-demand.diff
Patch9: avoid_la_files.diff #Patch9: avoid_la_files.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -107,10 +107,10 @@ Authors:
%patch5 %patch5
%patch7 %patch7
%patch8 %patch8
%patch9 #%patch9
%build %build
CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -DNDEBUG" CFLAGS="$CXXFLAGS" %cmake_tde -d build -- -DWITH_MAD=OFF -DCMAKE_SKIP_RPATH=OFF CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -DNDEBUG" CFLAGS="$CXXFLAGS" %cmake_tdeusr -d build -- -DWITH_MAD=OFF -DCMAKE_SKIP_RPATH=OFF
# shut off MAD support because that is only available in packman # shut off MAD support because that is only available in packman
@ -128,70 +128,68 @@ CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -DNDEBUG" CFLAGS="$CXXFLAGS" %cmake_tde -d bu
%install %install
%makeinstall_tde -d build %makeinstall_tde -d build
%ifarch x86_64 %ifarch x86_64
mkdir -p $RPM_BUILD_ROOT/%{_tde_prefix}/lib mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib
ln -sf ../lib64/mcop $RPM_BUILD_ROOT/%{_tde_prefix}/lib/mcop ln -sf ../lib64/mcop $RPM_BUILD_ROOT/%{_prefix}/lib/mcop
%endif %endif
mkdir -p -m 755 $RPM_BUILD_ROOT/%_mandir/man7 mkdir -p -m 755 $RPM_BUILD_ROOT/%_mandir/man7
cp %SOURCE1 $RPM_BUILD_ROOT/%_mandir/man7/ cp %SOURCE1 $RPM_BUILD_ROOT/%_mandir/man7/
# unneeded # unneeded
rm -rf %{buildroot}/%{_tde_libdir}/*.la rm -rf %{buildroot}/%{_libdir}/*.la
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post %post
%run_ldconfig /sbin/ldconfig
%run_permissions %run_permissions
%postun %postun -p /sbin/ldconfig
%run_ldconfig
%post gmcop %post gmcop -p /sbin/ldconfig
%run_ldconfig
%postun gmcop %postun gmcop
%run_ldconfig /sbin/ldconfig
%verifyscript %verifyscript
%verify_permissions -e %{_tde_bindir}/artswrapper %verify_permissions -e %{_bindir}/artswrapper
%files %files
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc COPYING.LIB COPYING %doc COPYING.LIB COPYING
%dir %{_tde_prefix} %dir %{_prefix}
%dir %{_tde_bindir} %dir %{_bindir}
%{_tde_bindir}/artscat %{_bindir}/artscat
%{_tde_bindir}/arts[dpsr]* %{_bindir}/arts[dpsr]*
%verify(not mode) %{_tde_bindir}/artswrapper %verify(not mode) %{_bindir}/artswrapper
%dir %{_tde_libdir} %dir %{_libdir}
%{_tde_libdir}/libarts*.so.* %{_libdir}/libarts*.so.*
%{_tde_libdir}/libkmedia2*.so.* %{_libdir}/libkmedia2*.so.*
%{_tde_libdir}/libmcop.so.* %{_libdir}/libmcop.so.*
%{_tde_libdir}/libmcop_mt.so.* %{_libdir}/libmcop_mt.so.*
%{_tde_libdir}/libqtmcop.so.* %{_libdir}/libqtmcop.so.*
%{_tde_libdir}/libsoundserver_idl.so.* %{_libdir}/libsoundserver_idl.so.*
# these need to be in the base package for lt_dlopen() # these need to be in the base package for lt_dlopen()
%{_tde_libdir}/*.so %{_libdir}/*.so
%{_tde_libdir}/mcop %{_libdir}/mcop
%ifarch x86_64 %ifarch x86_64
%{_tde_prefix}/lib %{_prefix}/lib
%endif %endif
%{_mandir}/man7/artswrapper.7.gz %{_mandir}/man7/artswrapper.7.gz
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_tde_bindir}/artsc-config %{_bindir}/artsc-config
%{_tde_bindir}/mcopidl %{_bindir}/mcopidl
%dir %{_tde_includedir} %dir %{_includedir}
%{_tde_includedir}/* %{_includedir}/*
%{_libdir}/pkgconfig/arts.pc %{_libdir}/pkgconfig/arts.pc
%files devel-static %files devel-static
%defattr(-,root,root) %defattr(-,root,root)
%{_tde_libdir}/libgsl.a %{_libdir}/libartsgsl.a
%files gmcop %files gmcop
%defattr(-,root,root) %defattr(-,root,root)
%{_tde_libdir}/libgmcop.so.* %{_libdir}/libgmcop.so.*
%changelog %changelog

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>libdbus-1-tqt-0</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>org.eclipse.linuxtools.rpm.core.rpmnature</nature>
</natures>
</projectDescription>

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 2 03:12:24 UTC 2012 - robxu9@gmail.com
- update to R13.99
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 13 15:57:46 UTC 2011 - rxu@lincomlinux.org Sat Aug 13 15:57:46 UTC 2011 - rxu@lincomlinux.org

@ -1,5 +1,5 @@
# #
# spec file for package libdbus-1-tqt-0 # spec file for package libdbus-1-tqt0
# #
# Copyright (c) 2011 the Trinity Project (opensuse). # Copyright (c) 2011 the Trinity Project (opensuse).
# #
@ -18,28 +18,23 @@
# norootforbuild # norootforbuild
Name: libdbus-1-tqt-0 Name: libdbus-1-tqt0
Url: http://www.freedesktop.org/wiki/Software/DBusBindings Url: http://www.freedesktop.org/wiki/Software/DBusBindings
%define appname libdbus-1-tqt %define appname dbus-1-tqt
BuildRequires: dbus-1-devel libtqt4-devel cmake BuildRequires: dbus-1-devel libtqt4-devel cmake
License: GPL v2 or later License: GPL v2 or later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
AutoReqProv: on AutoReqProv: on
Version: 0.8.1 Version: R13.99
Release: 1 Release: 1
Summary: TQt DBus Bindings Summary: TQt DBus Bindings
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{appname}-%{version}.tar.bz2 Source0: %{appname}-%{version}.tar.bz2
Patch1: fix_ifdef.patch Provides: libdbus-1-tqt-0
Patch2: r785103.patch
Patch3: r795238.patch
Patch4: fix_circular_destructor.patch
%description %description
This library provides TQt-classes for accessing the DBus This library provides TQt-classes for accessing the DBus
Authors: Authors:
-------- --------
Kevin Krammer <kevin.krammer@gmx.at> Kevin Krammer <kevin.krammer@gmx.at>
@ -62,14 +57,14 @@ Authors:
-------- --------
Kevin Krammer <kevin.krammer@gmx.at> Kevin Krammer <kevin.krammer@gmx.at>
%package -n dbusxml2tqt %package -n dbusxml2qt3
License: GPL v2 or later License: GPL v2 or later
Summary: Generate TQt-classes from DBus-introspection data Summary: Generate Qt3-classes from DBus-introspection data
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description -n dbusxml2tqt %description -n dbusxml2qt3
dbusxml2tqt allows to generate TQt-classes from DBus-introspection data dbusxml2tqt allows to generate TQt-compatible Qt3 classes from DBus-introspection data
@ -79,18 +74,28 @@ Authors:
%prep %prep
%setup -n %{appname}-%{version} -q %setup -n %{appname}-%{version} -q
%patch1
%patch2 -p1
%patch3 -p0
%patch4 -p0
%build %build
mkdir build mkdir build
cd build cd build
cmake ../ cmake -DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \
-DLIB_INSTALL_DIR:PATH=%{_libdir} \
-DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir} \
-DLIB_SUFFIX=`$(echo %_lib | cut -b4-)` \
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DPKGCONFIG_INSTALL_DIR=%{_libdir}/pkgconfig \
-DMAN_INSTALL_DIR=%{_mandir} \
-DINFO_INSTALL_DIR=%{_infodir} \
../
%{__make} %{?jobs:-j%jobs} %{__make} %{?jobs:-j%jobs}
%install %install
cd build
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
#install -D -m 0755 ./tools/dbusxml2qt3/dbusxml2qt3 $RPM_BUILD_ROOT%{_bindir}/dbusxml2tqt #install -D -m 0755 ./tools/dbusxml2qt3/dbusxml2qt3 $RPM_BUILD_ROOT%{_bindir}/dbusxml2tqt
%{__rm} -f %{buildroot}%{_libdir}/*.la %{__rm} -f %{buildroot}%{_libdir}/*.la
@ -106,30 +111,28 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root) %defattr(-,root,root)
%doc README AUTHORS ChangeLog COPYING INSTALL %doc README AUTHORS ChangeLog COPYING INSTALL
%{_libdir}/libdbus-1-tqt.so.0 %{_libdir}/libdbus-1-tqt.so.0
%{_libdir}/libdbus-1-tqt.so.0.8.1 %{_libdir}/libdbus-1-tqt.so.0.0.0
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libdbus-1-tqt.so %{_libdir}/libdbus-1-tqt.so
%dir %{_includedir}/dbus-1.0/tqt %{_includedir}/tqdbusconnection.h
%dir %{_includedir}/dbus-1.0/tqt/dbus %{_includedir}/tqdbusdata.h
%{_includedir}/dbus-1.0/tqt/dbus/tqdbusconnection.h %{_includedir}/tqdbusdataconverter.h
%{_includedir}/dbus-1.0/tqt/dbus/tqdbusdata.h %{_includedir}/tqdbusdatalist.h
%{_includedir}/dbus-1.0/tqt/dbus/tqdbusdataconverter.h %{_includedir}/tqdbusdatamap.h
%{_includedir}/dbus-1.0/tqt/dbus/tqdbusdatalist.h %{_includedir}/tqdbuserror.h
%{_includedir}/dbus-1.0/tqt/dbus/tqdbusdatamap.h %{_includedir}/tqdbusmacros.h
%{_includedir}/dbus-1.0/tqt/dbus/tqdbuserror.h %{_includedir}/tqdbusmessage.h
%{_includedir}/dbus-1.0/tqt/dbus/tqdbusmacros.h %{_includedir}/tqdbusobject.h
%{_includedir}/dbus-1.0/tqt/dbus/tqdbusmessage.h %{_includedir}/tqdbusobjectpath.h
%{_includedir}/dbus-1.0/tqt/dbus/tqdbusobject.h %{_includedir}/tqdbusproxy.h
%{_includedir}/dbus-1.0/tqt/dbus/tqdbusobjectpath.h %{_includedir}/tqdbusvariant.h
%{_includedir}/dbus-1.0/tqt/dbus/tqdbusproxy.h
%{_includedir}/dbus-1.0/tqt/dbus/tqdbusvariant.h
%{_libdir}/pkgconfig/dbus-1-tqt.pc %{_libdir}/pkgconfig/dbus-1-tqt.pc
%files -n dbusxml2tqt %files -n dbusxml2qt3
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/dbusxml2tqt %{_bindir}/dbusxml2qt3
%changelog %changelog

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>libdbus-tqt-1-0</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>org.eclipse.linuxtools.rpm.core.rpmnature</nature>
</natures>
</projectDescription>

@ -1,5 +1,5 @@
# #
# spec file for package dbus-1-tqt # spec file for package libdbus-tqt-1-0
# #
# Copyright (c) 2011 the Trinity Project (opensuse). # Copyright (c) 2011 the Trinity Project (opensuse).
# #
@ -23,7 +23,7 @@ BuildRequires: dbus-1 dbus-1-devel libtqt4-devel cmake
URL: http://dbus.freedesktop.org/ URL: http://dbus.freedesktop.org/
License: GPLv2+ License: GPLv2+
Group: Development/Libraries/TDE Group: Development/Libraries/TDE
Version: 0.62 Version: R13.99
Release: 1 Release: 1
AutoReqProv: on AutoReqProv: on
Summary: TQt/KDE bindings for D-Bus Summary: TQt/KDE bindings for D-Bus
@ -33,7 +33,7 @@ Patch0: dbus-qt3-compile-fix-thoenig-01.patch
Patch1: dbus-qt3-do-not-close-shared-connection-thoenig-01.patch Patch1: dbus-qt3-do-not-close-shared-connection-thoenig-01.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`) Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`)
Provides: dbus-1-tqt Provides: dbus-tqt
%package devel %package devel
License: Other uncritical OpenSource License License: Other uncritical OpenSource License
@ -41,7 +41,7 @@ Summary: Developer package for TQt/KDE bindings for D-Bus
Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`) Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`)
Requires: dbus-1-devel >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1-devel`) Requires: dbus-1-devel >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1-devel`)
Requires: %{name} = %{version} Requires: %{name} = %{version}
Provides: dbus-1-tqt-devel Provides: dbus-tqt-devel
AutoReqProv: on AutoReqProv: on
Group: Development/Libraries/TDE Group: Development/Libraries/TDE
@ -100,17 +100,17 @@ export CFLAGS="${RPM_OPT_FLAGS}"
export CXXFLAGS="${RPM_OPT_FLAGS}" export CXXFLAGS="${RPM_OPT_FLAGS}"
mkdir build mkdir build
cd build cd build
cmake -DCMAKE_SKIP_RPATH=ON \\\ cmake -DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \\\ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \\\ -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
      -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\       -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \
-DLIB_INSTALL_DIR:PATH=%{_libdir} \\\ -DLIB_INSTALL_DIR:PATH=%{_libdir} \
-DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir} \\\ -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir} \
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\ -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
-DCMAKE_VERBOSE_MAKEFILE=ON \\\ -DCMAKE_VERBOSE_MAKEFILE=ON \
      -DQT_LIBRARY_DIRS=/usr/lib/qt3/%{_lib} \\\       -DQT_LIBRARY_DIRS=/usr/lib/qt3/%{_lib} \
      -DQT_INCLUDE_DIRS=/usr/lib/qt3/include \\\       -DQT_INCLUDE_DIRS=/usr/lib/qt3/include \
-DPKGCONFIG_INSTALL_DIR=%{_libdir}/pkgconfig \\\ -DPKGCONFIG_INSTALL_DIR=%{_libdir}/pkgconfig \
-DMAN_INSTALL_DIR=%{_mandir} \ -DMAN_INSTALL_DIR=%{_mandir} \
../ ../
make make

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>libtqt4</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>org.eclipse.linuxtools.rpm.core.rpmnature</nature>
</natures>
</projectDescription>

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 2 03:06:14 UTC 2012 - robxu9@gmail.com
- Update to version R13.99 with Qt3 3.4.0 compat
- Fix group of libtqt4-devel
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 20 22:47:41 UTC 2011 - rxu@lincomlinux.org Sat Aug 20 22:47:41 UTC 2011 - rxu@lincomlinux.org

@ -21,7 +21,7 @@ Name: libtqt4
License: GPLv2+ License: GPLv2+
Group: Graphical Desktop/TDE Group: Graphical Desktop/TDE
Summary: Interface and abstraction library for Qt and Trinity Summary: Interface and abstraction library for Qt and Trinity
Version: 3.5.12.99 Version: R13.99
Release: 1 Release: 1
Source0: tqtinterface-%{version}.tar.bz2 Source0: tqtinterface-%{version}.tar.bz2
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
@ -32,13 +32,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define with_qt4 0 %define with_qt4 0
%if %{with_qt3} %if %{with_qt3}
BuildRequires: qt3-devel >= 3.3.8c BuildRequires: qt3-devel >= 3.4.0
Requires: qt3 >= 3.3.8c Requires: qt3 >= 3.4.0
%endif %endif
%if %{with_qt4} %if %{with_qt4}
BuildRequires: libqt4-devel >= 4.7.0 BuildRequires: libqt4-devel >= 4.8.0
Requires: libqt4-x11 >= 4.7.0 Requires: libqt4-x11 >= 4.8.0
%endif %endif
BuildRequires: cmake BuildRequires: cmake
@ -66,13 +66,13 @@ Authors:
%package devel %package devel
Summary: TQtinterface header files Summary: TQtinterface header files
Group: Graphical Desktop/TDE Group: Development/Libraries/TDE
Requires: libtqt4 = %{version} Requires: libtqt4 = %{version}
%if %{with_qt3} %if %{with_qt3}
Requires: qt3-devel >= 3.3.8c Requires: qt3-devel >= 3.4.0
%endif %endif
%if %{with_qt4} %if %{with_qt4}
Requires: libqt4-devel >= 4.7.0 Requires: libqt4-devel >= 4.8.0
%endif %endif
%description devel %description devel
This package contains Trinity specific window options and commands. This package contains Trinity specific window options and commands.

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>qt3</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>org.eclipse.linuxtools.rpm.core.rpmnature</nature>
</natures>
</projectDescription>

@ -1,3 +0,0 @@
<services>
<service name="download_files"><param name="recompress">yes</param></service>
</services>

@ -1,63 +0,0 @@
Index: src/kernel/qgplugin.h
================================================================================
--- src/kernel/qgplugin.h
+++ src/kernel/qgplugin.h
@@ -93,35 +93,19 @@
return i->iface(); \
}
-# ifdef Q_WS_WIN
-# ifdef Q_CC_BOR
-# define Q_EXPORT_PLUGIN(PLUGIN) \
- Q_PLUGIN_VERIFICATION_DATA \
- Q_EXTERN_C __declspec(dllexport) \
- const char * __stdcall qt_ucm_query_verification_data() \
- { return qt_ucm_verification_data; } \
- Q_EXTERN_C __declspec(dllexport) QUnknownInterface* \
- __stdcall ucm_instantiate() \
- Q_PLUGIN_INSTANTIATE( PLUGIN )
-# else
-# define Q_EXPORT_PLUGIN(PLUGIN) \
- Q_PLUGIN_VERIFICATION_DATA \
- Q_EXTERN_C __declspec(dllexport) \
- const char *qt_ucm_query_verification_data() \
- { return qt_ucm_verification_data; } \
- Q_EXTERN_C __declspec(dllexport) QUnknownInterface* ucm_instantiate() \
- Q_PLUGIN_INSTANTIATE( PLUGIN )
-# endif
-# else
-# define Q_EXPORT_PLUGIN(PLUGIN) \
+#if defined(Q_WS_WIN) && defined(Q_CC_BOR)
+# define Q_STDCALL __stdcall
+#else
+# define Q_STDCALL
+#endif
+
+#define Q_EXPORT_PLUGIN(PLUGIN) \
Q_PLUGIN_VERIFICATION_DATA \
- Q_EXTERN_C \
- const char *qt_ucm_query_verification_data() \
+ Q_EXTERN_C Q_EXPORT \
+ const char * Q_STDCALL qt_ucm_query_verification_data() \
{ return qt_ucm_verification_data; } \
- Q_EXTERN_C QUnknownInterface* ucm_instantiate() \
+ Q_EXTERN_C Q_EXPORT QUnknownInterface* Q_STDCALL ucm_instantiate() \
Q_PLUGIN_INSTANTIATE( PLUGIN )
-# endif
-
#endif
struct QUnknownInterface;
--- src/tools/qglobal.h
+++ src/tools/qglobal.h
@@ -885,6 +885,10 @@
# define Q_TEMPLATE_EXTERN
# undef Q_DISABLE_COPY /* avoid unresolved externals */
# endif
+#elif defined(Q_CC_GNU) && __GNUC__ - 0 >= 4
+# define Q_EXPORT __attribute__((visibility("default")))
+# undef QT_MAKEDLL /* ignore these for other platforms */
+# undef QT_DLL
#else
# undef QT_MAKEDLL /* ignore these for other platforms */
# undef QT_DLL

@ -1,11 +0,0 @@
--- tools/designer/plugins/plugins.pro
+++ tools/designer/plugins/plugins.pro
@@ -4,6 +4,7 @@
dlg \
glade \
rc \
- kdevdlg
+ kdevdlg \
+ glade
shared:SUBDIRS *= $$PLUGIN_DIRS
dll:SUBDIRS *= $$PLUGIN_DIRS

@ -1,10 +0,0 @@
--- tools/linguist/shared/proparser.cpp
+++ tools/linguist/shared/proparser.cpp
@@ -207,6 +207,7 @@ QMap<QString, QString> proFileTagMap( const QString& text )
buff[read_in] = '\0';
after += buff;
}
+ pclose( proc );
(*it).replace( i, callToSystem.matchedLength(), after );
i += after.length();
}

@ -1,15 +0,0 @@
--- src/tools/qcstring.h (revision 658213)
+++ src/tools/qcstring.h (working copy)
@@ -164,7 +164,11 @@ public:
QCString copy() const;
- QCString &sprintf( const char *format, ... );
+ QCString &sprintf( const char *format, ... )
+#if defined(Q_CC_GNU) && !defined(__INSURE__)
+ __attribute__ ((format (printf, 2, 3)))
+#endif
+ ;
int find( char c, int index=0, bool cs=TRUE ) const;
int find( const char *str, int index=0, bool cs=TRUE ) const;

@ -1,6 +1,8 @@
--- src/kernel/qapplication.cpp Index: src/kernel/qapplication.cpp
===================================================================
--- src/kernel/qapplication.cpp.orig
+++ src/kernel/qapplication.cpp +++ src/kernel/qapplication.cpp
@@ -320,6 +320,7 @@ @@ -320,6 +320,7 @@ void qt_init( int *, char **, QApplicati
void qt_cleanup(); void qt_cleanup();
#if defined(Q_WS_X11) #if defined(Q_WS_X11)
void qt_init( Display* dpy, Qt::HANDLE, Qt::HANDLE ); void qt_init( Display* dpy, Qt::HANDLE, Qt::HANDLE );
@ -8,7 +10,7 @@
#endif #endif
Q_EXPORT bool qt_tryModalHelper( QWidget *widget, QWidget **rettop ); Q_EXPORT bool qt_tryModalHelper( QWidget *widget, QWidget **rettop );
@@ -908,7 +909,7 @@ @@ -908,7 +909,7 @@ QApplication::QApplication(Display *dpy,
qt_init( &argc, argv, GuiClient ); qt_init( &argc, argv, GuiClient );
} else { } else {
@ -17,9 +19,11 @@
} }
process_cmdline( &argc, argv ); process_cmdline( &argc, argv );
--- src/kernel/qapplication_x11.cpp Index: src/kernel/qapplication_x11.cpp
===================================================================
--- src/kernel/qapplication_x11.cpp.orig
+++ src/kernel/qapplication_x11.cpp +++ src/kernel/qapplication_x11.cpp
@@ -201,6 +201,7 @@ @@ -201,6 +201,7 @@ static bool mwIconic = FALSE; // main wi
static Display *appDpy = 0; // X11 application display static Display *appDpy = 0; // X11 application display
static char *appDpyName = 0; // X11 display name static char *appDpyName = 0; // X11 display name
static bool appForeignDpy = FALSE; // we didn't create display static bool appForeignDpy = FALSE; // we didn't create display
@ -27,16 +31,16 @@
static bool appSync = FALSE; // X11 synchronization static bool appSync = FALSE; // X11 synchronization
#if defined(QT_DEBUG) #if defined(QT_DEBUG)
static bool appNoGrab = FALSE; // X11 grabbing enabled static bool appNoGrab = FALSE; // X11 grabbing enabled
@@ -1632,7 +1633,7 @@ @@ -1651,7 +1652,7 @@ void qt_init_internal( int *argcptr, cha
setlocale( LC_ALL, "" ); // use correct char set mapping }
setlocale( LC_NUMERIC, "C" ); // make sprintf()/scanf() work #endif
- if ( display ) { - if ( display ) {
+ if ( display && ! qt_no_foreign_hack ) { + if ( display && ! qt_no_foreign_hack ) {
// Qt part of other application // Qt part of other application
appForeignDpy = TRUE; appForeignDpy = TRUE;
@@ -2432,6 +2433,10 @@ @@ -2464,6 +2465,10 @@ void qt_init( Display *display, Qt::HAND
qt_init_internal( 0, 0, display, visual, colormap ); qt_init_internal( 0, 0, display, visual, colormap );
} }

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Feb 2 01:16:04 UTC 2012 - robxu9@gmail.com
- Remove obsolete patches, update .in files, feel accomplished
-------------------------------------------------------------------
Wed Feb 1 23:15:48 UTC 2012 - robxu9@gmail.com
- Update to 3.4.0, which includes a breaking ABI change
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 19 23:23:57 UTC 2011 - andrea@nucleus.it Sat Nov 19 23:23:57 UTC 2011 - andrea@nucleus.it

@ -1,7 +1,7 @@
# #
# spec file for package qt3-devel-doc # spec file for package qt3-devel-doc
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -30,7 +30,7 @@ License: GPL, QPL
AutoReqProv: on AutoReqProv: on
Summary: Documentation for the Qt 3 Development Kit Summary: Documentation for the Qt 3 Development Kit
Group: Documentation/HTML Group: Documentation/HTML
Version: 3.3.8d Version: 3.4.0
Release: 1 Release: 1
PreReq: /bin/grep PreReq: /bin/grep
BuildArch: noarch BuildArch: noarch
@ -39,7 +39,7 @@ Obsoletes: qt3-devel-tutorial
Requires: qt3-devel Requires: qt3-devel
# COMMON-BEGIN # COMMON-BEGIN
# COMMON-BEGIN # COMMON-BEGIN
Source0: http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/qt3-3.3.8.d.tar.gz Source0: qt3-%{version}.tar.bz2
Source1: build_script.sh Source1: build_script.sh
Source2: qtconfig3.desktop Source2: qtconfig3.desktop
Source3: qtrc Source3: qtrc
@ -51,7 +51,7 @@ Source9: linguist.desktop
Source5: linguist.png Source5: linguist.png
Source10: qt3.sh Source10: qt3.sh
Source11: qt3.csh Source11: qt3.csh
# Translations did not change at 3.3.8d # Translations did not change
Source12: qt3-3.3.8b-translations.tar.bz2 Source12: qt3-3.3.8b-translations.tar.bz2
Source102: baselibs.conf Source102: baselibs.conf
Source200: attributes Source200: attributes
@ -70,17 +70,13 @@ Patch31: limit-image-size.diff
Patch35: qt-transparency.patch Patch35: qt-transparency.patch
Patch37: 0055-qtextedit_zoom.patch Patch37: 0055-qtextedit_zoom.patch
Patch39: fix-qtranslator-crash.diff Patch39: fix-qtranslator-crash.diff
Patch42: add_qexport_visibility.patch
Patch54: kmenu-search-fix.diff Patch54: kmenu-search-fix.diff
Patch113: fix-assistant-path.patch Patch113: fix-assistant-path.patch
Patch117: qtimer-debug.diff Patch117: qtimer-debug.diff
Patch121: qt3-warnings.diff
Patch125: qcstring-format-warnings.diff
Patch127: mng-reading-fix.patch Patch127: mng-reading-fix.patch
Patch134: fix-xinput-clash.diff Patch134: fix-xinput-clash.diff
Patch135: parseFontName.diff Patch135: parseFontName.diff
Patch136: qt3-no-date.diff Patch136: qt3-no-date.diff
Patch137: popen-leak-fix.diff
Patch139: gcc46.diff Patch139: gcc46.diff
Patch140: revert-iodbc-to-uodbc.diff Patch140: revert-iodbc-to-uodbc.diff
@ -100,7 +96,7 @@ getting started with Qt in /usr/lib/qt3/doc.
%define build_sub_dirs src plugins/src tools/designer/uilib/ tools/designer/uic tools/qtconfig tools/assistant/lib tools/assistant tutorial %define build_sub_dirs src plugins/src tools/designer/uilib/ tools/designer/uic tools/qtconfig tools/assistant/lib tools/assistant tutorial
%prep %prep
%setup -q -n qt3 %setup -q
%patch1 %patch1
%patch2 %patch2
%patch4 %patch4
@ -117,22 +113,18 @@ fi
%patch35 %patch35
%patch37 %patch37
%patch39 %patch39
%patch42
%patch54 %patch54
%patch113 %patch113
%patch117 %patch117
%patch121
ln -sf $PWD/src/inputmethod/qinputcontextfactory.h include/ ln -sf $PWD/src/inputmethod/qinputcontextfactory.h include/
ln -sf $PWD/src/inputmethod/qinputcontextplugin.h include/ ln -sf $PWD/src/inputmethod/qinputcontextplugin.h include/
ln -sf $PWD/src/kernel/qinputcontext.h include/ ln -sf $PWD/src/kernel/qinputcontext.h include/
ln -sf $PWD/src/kernel/qinputcontextinterface_p.h include/private/ ln -sf $PWD/src/kernel/qinputcontextinterface_p.h include/private/
ln -sf $PWD/src/kernel/qximinputcontext_p.h include/private/ ln -sf $PWD/src/kernel/qximinputcontext_p.h include/private/
%patch125
%patch127 %patch127
%patch134 %patch134
%patch135 %patch135
%patch136 %patch136
%patch137
%patch139 %patch139
%patch140 %patch140
cd translations cd translations

@ -1,15 +1,23 @@
# #
# spec file for package qt3 (Version 3.3.8d) # spec file for package qt3-devel-doc
# #
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# #
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild # norootforbuild
Name: qt3-devel-doc Name: qt3-devel-doc
BuildRequires: cups-devel freeglut-devel freetype2-devel gcc-c++ pkgconfig update-desktop-files qt3-devel BuildRequires: cups-devel freeglut-devel freetype2-devel gcc-c++ pkgconfig update-desktop-files qt3-devel
%if %suse_version < 1130 %if %suse_version < 1130
@ -20,9 +28,9 @@ BuildRequires: libpng14-devel
URL: http://www.trolltech.com/ URL: http://www.trolltech.com/
License: GPL, QPL License: GPL, QPL
Autoreqprov: on Autoreqprov: on
Summary: Qt 3 Development Kit Summary: Documentation for the Qt 3 Development Kit
Group: Documentation/HTML Group: Documentation/HTML
Version: 3.3.8d Version: 3.4.0
Release: 1 Release: 1
PreReq: /bin/grep PreReq: /bin/grep
BuildArch: noarch BuildArch: noarch
@ -33,10 +41,15 @@ Requires: qt3-devel
# COMMON-END # COMMON-END
%description %description
You need this package if you want to compile programs with Qt 3. It This package contains the documentation for the Qt 3 Development Kit.
contains the "Qt Crossplatform Development Kit 2". You will find
include files, documentation, precompiled examples, and a tutorial for You will find documentation, precompiled examples, and a tutorial for
getting started with Qt in /usr/lib/qt3. getting started with Qt in /usr/lib/qt3/doc.
This package contains the documentation for the Qt 3 Development Kit.
You will find documentation, precompiled examples, and a tutorial for
getting started with Qt in /usr/lib/qt3/doc.
%build %build
export VERSION=%suse_version export VERSION=%suse_version
@ -88,4 +101,4 @@ rm -rf ${RPM_BUILD_ROOT}
/usr/share/applications/assistant3.desktop /usr/share/applications/assistant3.desktop
/usr/share/pixmaps/assistant3.png /usr/share/pixmaps/assistant3.png
%changelog -n qt3 %changelog

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Feb 2 01:16:04 UTC 2012 - robxu9@gmail.com
- Remove obsolete patches, update .in files, feel accomplished
-------------------------------------------------------------------
Wed Feb 1 23:15:48 UTC 2012 - robxu9@gmail.com
- Update to 3.4.0, which includes a breaking ABI change
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 19 23:23:57 UTC 2011 - andrea@nucleus.it Sat Nov 19 23:23:57 UTC 2011 - andrea@nucleus.it

@ -1,7 +1,7 @@
# #
# spec file for package qt3-extensions # spec file for package qt3-extensions
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -24,7 +24,7 @@ BuildRequires: cups-devel krb5-devel mysql-devel postgresql-devel qt3-devel sql
BuildRequires: fdupes BuildRequires: fdupes
%endif %endif
License: GPL, QPL License: GPL, QPL
Version: 3.3.8d Version: 3.4.0
Release: 1 Release: 1
AutoReqProv: on AutoReqProv: on
Requires: qt3 = %version Requires: qt3 = %version
@ -32,7 +32,7 @@ Group: Development/Tools/Other
Summary: Qt3 Extensions Summary: Qt3 Extensions
# COMMON-BEGIN # COMMON-BEGIN
# COMMON-BEGIN # COMMON-BEGIN
Source0: http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/qt3-3.3.8.d.tar.gz Source0: qt3-%{version}.tar.bz2
Source1: build_script.sh Source1: build_script.sh
Source2: qtconfig3.desktop Source2: qtconfig3.desktop
Source3: qtrc Source3: qtrc
@ -44,7 +44,7 @@ Source9: linguist.desktop
Source5: linguist.png Source5: linguist.png
Source10: qt3.sh Source10: qt3.sh
Source11: qt3.csh Source11: qt3.csh
# Translations did not change at 3.3.8d # Translations did not change
Source12: qt3-3.3.8b-translations.tar.bz2 Source12: qt3-3.3.8b-translations.tar.bz2
Source102: baselibs.conf Source102: baselibs.conf
Source200: attributes Source200: attributes
@ -63,17 +63,13 @@ Patch31: limit-image-size.diff
Patch35: qt-transparency.patch Patch35: qt-transparency.patch
Patch37: 0055-qtextedit_zoom.patch Patch37: 0055-qtextedit_zoom.patch
Patch39: fix-qtranslator-crash.diff Patch39: fix-qtranslator-crash.diff
Patch42: add_qexport_visibility.patch
Patch54: kmenu-search-fix.diff Patch54: kmenu-search-fix.diff
Patch113: fix-assistant-path.patch Patch113: fix-assistant-path.patch
Patch117: qtimer-debug.diff Patch117: qtimer-debug.diff
Patch121: qt3-warnings.diff
Patch125: qcstring-format-warnings.diff
Patch127: mng-reading-fix.patch Patch127: mng-reading-fix.patch
Patch134: fix-xinput-clash.diff Patch134: fix-xinput-clash.diff
Patch135: parseFontName.diff Patch135: parseFontName.diff
Patch136: qt3-no-date.diff Patch136: qt3-no-date.diff
Patch137: popen-leak-fix.diff
Patch139: gcc46.diff Patch139: gcc46.diff
Patch140: revert-iodbc-to-uodbc.diff Patch140: revert-iodbc-to-uodbc.diff
@ -89,7 +85,7 @@ Netscape plug-in modules.
%define build_sub_dirs src plugins/src tools/designer/uilib/ tools/designer/uic tools/qtconfig tools/assistant/lib tools/assistant tutorial %define build_sub_dirs src plugins/src tools/designer/uilib/ tools/designer/uic tools/qtconfig tools/assistant/lib tools/assistant tutorial
%prep %prep
%setup -q -n qt3 %setup -q
%patch1 %patch1
%patch2 %patch2
%patch4 %patch4
@ -106,22 +102,18 @@ fi
%patch35 %patch35
%patch37 %patch37
%patch39 %patch39
%patch42
%patch54 %patch54
%patch113 %patch113
%patch117 %patch117
%patch121
ln -sf $PWD/src/inputmethod/qinputcontextfactory.h include/ ln -sf $PWD/src/inputmethod/qinputcontextfactory.h include/
ln -sf $PWD/src/inputmethod/qinputcontextplugin.h include/ ln -sf $PWD/src/inputmethod/qinputcontextplugin.h include/
ln -sf $PWD/src/kernel/qinputcontext.h include/ ln -sf $PWD/src/kernel/qinputcontext.h include/
ln -sf $PWD/src/kernel/qinputcontextinterface_p.h include/private/ ln -sf $PWD/src/kernel/qinputcontextinterface_p.h include/private/
ln -sf $PWD/src/kernel/qximinputcontext_p.h include/private/ ln -sf $PWD/src/kernel/qximinputcontext_p.h include/private/
%patch125
%patch127 %patch127
%patch134 %patch134
%patch135 %patch135
%patch136 %patch136
%patch137
%patch139 %patch139
%patch140 %patch140
cd translations cd translations

@ -1,22 +1,30 @@
# #
# spec file for package qt3-extensions (Version 3.3.8d) # spec file for package qt3-extensions
# #
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# #
# Please submit bugfixes or comments via http://bugs.opensuse.org # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild # norootforbuild
Name: qt3-extensions Name: qt3-extensions
BuildRequires: cups-devel krb5-devel mysql-devel postgresql-devel qt3-devel sqlite2-devel unixODBC-devel update-desktop-files BuildRequires: cups-devel krb5-devel mysql-devel postgresql-devel qt3-devel sqlite2-devel unixODBC-devel update-desktop-files
%if %suse_version > 1020 %if %suse_version > 1020
BuildRequires: fdupes BuildRequires: fdupes
%endif %endif
License: GPL, QPL License: GPL, QPL
Version: 3.3.8d Version: 3.4.0
Release: 1 Release: 1
Autoreqprov: on Autoreqprov: on
Requires: qt3 = %version Requires: qt3 = %version
@ -26,17 +34,8 @@ Summary: Qt3 Extensions
# COMMON-END # COMMON-END
%description %description
Qt is a program library for developing applications with graphical user This package contains extension libraries for Qt 3, such as the
interfaces. It allows you to rapidly develop professional programs. The Netscape plug-in modules.
Qt library is available not only for Linux but for a great number of
Unices and even for Windows. Thus it is possible to write programs that
may be easily ported to those platforms.
You need a license for using Qt with a non-GPL application, which can
be acquired from sales@trolltech.com.
See /usr/share/doc/packages/qt3 for details about the new features of
the current Qt library!
%package -n qt3-devel-examples %package -n qt3-devel-examples
Summary: Programming Examples for Qt 3 Summary: Programming Examples for Qt 3
@ -46,17 +45,10 @@ Provides: qt3-examples
Obsoletes: qt3-examples Obsoletes: qt3-examples
%description -n qt3-devel-examples %description -n qt3-devel-examples
Qt is a program library for developing applications with graphical user This package contains small executables with code to demonstrate Qt
interfaces. It allows you to rapidly develop professional programs. The programming.
Qt library is available not only for Linux but for a great number of
Unices and even for Windows. Thus it is possible to write programs that
may be easily ported to those platforms.
You need a license for using Qt with a non-GPL application, which can Have a look in /usr/share/doc/packages/qt3/examples/.
be acquired from sales@trolltech.com.
See /usr/share/doc/packages/qt3 for details about the new features of
the current Qt library!
%package -n qt3-mysql %package -n qt3-mysql
Summary: MySQL Plug-In for Qt Summary: MySQL Plug-In for Qt
@ -64,17 +56,8 @@ Provides: qt3_database_plugin
Group: Productivity/Databases/Clients Group: Productivity/Databases/Clients
%description -n qt3-mysql %description -n qt3-mysql
Qt is a program library for developing applications with graphical user Plug-in for using the MySQL database with the generic Qt database
interfaces. It allows you to rapidly develop professional programs. The interface.
Qt library is available not only for Linux but for a great number of
Unices and even for Windows. Thus it is possible to write programs that
may be easily ported to those platforms.
You need a license for using Qt with a non-GPL application, which can
be acquired from sales@trolltech.com.
See /usr/share/doc/packages/qt3 for details about the new features of
the current Qt library!
%package -n qt3-unixODBC %package -n qt3-unixODBC
Summary: A UnixODBC Plug-In for Qt Summary: A UnixODBC Plug-In for Qt
@ -82,17 +65,8 @@ Provides: qt3_database_plugin
Group: Productivity/Databases/Clients Group: Productivity/Databases/Clients
%description -n qt3-unixODBC %description -n qt3-unixODBC
Qt is a program library for developing applications with graphical user A plug-in for using UnixODBC supported databases with the generic Qt
interfaces. It allows you to rapidly develop professional programs. The database interface.
Qt library is available not only for Linux but for a great number of
Unices and even for Windows. Thus it is possible to write programs that
may be easily ported to those platforms.
You need a license for using Qt with a non-GPL application, which can
be acquired from sales@trolltech.com.
See /usr/share/doc/packages/qt3 for details about the new features of
the current Qt library!
%package -n qt3-postgresql %package -n qt3-postgresql
Summary: A PostgreSQL Plug-In for Qt Summary: A PostgreSQL Plug-In for Qt
@ -100,17 +74,8 @@ Provides: qt3_database_plugin
Group: Productivity/Databases/Clients Group: Productivity/Databases/Clients
%description -n qt3-postgresql %description -n qt3-postgresql
Qt is a program library for developing applications with graphical user A Plug-in for using the PostgreSQL database with the generic Qt
interfaces. It allows you to rapidly develop professional programs. The database interface.
Qt library is available not only for Linux but for a great number of
Unices and even for Windows. Thus it is possible to write programs that
may be easily ported to those platforms.
You need a license for using Qt with a non-GPL application, which can
be acquired from sales@trolltech.com.
See /usr/share/doc/packages/qt3 for details about the new features of
the current Qt library!
%package -n qt3-sqlite %package -n qt3-sqlite
Summary: SQLite Database Plug-In for Qt Summary: SQLite Database Plug-In for Qt
@ -118,17 +83,8 @@ Provides: qt3_database_plugin
Group: Development/Tools/Other Group: Development/Tools/Other
%description -n qt3-sqlite %description -n qt3-sqlite
Qt is a program library for developing applications with graphical user The Qt database supports SQLite with this plug-in. (No configured and
interfaces. It allows you to rapidly develop professional programs. The running daemon is required.)
Qt library is available not only for Linux but for a great number of
Unices and even for Windows. Thus it is possible to write programs that
may be easily ported to those platforms.
You need a license for using Qt with a non-GPL application, which can
be acquired from sales@trolltech.com.
See /usr/share/doc/packages/qt3 for details about the new features of
the current Qt library!
%package -n qt3-devel-tools %package -n qt3-devel-tools
Summary: User Interface Builder and other tools (designer, assistant, linguist) Summary: User Interface Builder and other tools (designer, assistant, linguist)
@ -139,17 +95,9 @@ Obsoletes: qt3-designer
Group: Development/Tools/GUI Builders Group: Development/Tools/GUI Builders
%description -n qt3-devel-tools %description -n qt3-devel-tools
Qt is a program library for developing applications with graphical user The designer creates .ui files. The uic generates C++ code from these
interfaces. It allows you to rapidly develop professional programs. The files. The package also contains the Qt Assistant (Qt documentation
Qt library is available not only for Linux but for a great number of browser) and the Qt Linguist (for translations).
Unices and even for Windows. Thus it is possible to write programs that
may be easily ported to those platforms.
You need a license for using Qt with a non-GPL application, which can
be acquired from sales@trolltech.com.
See /usr/share/doc/packages/qt3 for details about the new features of
the current Qt library!
%package -n qt3-man %package -n qt3-man
Summary: Qt 3 Man Pages Summary: Qt 3 Man Pages
@ -159,18 +107,7 @@ Conflicts: qtman qt-man
Group: Documentation/Man Group: Documentation/Man
%description -n qt3-man %description -n qt3-man
Qt is a program library for developing applications with graphical user This package contains all the man pages for all the Qt 3 classes.
interfaces. It allows you to rapidly develop professional programs. The
Qt library is available not only for Linux but for a great number of
Unices and even for Windows. Thus it is possible to write programs that
may be easily ported to those platforms.
You need a license for using Qt with a non-GPL application, which can
be acquired from sales@trolltech.com.
See /usr/share/doc/packages/qt3 for details about the new features of
the current Qt library!
%build %build
export QTDIR=/usr/lib/qt3/ export QTDIR=/usr/lib/qt3/
export WLIB=%_lib export WLIB=%_lib
@ -357,4 +294,4 @@ rm -rf ${RPM_BUILD_ROOT}
%defattr(-,root,root) %defattr(-,root,root)
%{_mandir}/man*/* %{_mandir}/man*/*
%changelog -n qt3-extensions %changelog

@ -1,13 +0,0 @@
Index: src/kernel/qimage.h
===================================================================
--- src/kernel/qimage.h (revision 594273)
+++ src/kernel/qimage.h (working copy)
@@ -58,7 +58,7 @@ public:
QCString lang;
bool operator< (const QImageTextKeyLang& other) const
- { return key < other.key || key==other.key && lang < other.lang; }
+ { return key < other.key || (key==other.key && lang < other.lang); }
bool operator== (const QImageTextKeyLang& other) const
{ return key==other.key && lang==other.lang; }
};

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Feb 2 01:16:04 UTC 2012 - robxu9@gmail.com
- Remove obsolete patches, update .in files, feel accomplished
-------------------------------------------------------------------
Wed Feb 1 23:15:48 UTC 2012 - robxu9@gmail.com
- Update to 3.4.0, which includes a breaking ABI change
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 19 23:23:57 UTC 2011 - andrea@nucleus.it Sat Nov 19 23:23:57 UTC 2011 - andrea@nucleus.it

@ -1,7 +1,7 @@
# #
# spec file for package qt3 # spec file for package qt3
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -34,13 +34,13 @@ Obsoletes: qt3-64bit
%endif %endif
# #
Summary: A library for developing applications with graphical user interfaces Summary: A library for developing applications with graphical user interfaces
Version: 3.3.8d Version: 3.4.0
Release: 110 Release: 1
Provides: qt_library_%version Provides: qt_library_%version
Recommends: kdelibs3-default-style Recommends: kdelibs3-default-style
PreReq: /bin/grep PreReq: /bin/grep
# COMMON-BEGIN # COMMON-BEGIN
Source0: http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/qt3-3.3.8.d.tar.gz Source0: qt3-%{version}.tar.bz2
Source1: build_script.sh Source1: build_script.sh
Source2: qtconfig3.desktop Source2: qtconfig3.desktop
Source3: qtrc Source3: qtrc
@ -52,7 +52,7 @@ Source9: linguist.desktop
Source5: linguist.png Source5: linguist.png
Source10: qt3.sh Source10: qt3.sh
Source11: qt3.csh Source11: qt3.csh
# Translations did not change at 3.3.8d # Translations did not change
Source12: qt3-3.3.8b-translations.tar.bz2 Source12: qt3-3.3.8b-translations.tar.bz2
Source102: baselibs.conf Source102: baselibs.conf
Source200: attributes Source200: attributes
@ -71,17 +71,13 @@ Patch31: limit-image-size.diff
Patch35: qt-transparency.patch Patch35: qt-transparency.patch
Patch37: 0055-qtextedit_zoom.patch Patch37: 0055-qtextedit_zoom.patch
Patch39: fix-qtranslator-crash.diff Patch39: fix-qtranslator-crash.diff
Patch42: add_qexport_visibility.patch
Patch54: kmenu-search-fix.diff Patch54: kmenu-search-fix.diff
Patch113: fix-assistant-path.patch Patch113: fix-assistant-path.patch
Patch117: qtimer-debug.diff Patch117: qtimer-debug.diff
Patch121: qt3-warnings.diff
Patch125: qcstring-format-warnings.diff
Patch127: mng-reading-fix.patch Patch127: mng-reading-fix.patch
Patch134: fix-xinput-clash.diff Patch134: fix-xinput-clash.diff
Patch135: parseFontName.diff Patch135: parseFontName.diff
Patch136: qt3-no-date.diff Patch136: qt3-no-date.diff
Patch137: popen-leak-fix.diff
Patch139: gcc46.diff Patch139: gcc46.diff
Patch140: revert-iodbc-to-uodbc.diff Patch140: revert-iodbc-to-uodbc.diff
@ -103,7 +99,7 @@ the current Qt library!
%define build_sub_dirs src plugins/src tools/designer/uilib/ tools/designer/uic tools/qtconfig tools/assistant/lib tools/assistant tutorial %define build_sub_dirs src plugins/src tools/designer/uilib/ tools/designer/uic tools/qtconfig tools/assistant/lib tools/assistant tutorial
%prep %prep
%setup -q -n qt3 %setup -q
%patch1 %patch1
%patch2 %patch2
%patch4 %patch4
@ -120,22 +116,18 @@ fi
%patch35 %patch35
%patch37 %patch37
%patch39 %patch39
%patch42
%patch54 %patch54
%patch113 %patch113
%patch117 %patch117
%patch121
ln -sf $PWD/src/inputmethod/qinputcontextfactory.h include/ ln -sf $PWD/src/inputmethod/qinputcontextfactory.h include/
ln -sf $PWD/src/inputmethod/qinputcontextplugin.h include/ ln -sf $PWD/src/inputmethod/qinputcontextplugin.h include/
ln -sf $PWD/src/kernel/qinputcontext.h include/ ln -sf $PWD/src/kernel/qinputcontext.h include/
ln -sf $PWD/src/kernel/qinputcontextinterface_p.h include/private/ ln -sf $PWD/src/kernel/qinputcontextinterface_p.h include/private/
ln -sf $PWD/src/kernel/qximinputcontext_p.h include/private/ ln -sf $PWD/src/kernel/qximinputcontext_p.h include/private/
%patch125
%patch127 %patch127
%patch134 %patch134
%patch135 %patch135
%patch136 %patch136
%patch137
%patch139 %patch139
%patch140 %patch140
cd translations cd translations

@ -1,36 +0,0 @@
according to bug 345459, this fix for stacking letters from 3.3.8
made it only a lot worse. revert.
--- src/kernel/qfontengine_x11.cpp
+++ src/kernel/qfontengine_x11.cpp
@@ -2672,23 +2655,16 @@ bool QOpenType::positionAndAdd(QShaperIt
// ###### fix the case where we have y advances. How do we handle this in Uniscribe?????
if (positions[i].new_advance) {
item->advances[i] = item->flags & QTextEngine::RightToLeft
- ? -qRound((positions[i].x_advance >> 6)*scale)
+ ? -qRound((positions[i].x_advance >> 6)*scale)
: qRound((positions[i].x_advance >> 6)*scale);
} else {
item->advances[i] += item->flags & QTextEngine::RightToLeft
- ? -qRound((positions[i].x_advance >> 6)*scale)
+ ? -qRound((positions[i].x_advance >> 6)*scale)
: qRound((positions[i].x_advance >> 6)*scale);
}
- int back = 0;
- item->offsets[i].x = qRound((positions[i].x_pos >> 6)*scale);
- item->offsets[i].y = qRound((positions[i].y_pos >> 6)*scale);
- while (positions[i-back].back) {
- back += positions[i - back].back;
- item->offsets[i].x += qRound((positions[i - back].x_pos >> 6)*scale);
- item->offsets[i].y += qRound((positions[i - back].y_pos >> 6)*scale);
- }
- item->offsets[i].y = -item->offsets[i].y;
- back = positions[i].back;
+ item->offsets[i].x = qRound((positions[i].x_pos >> 6)*scale);
+ item->offsets[i].y = -qRound((positions[i].y_pos >> 6)*scale);
+ int back = positions[i].back;
if (item->flags & QTextEngine::RightToLeft) {
while (back--) {
item->offsets[i].x -= item->advances[i-back];

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>tde-filesystem</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>org.eclipse.linuxtools.rpm.core.rpmnature</nature>
</natures>
</projectDescription>

@ -40,12 +40,43 @@
%_tde_modules %{_tde_modulesdir} %_tde_modules %{_tde_modulesdir}
%_tde_servicetypes %{_tde_servicetypesdir} %_tde_servicetypes %{_tde_servicetypesdir}
%_tde_platform_version 3.5.13 %_tde_platform_version R13.99
%tde_runtime_requires Requires: tdebase3-runtime >= %_tde_platform_version qt3 >= 3.3.8d %tde_runtime_requires Requires: tdebase3-runtime >= %_tde_platform_version qt3 >= 3.4.0
%_tde_build_type release %_tde_build_type release
%cmake_tdeusr(d:) \
export CFLAGS=$RPM_OPT_FLAGS \
export CXXFLAGS=$RPM_OPT_FLAGS \
export LDFLAGS="-Wl,-Bsymbolic-functions $LDFLAGS" \
_tde_libsuffix=$(echo %_lib | cut -b4-) \
bdir=. \
%{-d:dir=%{-d*} \
mkdir $dir \
cd $dir \
bdir=.. } \
cmake -DCMAKE_SKIP_RPATH=ON \\\
-DCMAKE_INSTALL_PREFIX=%{_prefix} \\\
-DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \\\
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
-DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
-DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir} \\\
-DLIB_SUFFIX="$_tde_libsuffix" \\\
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\
-DCMAKE_BUILD_TYPE=%{_tde_build_type} \\\
-DCMAKE_VERBOSE_MAKEFILE=ON \\\
-DQT_LIBRARY_DIRS=/usr/lib/qt3/%{_lib} \\\
-DQT_INCLUDE_DIRS=/usr/lib/qt3/include \\\
-DPKGCONFIG_INSTALL_DIR=%{_libdir}/pkgconfig \\\
-DMAN_INSTALL_DIR=%{_mandir} \\\
-DINFO_INSTALL_DIR=%{_infodir} \\\
$bdir %* \
if [ "$bdir" == ".." ]; then \
cd .. \
fi \
%{nil}
%cmake_tde(d:) \ %cmake_tde(d:) \
export CFLAGS=$RPM_OPT_FLAGS \ export CFLAGS=$RPM_OPT_FLAGS \
export CXXFLAGS=$RPM_OPT_FLAGS \ export CXXFLAGS=$RPM_OPT_FLAGS \
@ -128,7 +159,7 @@
if test -f $HOME/.rpmmacros && test -d /usr/src/packages/SRPMS; then \ if test -f $HOME/.rpmmacros && test -d /usr/src/packages/SRPMS; then \
distribution=`grep ^%distribution $HOME/.rpmmacros | cut '-d ' -f2` \ distribution=`grep ^%distribution $HOME/.rpmmacros | cut '-d ' -f2` \
fi \ fi \
find $RPM_BUILD_ROOT/opt/kde3/share \\\ find $RPM_BUILD_ROOT/%{_tde_sharedir} \\\
-name '*.desktop' 2> /dev/null | while read file; do \ -name '*.desktop' 2> /dev/null | while read file; do \
test -r "$file" || continue \ test -r "$file" || continue \
grep -q "^X-SuSE-translate=" "$file" && continue \ grep -q "^X-SuSE-translate=" "$file" && continue \

@ -20,7 +20,7 @@
Name: tde-filesystem Name: tde-filesystem
Url: http://www.trinitydesktop.org/ Url: http://www.trinitydesktop.org/
Version: 3.5.13 Version: R13.99
Release: 1 Release: 1
License: LGPLv2.1+ License: LGPLv2.1+
Group: System/Fhs Group: System/Fhs
@ -47,7 +47,7 @@ Authors:
%install %install
install -D -m644 %{SOURCE0} $RPM_BUILD_ROOT/etc/rpm/macros.tde install -D -m644 %{SOURCE0} $RPM_BUILD_ROOT/etc/rpm/macros.tde
install -D -m644 %{SOURCE1} $RPM_BUILD_ROOT//usr/share/doc/packages/tde-filesystem/COPYING install -D -m644 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/doc/packages/tde-filesystem/COPYING
%clean %clean
rm -rf "$RPM_BUILD_ROOT" rm -rf "$RPM_BUILD_ROOT"

@ -26,12 +26,12 @@ License: GPLv2+
Group: Documentation/HTML Group: Documentation/HTML
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Additional Package Documentation Summary: Additional Package Documentation
Version: 3.5.12.99 Version: R13.99
Release: 1 Release: 1
%define tdelibs_patch_level b %define tdelibs_patch_level b
BuildArch: noarch BuildArch: noarch
Requires: tdelibs qt3-devel-doc Requires: tdelibs qt3-devel-doc
Source0: kdelibs-%{version}.tar.bz2 Source0: tdelibs-%{version}.tar.bz2
Source1: create-kdeapi Source1: create-kdeapi
Source4: api_docu_description Source4: api_docu_description
@ -50,7 +50,7 @@ Authors:
%prep %prep
echo %suse_version echo %suse_version
%setup -q -n kdelibs-%{version} %setup -q -n tdelibs-%{version}
%build %build
%if %is_plus %if %is_plus

@ -19,7 +19,7 @@
Name: tdelibs Name: tdelibs
BuildRequires: OpenEXR-devel arts-devel aspell-devel cups-devel fam-devel flac-devel krb5-devel BuildRequires: OpenEXR-devel arts arts-devel aspell-devel cups-devel fam-devel flac-devel krb5-devel
BuildRequires: libart_lgpl-devel libidn-devel libsndfile libtiff-devel BuildRequires: libart_lgpl-devel libidn-devel libsndfile libtiff-devel
BuildRequires: libxslt-devel openldap2-devel pcre-devel libtqt4-devel sgml-skel BuildRequires: libxslt-devel openldap2-devel pcre-devel libtqt4-devel sgml-skel
BuildRequires: db-devel libacl-devel libattr-devel unsermake update-desktop-files utempter BuildRequires: db-devel libacl-devel libattr-devel unsermake update-desktop-files utempter
@ -31,7 +31,7 @@ License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+
Group: System/GUI/TDE Group: System/GUI/TDE
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Trinity Base Libraries Summary: Trinity Base Libraries
Version: 3.5.12.99 Version: R13.99
Release: 1 Release: 1
Provides: kups keramik tdelibs-cups tdelibs-33addons tdepim-networkstatus Provides: kups keramik tdelibs-cups tdelibs-33addons tdepim-networkstatus
Provides: kdelibs3_base = 3.3 Provides: kdelibs3_base = 3.3
@ -40,8 +40,7 @@ Requires: openssl tdelibs-default-style
Requires: hicolor-icon-theme Requires: hicolor-icon-theme
Recommends: ispell enscript Recommends: ispell enscript
Requires: sudo Requires: sudo
Requires: libtqt4 Source0: %{name}-%{version}.tar.bz2
Source0: kdelibs-%{version}.tar.bz2
Source3: baselibs.conf Source3: baselibs.conf
Source4: api_docu_description Source4: api_docu_description
Source6: tderc Source6: tderc
@ -54,99 +53,6 @@ Source12: mimetype-icons.tar.bz2
Source14: vnd.openxmlformats-officedocument.wordprocessingml.document.desktop Source14: vnd.openxmlformats-officedocument.wordprocessingml.document.desktop
Source15: vnd.openxmlformats-officedocument.presentationml.presentation.desktop Source15: vnd.openxmlformats-officedocument.presentationml.presentation.desktop
Source16: vnd.openxmlformats-officedocument.spreadsheetml.sheet.desktop Source16: vnd.openxmlformats-officedocument.spreadsheetml.sheet.desktop
Patch0: 3_5_BRANCH.diff
Patch1: kdeversion.diff
Patch2: admin.diff
Patch3: show-distribution.diff
Patch5: applications.menu-fallback.diff
Patch7: stat-on-media.diff
Patch8: kmimelist.diff
Patch9: x-kde-InitialPreference.diff
Patch10: disable-idn-support.diff
Patch11: silence.diff
Patch12: smooth-scrolling.diff
Patch13: rubberband-selection.diff
Patch15: add-suse-translations.diff
Patch16: kde3rc.dif
Patch17: artwork.diff
Patch26: mimetype-changes.diff
Patch27: noauto-package.diff
Patch29: prefer_distribution_settings.dif
Patch34: allow-man-setgid.diff
Patch40: clever-menu.diff
Patch43: fileshare.diff
Patch44: fontconfig-reverse-lookup.diff
Patch45: limit-max-image-size.diff
Patch50: fix-gnome-help-support.diff
Patch950: fix-gnome-help-support_legacy.diff
Patch52: kdeprint-restart-cupsd.diff
Patch54: kdemm.diff
Patch55: fix-kdemm-build.diff
Patch56: fix-dcopidlng-within-kdelibs-build.diff
Patch57: kdemm-filepreview.diff
Patch60: fix-qxembed.diff
Patch65: integrate-global-pixmaps-new.diff
Patch66: integrate-global-pixmaps-10.1.diff
Patch70: ktip-icon-hack.diff
Patch80: CATALOG.kdelibs3.diff
Patch81: xml-catalog.diff
Patch83: kdelibs3-gcc-4.1-miscompile.diff
Patch85: desktop-translations.diff
Patch86: use-xauthlocalhostname.diff
Patch88: mozilla-sliders.patch
Patch89: kdeprint-utf8.diff
Patch90: kimproxy-warning.diff
Patch95: kdelibs_networkstatus_branch2.diff
Patch97: autostart-spec.diff
Patch105: kdelibs3-hicolor-scalable-sizes.patch
Patch106: use-mediamanager.diff
Patch108: patch-mimetype-iconnames.diff
Patch109: fix-kerberos-printing.diff
Patch110: printpreview.patch
Patch111: kfile-beagle.diff
Patch112: xinerama.patch
Patch113: kremoteencoding-utf8.diff
Patch114: no-progress-for-beagle-status-query.diff
Patch117: kickoff-drop-shadow.diff
Patch122: disable-samba-dialog-without-smb.diff
Patch123: lpoptions-cups-1.2.diff
Patch124: spellcheck-default-utf8.diff
Patch125: kde4-applications.diff
Patch126: avahi-pidfile.diff
Patch127: x-jar-desktop.diff
Patch128: google-mail.diff
Patch129: default-useragent.diff
Patch130: kwalletd-try-open.diff
Patch131: textcompletion-editor.diff
Patch132: no-debug-by-default.diff
Patch133: flash-player-non-oss.diff
Patch134: bundle-locale-help.diff
Patch149: networkstatus.diff
Patch150: kdesu-settings.diff
Patch152: bug-399296_ftphandling-fix.diff
Patch153: bug-382959_kabc_fix_vcardparser.patch
Patch154: r874968-ebay-crash.diff
Patch155: gcc44.diff
Patch156: fix-macmenu.patch
Patch157: ignore-inline-menu.diff
Patch158: bnc557126.diff
Patch159: xmlhttprequest_3.x.diff
Patch160: kdecode_fakes_include.diff
Patch161: gcc45.diff
Patch162: arts-acinclude.patch
Patch163: kdelibs-3.5.10-ossl-1.x.patch
Patch164: light_v_2_scrollbar_patch.patch
Patch201: kdelibs-3.5.4-CVE-2009-1690.patch
Patch203: kdelibs-3.5.10-latex-syntax-kile-2.0.3.patch
Patch204: kdelibs-3.5.10-CVE-2009-2702.patch
Patch205: kdelibs-3.5.10-cve-2009-2537-select-length.patch
Patch206: kdelibs-3.5.10-cve-2009-1725.patch
Patch207: kdelibs-3.5.10-cve-2009-1698.patch
Patch210: kdelibs-3.5.10-kio.patch
Patch211: oom_score_adj.patch
Patch212: kcontrol_crash_patch.diff
%description %description
This package contains tdelibs, one of the basic packages of the Trinity This package contains tdelibs, one of the basic packages of the Trinity
@ -171,7 +77,7 @@ daemon.
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+ License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+
Summary: The default TDE style Summary: The default TDE style
Group: System/GUI/TDE Group: System/GUI/TDE
Provides: tdelibs:/opt/tde/%_lib/libkdefx.so.4 Provides: tdelibs:%{_tde_libdir}/libtdefx.so.4
%description default-style %description default-style
This package contains the Plastik widget style and libkdefx. It only This package contains the Plastik widget style and libkdefx. It only
@ -211,125 +117,10 @@ to develop applications that require these.
%prep %prep
echo %suse_version echo %suse_version
%setup -q -n kdelibs-%{version} %setup -q
%patch0
%patch1
%patch3
%patch5
%patch7
%patch10
%patch11
%patch12
%patch13
%patch15
%patch16
%patch17
%patch26
%patch27
%patch29
#%patch43
#disable it because of BIC
#%patch45
%if %suse_version > 1020
%patch50
%else
%patch950
%endif
%patch52
%patch34
%patch44
%patch40
%patch8
%patch9
tar xfvj %SOURCE10 tar xfvj %SOURCE10
# TODO!
%patch54
%patch55
%patch56
%patch57
%patch60
# 10.2 goes back to the version without suseadds
%if %suse_version > 1010
%patch65
%else
%if %suse_version > 1000
%patch66
%else
%patch65
%endif
%endif
%patch70
rm -rf admin rm -rf admin
bunzip2 -cd %{SOURCE8} | tar xfv - --exclude=.cvsignore --exclude=CVS bunzip2 -cd %{SOURCE8} | tar xfv - --exclude=.cvsignore --exclude=CVS
install -m 755 %{SOURCE2} admin
%patch2
%patch80 -p 1
%patch81
%if %suse_version > 1000
%patch83
%endif
%patch85
%patch86
%patch88
%patch89
%patch90
%patch95
%patch97
%if %suse_version < 1030
%patch105 -p 1
%endif
%patch106
%patch108
%patch109
%patch110
%patch111
%patch112
%patch113
%patch114
%patch117
%patch122
%if %suse_version > 1010
%patch123
%endif
%patch124
%patch125
%patch126
%patch127
%patch128
%patch129
%patch130
%patch131
%patch132
%if %suse_version > 1020
%patch133
%patch134
%endif
%patch149
%patch150
%patch152
%patch153
%patch154
%patch155
%patch156
%if %suse_version > 1110
%patch157
%endif
%patch158
%patch159
%patch160
%patch161
%patch162 -p1
%patch163 -p1
%patch164 -p1
%patch201 -p1
%patch203 -p1
%patch204 -p1
%patch205 -p1
%patch206
%patch207 -p1
%patch210 -p1
%patch211 -p1
%patch212
tar xfvj %SOURCE12 tar xfvj %SOURCE12
# #
@ -367,16 +158,15 @@ CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
export PATH=/usr/lib/mit/bin:$PATH export PATH=/usr/lib/mit/bin:$PATH
# fast-malloc is not needed anymore # fast-malloc is not needed anymore
%cmake_tde -d build -- \ EXTRA_FLAGS="-DCMAKE_SKIP_RPATH=OFF -DKDE_MALLOC_FULL=OFF -DKDE_MALLOC=OFF -DSSL_INSTALL_DIR=/usr/ssl -DPCSC_INSTALL_DIR=/usr -DENABLE_DNOFIFY=ON"
-DCMAKE_SKIP_RPATH=OFF \
-DKDE_MALLOC_FULL=OFF \ # -DKDE_DISTRIBUTION=\"$DISTRI\"
-DKDE_MALLOC=OFF \
-DKDE_DISTRIBUTION="$DISTRI" \ # %if %is_plus
-DSSL_INSTALL_DIR=/usr/ssl \ # -DENABLE_DNOFIFY=ON \
-DPCSC_INSTALL_DIR=/usr \ # %endif
%if %is_plus
-DENABLE_DNOFIFY=ON \ %cmake_tde -d build -- $EXTRA_FLAGS
%endif
%make_tde -d build %make_tde -d build
@ -482,7 +272,8 @@ sed '/<catalog/a\
install -m 0644 bt/$i/mimetypes/bt.png \ install -m 0644 bt/$i/mimetypes/bt.png \
$RPM_BUILD_ROOT/%{_tde_icondir}/crystalsvg/$i/mimetypes/torrent.png $RPM_BUILD_ROOT/%{_tde_icondir}/crystalsvg/$i/mimetypes/torrent.png
done done
cp CATALOG.%{name} catalog.xml ${RPM_BUILD_ROOT}/%{_tde_datadir}/ksgmltools2/customization/ #cp CATALOG.%{name} catalog.xml ${RPM_BUILD_ROOT}/%{_tde_datadir}/ksgmltools2/customization/
cp catalog.xml ${RPM_BUILD_ROOT}/%{_tde_datadir}/ksgmltools2/customization/
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/xml mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/xml
cp %{FOR_ROOT_CAT} ${RPM_BUILD_ROOT}%{_sysconfdir}/xml cp %{FOR_ROOT_CAT} ${RPM_BUILD_ROOT}%{_sysconfdir}/xml
# rm -f $RPM_BUILD_ROOT/%{_tde_libdir}/libkdefakes.la # rm -f $RPM_BUILD_ROOT/%{_tde_libdir}/libkdefakes.la
@ -513,25 +304,33 @@ cat > $RPM_BUILD_ROOT/etc/ld.so.conf.d/tdelibs.conf <<EOF
/opt/tde/lib /opt/tde/lib
EOF EOF
# Fix Kspell symlink
rm -fv $RPM_BUILD_ROOT/opt/tde/share/doc/kde/HTML/en/kspell/common
ln -sfv /opt/tde/share/doc/kde/HTML/en/common $RPM_BUILD_ROOT/opt/tde/share/doc/kde/HTML/en/kspell/common
# move cmake to %{_datadir}
mkdir -pv %{buildroot}/%{_datadir}/cmake
mv -v %{buildroot}/%{_tde_sharedir}/cmake/tdelibs.cmake %{buildroot}/%{_datadir}/cmake
%post %post
%run_ldconfig /sbin/ldconfig
%run_permissions %run_permissions
%postun %postun
rm -f usr/share/doc/KDE3-API/index.html rm -f usr/share/doc/KDE3-API/index.html
%run_ldconfig /sbin/ldconfig
%post arts %post arts
%run_ldconfig /sbin/ldconfig
%postun arts %postun arts
%run_ldconfig /sbin/ldconfig
%post default-style %post default-style
%run_ldconfig /sbin/ldconfig
%postun default-style %postun default-style
%run_ldconfig /sbin/ldconfig
%post doc %post doc
if [ -x %{regcat} ]; then if [ -x %{regcat} ]; then
@ -559,8 +358,8 @@ EOF
%files default-style %files default-style
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING COPYING.BSD COPYING.LIB NAMING README %doc AUTHORS COPYING COPYING.BSD COPYING.LIB NAMING README
%{_tde_libdir}/libkdefx.so.* %{_tde_libdir}/libtdefx.so.*
%{_tde_libdir}/kde3/plugins/styles/plastik.* %{_tde_libdir}/trinity/plugins/styles/plastik.*
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -572,7 +371,6 @@ EOF
%dir %{_tde_includedir} %dir %{_tde_includedir}
%dir %{_tde_sharedir} %dir %{_tde_sharedir}
%dir %{_tde_configkcfgdir} %dir %{_tde_configkcfgdir}
%_mandir/man*/*
%{_tde_bindir}/checkXML %{_tde_bindir}/checkXML
%{_tde_bindir}/dcop %{_tde_bindir}/dcop
%{_tde_bindir}/dcopclient %{_tde_bindir}/dcopclient
@ -587,12 +385,14 @@ EOF
%{_tde_bindir}/kco* %{_tde_bindir}/kco*
%{_tde_bindir}/kcmshell %{_tde_bindir}/kcmshell
%{_tde_bindir}/kded %{_tde_bindir}/kded
%{_tde_bindir}/kdeinit* %{_tde_bindir}/kdetcompmgr
%{_tde_bindir}/start_kdeinit %{_tde_bindir}/networkstatustestservice
%{_tde_bindir}/start_kdeinit_wrapper %{_tde_bindir}/tdeinit*
%{_tde_bindir}/start_tdeinit
%{_tde_bindir}/start_tdeinit_wrapper
%{_tde_bindir}/kde-config %{_tde_bindir}/kde-config
%{_tde_bindir}/kde-menu %{_tde_bindir}/kde-menu
%{_tde_bindir}/kdesu_stub %{_tde_bindir}/tdesu_stub
%{_tde_bindir}/kdontchangethehostname %{_tde_bindir}/kdontchangethehostname
%{_tde_bindir}/kfile %{_tde_bindir}/kfile
%{_tde_bindir}/ki* %{_tde_bindir}/ki*
@ -600,7 +400,6 @@ EOF
%{_tde_bindir}/klauncher %{_tde_bindir}/klauncher
%{_tde_bindir}/kmailservice %{_tde_bindir}/kmailservice
%{_tde_bindir}/ktradertest %{_tde_bindir}/ktradertest
%{_tde_bindir}/knotify
%{_tde_bindir}/kstartupconfig %{_tde_bindir}/kstartupconfig
%{_tde_bindir}/kdostartupconfig %{_tde_bindir}/kdostartupconfig
%verify(not mode) %{_tde_bindir}/kpac_dhcp_helper %verify(not mode) %{_tde_bindir}/kpac_dhcp_helper
@ -613,64 +412,75 @@ EOF
%{_tde_bindir}/khotnewstuff %{_tde_bindir}/khotnewstuff
%{_tde_bindir}/makekdewidgets %{_tde_bindir}/makekdewidgets
%dir %{_tde_libdir} %dir %{_tde_libdir}
%dir %{_tde_libdir}/kde3 %dir %{_tde_libdir}/trinity
%{_tde_libdir}/kde3/dcopserver.* %{_tde_libdir}/trinity/dcopserver.*
%{_tde_libdir}/kde3/kaddprinterwizard.* %{_tde_libdir}/trinity/kaddprinterwizard.*
%{_tde_libdir}/kde3/kbuildsycoca.* %{_tde_libdir}/trinity/kbuildsycoca.*
%{_tde_libdir}/kde3/kcmshell.* %{_tde_libdir}/trinity/kcmshell.*
%{_tde_libdir}/kde3/kcm_kresources.* %{_tde_libdir}/trinity/kcm_kresources.*
%{_tde_libdir}/kde3/kconf_update.* %{_tde_libdir}/trinity/kconf_update.*
%{_tde_libdir}/kde3/kcookiejar.* %{_tde_libdir}/trinity/kcookiejar.*
%{_tde_libdir}/kde3/kded.* %{_tde_libdir}/trinity/kded.*
%{_tde_libdir}/kde3/kded_proxyscout.* %{_tde_libdir}/trinity/kded_proxyscout.*
%{_tde_libdir}/kde3/kfileaudiopreview.* %{_tde_libdir}/trinity/kfileaudiopreview.*
%{_tde_libdir}/kde3/klauncher.* %{_tde_libdir}/trinity/klauncher.*
%{_tde_libdir}/kde3/knotify.* %{_tde_libdir}/trinity/knotify.*
%{_tde_libdir}/kde3/kabc* %{_tde_libdir}/trinity/kabc*
%{_tde_libdir}/kde3/kbzip2filter.* %{_tde_libdir}/trinity/kbzip2filter.*
%{_tde_libdir}/kde3/kded_k* %{_tde_libdir}/trinity/kded_k*
%{_tde_libdir}/kde3/kdeprint_ext.* %{_tde_libdir}/trinity/tdeprint_ext.*
%{_tde_libdir}/kde3/kdeprint_lp* %{_tde_libdir}/trinity/tdeprint_lp*
%{_tde_libdir}/kde3/kdeprint_rlpr.* %{_tde_libdir}/trinity/tdeprint_rlpr.*
%{_tde_libdir}/kde3/kdeprint_tool_escputil.* %{_tde_libdir}/trinity/tdeprint_tool_escputil.*
%{_tde_libdir}/kde3/kgzipfilter.* %{_tde_libdir}/trinity/kgzipfilter.*
%{_tde_libdir}/kde3/khtmlimagepart.* %{_tde_libdir}/trinity/khtmlimagepart.*
%{_tde_libdir}/kde3/ki* %{_tde_libdir}/trinity/ki*
%{_tde_libdir}/kde3/kjavaappletviewer.* %{_tde_libdir}/trinity/kjavaappletviewer.*
%{_tde_libdir}/kde3/ktexteditor_* %{_tde_libdir}/trinity/ktexteditor_*
%{_tde_libdir}/kde3/libk* %{_tde_libdir}/trinity/libk*
%{_tde_libdir}/kde3/kspell_* %{_tde_libdir}/trinity/kspell_*
%{_tde_libdir}/kde3/kstyle_plastik_config.* %{_tde_libdir}/trinity/kstyle_plastik_config.*
%{_tde_libdir}/kde3/kstyle_highcontrast_config.* %{_tde_libdir}/trinity/kstyle_highcontrast_config.*
%{_tde_libdir}/kde3/libshellscript.* %{_tde_libdir}/trinity/libshellscript.*
%exclude %{_tde_libdir}/kde3/plugins/styles/plastik.* # unsure
%{_tde_libdir}/kde3/plugins %{_tde_libdir}/trinity/kded_tdeprintd.*
%{_tde_libdir}/trinity/libtdeprint_management_module.*
# end unsure
%exclude %{_tde_libdir}/trinity/plugins/styles/plastik.*
%{_tde_libdir}/trinity/plugins
%{_tde_libdir}/libDCOP.so.* %{_tde_libdir}/libDCOP.so.*
%exclude %{_tde_libdir}/libkdefx.so.* %exclude %{_tde_libdir}/libtdefx.so.*
%{_tde_libdir}/libk*.so.* %{_tde_libdir}/libk*.so.*
%{_tde_libdir}/libvcard.so.* %{_tde_libdir}/libvcard.so.*
%{_tde_libdir}/libkdeinit*.so %{_tde_libdir}/libtdecore.so.*
%{_tde_libdir}/libtdefakes.so.*
%{_tde_libdir}/libtdeinit*.so
%{_tde_libdir}/libtdeprint.so.*
%{_tde_libdir}/libtdeprint_management.so.*
%{_tde_libdir}/libtdesasl.so.*
%{_tde_libdir}/libtdesu.so.*
%{_tde_libdir}/libtdeui.so.*
%{_tde_libdir}/libnetworkstatus.so.* %{_tde_libdir}/libnetworkstatus.so.*
%{_tde_libdir}/libconnectionmanager.so.* %{_tde_libdir}/libconnectionmanager.so.*
%{_tde_libdir}/kde3/kded_networkstatus.* %{_tde_libdir}/trinity/kded_networkstatus.*
%{_tde_appsdir} %{_tde_appsdir}
%dir %{_tde_datadir} %dir %{_tde_datadir}
%{_tde_datadir}/LICENSES %{_tde_datadir}/LICENSES
%{_tde_datadir}/ka* %{_tde_datadir}/ka*
%{_tde_datadir}/kc* %{_tde_datadir}/kc*
%dir %{_tde_datadir}/kdeprint %dir %{_tde_datadir}/tdeprint
%{_tde_datadir}/kdeprint/apsdriver* %{_tde_datadir}/tdeprint/apsdriver*
%{_tde_datadir}/kdeprint/filters %{_tde_datadir}/tdeprint/filters
%{_tde_datadir}/kdeprint/icons %{_tde_datadir}/tdeprint/icons
%{_tde_datadir}/kdeprint/lprngtooldriver1 %{_tde_datadir}/tdeprint/lprngtooldriver1
%{_tde_datadir}/kdeprint/pics %{_tde_datadir}/tdeprint/pics
%dir %{_tde_datadir}/kdeprint/plugins %dir %{_tde_datadir}/tdeprint/plugins
%{_tde_datadir}/kdeprint/plugins/ext.print %{_tde_datadir}/tdeprint/plugins/ext.print
%{_tde_datadir}/kdeprint/plugins/lp*.print %{_tde_datadir}/tdeprint/plugins/lp*.print
%{_tde_datadir}/kdeprint/plugins/rlpr.print %{_tde_datadir}/tdeprint/plugins/rlpr.print
%{_tde_datadir}/kdeprint/s* %{_tde_datadir}/tdeprint/s*
%{_tde_datadir}/kdeprint/t* %{_tde_datadir}/tdeprint/t*
%{_tde_datadir}/kdeui %{_tde_datadir}/tdeui
%{_tde_datadir}/kdewidgets %{_tde_datadir}/kdewidgets
%{_tde_datadir}/khtml %{_tde_datadir}/khtml
%{_tde_datadir}/kio_uiserver %{_tde_datadir}/kio_uiserver
@ -684,24 +494,24 @@ EOF
%{_tde_sharedir}/autostart %{_tde_sharedir}/autostart
%{_tde_configdir} %{_tde_configdir}
%{_tde_sharedir}/emoticons %{_tde_sharedir}/emoticons
%{_tde_icondir}/icons %{_tde_icondir}
%{_tde_locale}/locale %{_tde_locale}
%{_tde_mimedir}/mimelnk %{_tde_mimedir}
%{_tde_sharedir}/service* %{_tde_sharedir}/service*
%config /etc/tderc %config /etc/tderc
%{_tde_applicationsdir} %{_tde_applicationsdir}
%{_tde_bindir}/cupsd* %{_tde_bindir}/cupsd*
%{_tde_bindir}/make_driver_db_cups %{_tde_bindir}/make_driver_db_cups
%{_tde_libdir}/kde3/kdeprint_cups.* %{_tde_libdir}/trinity/tdeprint_cups.*
%{_tde_libdir}/kde3/cupsdconf.* %{_tde_libdir}/trinity/cupsdconf.*
%{_tde_datadir}/kdeprint/cups* %{_tde_datadir}/tdeprint/cups*
%{_tde_datadir}/kdeprint/kde_logo.png %{_tde_datadir}/tdeprint/kde_logo.png
%{_tde_datadir}/kdeprint/plugins/cups.print %{_tde_datadir}/tdeprint/plugins/cups.print
%{_tde_datadir}/kdeprint/preview* %{_tde_datadir}/tdeprint/preview*
%ifarch x86_64 ppc64 s390x mips64 sparc64 %ifarch x86_64 ppc64 s390x mips64 sparc64
%dir %{_tde_prefix}/lib %dir %{_tde_prefix}/lib
%dir %{_tde_prefix}/lib/kde3 %dir %{_tde_prefix}/lib/trinity
%{_tde_prefix}/lib/kde3/plugins-lib64 %{_tde_prefix}/lib/trinity/plugins-lib64
%endif %endif
/etc/xdg/menus /etc/xdg/menus
%dir /etc/%{_tde_prefix} %dir /etc/%{_tde_prefix}
@ -712,7 +522,7 @@ EOF
%dir %{_tde_sharedir} %dir %{_tde_sharedir}
%dir %{_tde_applicationsdir} %dir %{_tde_applicationsdir}
%ghost %{_tde_applicationsdir}/mimeinfo.cache %ghost %{_tde_applicationsdir}/mimeinfo.cache
%{_tde_datadir}/konqueror/servicemenus/isoservice.desktop
%files arts %files arts
%defattr(-,root,root) %defattr(-,root,root)
@ -732,12 +542,10 @@ EOF
%{_tde_bindir}/dcopidl* %{_tde_bindir}/dcopidl*
%{_tde_bindir}/kmimelist %{_tde_bindir}/kmimelist
%{_tde_bindir}/preparetips %{_tde_bindir}/preparetips
%{_tde_bindir}/ksvgtopng
%{_tde_bindir}/kunittestmodrunner %{_tde_bindir}/kunittestmodrunner
#%{_tde_bindir}/MISC #%{_tde_bindir}/MISC
%{_tde_includedir}/* %{_tde_includedir}/*
%{_tde_datadir}/dcopidlng %{_tde_datadir}/dcopidlng
%{_tde_datadir}/kdelibs/admin
%{_tde_libdir}/libartskde.la %{_tde_libdir}/libartskde.la
%{_tde_libdir}/libkunittest.la %{_tde_libdir}/libkunittest.la
%{_tde_libdir}/libkunittest.so %{_tde_libdir}/libkunittest.so
@ -754,29 +562,32 @@ EOF
%{_tde_libdir}/libkabc.la %{_tde_libdir}/libkabc.la
%{_tde_libdir}/libkabc_ldapkio.la %{_tde_libdir}/libkabc_ldapkio.la
%{_tde_libdir}/libkabc_ldapkio.so %{_tde_libdir}/libkabc_ldapkio.so
%{_tde_libdir}/libkabc_net.la
%{_tde_libdir}/libkabc_net.so
%{_tde_libdir}/libkabc.so %{_tde_libdir}/libkabc.so
%{_tde_libdir}/libkatepartinterfaces.la %{_tde_libdir}/libkatepartinterfaces.la
%{_tde_libdir}/libkatepartinterfaces.so %{_tde_libdir}/libkatepartinterfaces.so
%{_tde_libdir}/libkdecore.la %{_tde_libdir}/libtdecore.la
%{_tde_libdir}/libkdecore.so %{_tde_libdir}/libtdecore.so
%{_tde_libdir}/libkdefakes.la %{_tde_libdir}/libtdefakes.la
%{_tde_libdir}/libkdefakes.so %{_tde_libdir}/libtdefakes.so
%{_tde_libdir}/libkdefx.la %{_tde_libdir}/libtdefx.la
%{_tde_libdir}/libkdefx.so %{_tde_libdir}/libtdefx.so
%{_tde_libdir}/libkdemm.la %{_tde_libdir}/libtdeinit*.la
%{_tde_libdir}/libkdemm.so %{_tde_libdir}/libtdeprint.la
%{_tde_libdir}/libkdeprint.la %{_tde_libdir}/libtdeprint_management.la
%{_tde_libdir}/libkdeprint_management.la %{_tde_libdir}/libtdeprint_management.so
%{_tde_libdir}/libkdeprint_management.so %{_tde_libdir}/libtdeprint.so
%{_tde_libdir}/libkdeprint.so %{_tde_libdir}/libtdesasl.la
%{_tde_libdir}/libkdesasl.la %{_tde_libdir}/libtdesasl.so
%{_tde_libdir}/libkdesasl.so %{_tde_libdir}/libtdesu.la
%{_tde_libdir}/libkdesu.la %{_tde_libdir}/libtdesu.so
%{_tde_libdir}/libkdesu.so %{_tde_libdir}/libtdeui.la
%{_tde_libdir}/libkdeui.la %{_tde_libdir}/libtdeui.so
%{_tde_libdir}/libkdeui.so
%{_tde_libdir}/libkdnssd.la %{_tde_libdir}/libkdnssd.la
%{_tde_libdir}/libkdnssd.so %{_tde_libdir}/libkdnssd.so
%{_tde_libdir}/libkglib.la
%{_tde_libdir}/libkglib.so
%{_tde_libdir}/libkhtml.la %{_tde_libdir}/libkhtml.la
%{_tde_libdir}/libkhtml.so %{_tde_libdir}/libkhtml.so
%{_tde_libdir}/libkimproxy.la %{_tde_libdir}/libkimproxy.la
@ -801,8 +612,12 @@ EOF
%{_tde_libdir}/libkntlm.so %{_tde_libdir}/libkntlm.so
%{_tde_libdir}/libkparts.la %{_tde_libdir}/libkparts.la
%{_tde_libdir}/libkparts.so %{_tde_libdir}/libkparts.so
%{_tde_libdir}/libkrandr.la
%{_tde_libdir}/libkrandr.so
%{_tde_libdir}/libkresources.la %{_tde_libdir}/libkresources.la
%{_tde_libdir}/libkresources.so %{_tde_libdir}/libkresources.so
%{_tde_libdir}/libkrsync.la
%{_tde_libdir}/libkrsync.so
%{_tde_libdir}/libkscreensaver.la %{_tde_libdir}/libkscreensaver.la
%{_tde_libdir}/libkscreensaver.so %{_tde_libdir}/libkscreensaver.so
%{_tde_libdir}/libkscript.la %{_tde_libdir}/libkscript.la
@ -823,5 +638,6 @@ EOF
%{_tde_libdir}/libnetworkstatus.so %{_tde_libdir}/libnetworkstatus.so
%{_tde_libdir}/libconnectionmanager.la %{_tde_libdir}/libconnectionmanager.la
%{_tde_libdir}/libconnectionmanager.so %{_tde_libdir}/libconnectionmanager.so
%{_datadir}/cmake/tdelibs.cmake
%changelog %changelog

@ -0,0 +1,826 @@
#
# spec file for package tdelibs
#
# Copyright (c) 2011 the Trinity Project (opensuse).
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.trinitydesktop.org/
#
# norootforbuild
Name: tdelibs
BuildRequires: OpenEXR-devel arts-devel aspell-devel cups-devel fam-devel flac-devel krb5-devel
BuildRequires: libart_lgpl-devel libidn-devel libsndfile libtiff-devel
BuildRequires: libxslt-devel openldap2-devel pcre-devel libtqt4-devel sgml-skel
BuildRequires: db-devel libacl-devel libattr-devel unsermake update-desktop-files utempter
BuildRequires: unzip
BuildRequires: avahi-compat-mDNSResponder-devel fdupes libbz2-devel libjasper-devel
BuildRequires: libdrm-devel tde-filesystem cmake
URL: http://www.trinitydesktop.org/
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+
Group: System/GUI/TDE
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Trinity Base Libraries
Version: R13.99
Release: 1
Provides: kups keramik tdelibs-cups tdelibs-33addons tdepim-networkstatus
Provides: kdelibs3_base = 3.3
Requires: libtqt4 >= %( echo `rpm -q --queryformat '%{VERSION}' libtqt4`)
Requires: openssl tdelibs-default-style
Requires: hicolor-icon-theme
Recommends: ispell enscript
Requires: sudo
Source0: %{name}-%{version}.tar.bz2
Source3: baselibs.conf
Source4: api_docu_description
Source6: tderc
# svn export svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin
Source8: admin.tar.bz2
Source9: cr16-filesys-file_broken.png
Source10: kdemm-20050330.tar.bz2
Source11: 10888-bt.tar.gz
Source12: mimetype-icons.tar.bz2
Source14: vnd.openxmlformats-officedocument.wordprocessingml.document.desktop
Source15: vnd.openxmlformats-officedocument.presentationml.presentation.desktop
Source16: vnd.openxmlformats-officedocument.spreadsheetml.sheet.desktop
Patch0: 3_5_BRANCH.diff
Patch1: kdeversion.diff
Patch2: admin.diff
Patch3: show-distribution.diff
Patch5: applications.menu-fallback.diff
Patch7: stat-on-media.diff
Patch8: kmimelist.diff
Patch9: x-kde-InitialPreference.diff
Patch10: disable-idn-support.diff
Patch11: silence.diff
Patch12: smooth-scrolling.diff
Patch13: rubberband-selection.diff
Patch15: add-suse-translations.diff
Patch16: kde3rc.dif
Patch17: artwork.diff
Patch26: mimetype-changes.diff
Patch27: noauto-package.diff
Patch29: prefer_distribution_settings.dif
Patch34: allow-man-setgid.diff
Patch40: clever-menu.diff
Patch43: fileshare.diff
Patch44: fontconfig-reverse-lookup.diff
Patch45: limit-max-image-size.diff
Patch50: fix-gnome-help-support.diff
Patch950: fix-gnome-help-support_legacy.diff
Patch52: kdeprint-restart-cupsd.diff
Patch54: kdemm.diff
Patch55: fix-kdemm-build.diff
Patch56: fix-dcopidlng-within-kdelibs-build.diff
Patch57: kdemm-filepreview.diff
Patch60: fix-qxembed.diff
Patch65: integrate-global-pixmaps-new.diff
Patch66: integrate-global-pixmaps-10.1.diff
Patch70: ktip-icon-hack.diff
Patch80: CATALOG.kdelibs3.diff
Patch81: xml-catalog.diff
Patch83: kdelibs3-gcc-4.1-miscompile.diff
Patch85: desktop-translations.diff
Patch86: use-xauthlocalhostname.diff
Patch88: mozilla-sliders.patch
Patch89: kdeprint-utf8.diff
Patch90: kimproxy-warning.diff
Patch95: kdelibs_networkstatus_branch2.diff
Patch97: autostart-spec.diff
Patch105: kdelibs3-hicolor-scalable-sizes.patch
Patch106: use-mediamanager.diff
Patch108: patch-mimetype-iconnames.diff
Patch109: fix-kerberos-printing.diff
Patch110: printpreview.patch
Patch111: kfile-beagle.diff
Patch112: xinerama.patch
Patch113: kremoteencoding-utf8.diff
Patch114: no-progress-for-beagle-status-query.diff
Patch117: kickoff-drop-shadow.diff
Patch122: disable-samba-dialog-without-smb.diff
Patch123: lpoptions-cups-1.2.diff
Patch124: spellcheck-default-utf8.diff
Patch125: kde4-applications.diff
Patch126: avahi-pidfile.diff
Patch127: x-jar-desktop.diff
Patch128: google-mail.diff
Patch129: default-useragent.diff
Patch130: kwalletd-try-open.diff
Patch131: textcompletion-editor.diff
Patch132: no-debug-by-default.diff
Patch133: flash-player-non-oss.diff
Patch134: bundle-locale-help.diff
Patch149: networkstatus.diff
Patch150: kdesu-settings.diff
Patch152: bug-399296_ftphandling-fix.diff
Patch153: bug-382959_kabc_fix_vcardparser.patch
Patch154: r874968-ebay-crash.diff
Patch155: gcc44.diff
Patch156: fix-macmenu.patch
Patch157: ignore-inline-menu.diff
Patch158: bnc557126.diff
Patch159: xmlhttprequest_3.x.diff
Patch160: kdecode_fakes_include.diff
Patch161: gcc45.diff
Patch162: arts-acinclude.patch
Patch163: kdelibs-3.5.10-ossl-1.x.patch
Patch164: light_v_2_scrollbar_patch.patch
Patch201: kdelibs-3.5.4-CVE-2009-1690.patch
Patch203: kdelibs-3.5.10-latex-syntax-kile-2.0.3.patch
Patch204: kdelibs-3.5.10-CVE-2009-2702.patch
Patch205: kdelibs-3.5.10-cve-2009-2537-select-length.patch
Patch206: kdelibs-3.5.10-cve-2009-1725.patch
Patch207: kdelibs-3.5.10-cve-2009-1698.patch
Patch210: kdelibs-3.5.10-kio.patch
Patch211: oom_score_adj.patch
Patch212: kcontrol_crash_patch.diff
%description
This package contains tdelibs, one of the basic packages of the Trinity
Desktop Environment. It contains the necessary libraries for the Trinity
desktop.
This package is absolutely necessary for using TDE.
%package arts
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+
Summary: TDE aRts support
Group: System/GUI/TDE
Provides: tdelibs:/opt/tde/bin/artsmessage
Requires: arts >= %( echo `rpm -q --queryformat '%{VERSION}' arts`)
Recommends: tdemultimedia-arts
%description arts
This package contains bindings and gui elements for using aRts sound
daemon.
%package default-style
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+
Summary: The default TDE style
Group: System/GUI/TDE
Provides: tdelibs:/opt/tde/%_lib/libkdefx.so.4
%description default-style
This package contains the Plastik widget style and libkdefx. It only
depends on TQt, not the KDE libraries.
%package doc
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+
Summary: Documentation for TDE Base Libraries
Group: System/GUI/TDE
Provides: tdelibs:/opt/tde/share/apps/ksgmltools2
Provides: tdelibs_doc
Requires: sgml-skel libxml2
%define regcat /usr/bin/sgml-register-catalog
PreReq: %{regcat} /usr/bin/xmlcatalog /usr/bin/edit-xml-catalog
PreReq: sed grep awk
%description doc
This package contains the core environment and templates for the Trinity
help system.
%package devel
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+
# usefiles /opt/tde/bin/dcopidl /opt/tde/bin/dcopidl2cpp /opt/tde/bin/kdb2html /opt/tde/bin/preparetips
Requires: libtqt4-devel libvorbis-devel tdelibs = %version autoconf automake libxslt-devel libxml2-devel libart_lgpl-devel libjpeg-devel tde-filesystem
# next line from tde-devel-packages macro
Requires: tdelibs-doc libtiff-devel openssl-devel update-desktop-files
Requires: libdrm-devel dbus-1-tqt-devel
Requires: libattr-devel libacl-devel
Requires: tdelibs-arts
Summary: Trinity Base Package: Build Environment
Group: System/GUI/TDE
Requires: fam-devel pcre-devel libidn-devel arts-devel
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
%prep
echo %suse_version
%setup -q
%patch0
%patch1
%patch3
%patch5
%patch7
%patch10
%patch11
%patch12
%patch13
%patch15
%patch16
%patch17
%patch26
%patch27
%patch29
#%patch43
#disable it because of BIC
#%patch45
%if %suse_version > 1020
%patch50
%else
%patch950
%endif
%patch52
%patch34
%patch44
%patch40
%patch8
%patch9
tar xfvj %SOURCE10
# TODO!
%patch54
%patch55
%patch56
%patch57
%patch60
# 10.2 goes back to the version without suseadds
%if %suse_version > 1010
%patch65
%else
%if %suse_version > 1000
%patch66
%else
%patch65
%endif
%endif
%patch70
rm -rf admin
bunzip2 -cd %{SOURCE8} | tar xfv - --exclude=.cvsignore --exclude=CVS
install -m 755 %{SOURCE2} admin
%patch2
%patch80 -p 1
%patch81
%if %suse_version > 1000
%patch83
%endif
%patch85
%patch86
%patch88
%patch89
%patch90
%patch95
%patch97
%if %suse_version < 1030
%patch105 -p 1
%endif
%patch106
%patch108
%patch109
%patch110
%patch111
%patch112
%patch113
%patch114
%patch117
%patch122
%if %suse_version > 1010
%patch123
%endif
%patch124
%patch125
%patch126
%patch127
%patch128
%patch129
%patch130
%patch131
%patch132
%if %suse_version > 1020
%patch133
%patch134
%endif
%patch149
%patch150
%patch152
%patch153
%patch154
%patch155
%patch156
%if %suse_version > 1110
%patch157
%endif
%patch158
%patch159
%patch160
%patch161
%patch162 -p1
%patch163 -p1
%patch164 -p1
%patch201 -p1
%patch203 -p1
%patch204 -p1
%patch205 -p1
%patch206
%patch207 -p1
%patch210 -p1
%patch211 -p1
%patch212
tar xfvj %SOURCE12
#
# define KDE version exactly
#
myrelease=$(echo %release | cut -d. -f-1)
sed 's,#define KDE_VERSION_STRING "\(.*\)",#define KDE_VERSION_STRING "\1 \\"release '$myrelease'\\"",' kdecore/kdeversion.h > kdecore/kdeversion.h_ && mv kdecore/kdeversion.h_ kdecore/kdeversion.h
#
# create build enviroment
#
#UNSERMAKE=yes make -f admin/Makefile.common cvs
%build
export PATH=$PWD/admin/:$PATH
FINAL="--enable-final"
CFLAGS="$CFLAGS -fno-strict-aliasing"
CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
# common_options and do_make have been obsoleted by tde-filesystem
export path_sudo=/usr/bin/sudo
#
# define the distribution exactly
#
test -e /.buildenv && . /.buildenv
%if %is_plus
# supplementary package
DISTRI="openSUSE $BUILD_DISTRIBUTION_VERSION UNSUPPORTED"
%else
# official build on released and maintained products
DISTRI="openSUSE $BUILD_DISTRIBUTION_VERSION"
%endif
sed 's,#define KDE_VERSION_STRING "\(.*\)",#define KDE_VERSION_STRING "\1 '"$ADD_VERSION"'",' kdecore/kdeversion.h > kdecore/kdeversion.h_ && mv kdecore/kdeversion.h_ kdecore/kdeversion.h
# find MIT kerberos
export PATH=/usr/lib/mit/bin:$PATH
# fast-malloc is not needed anymore
%cmake_tde -d build -- \
-DCMAKE_SKIP_RPATH=OFF \
-DKDE_MALLOC_FULL=OFF \
-DKDE_MALLOC=OFF \
-DKDE_DISTRIBUTION="$DISTRI" \
-DSSL_INSTALL_DIR=/usr/ssl \
-DPCSC_INSTALL_DIR=/usr \
%if %is_plus
-DENABLE_DNOFIFY=ON \
%endif
%make_tde -d build
#
xmlcatbin=/usr/bin/xmlcatalog
# CATALOG=docbook-simple.xml
# $xmlcatbin --noout --create $CATALOG
# $xmlcatbin --noout --add "public" \
# "-//OASIS//DTD Simplified DocBook XML V1.0//EN" \
# "file://%{xml_mod_dtd_dir}/sdocbook.dtd" $CATALOG
# $xmlcatbin --noout --add "system" \
# "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook.dtd" \
# "file://%{xml_mod_dtd_dir}/sdocbook.dtd" $CATALOG
%define FOR_ROOT_CAT for-catalog-%{name}-%{version}.xml
CATALOG=%{_tde_prefix}/share/apps/ksgmltools2/customization/catalog.xml
rm -f %{FOR_ROOT_CAT}.tmp
$xmlcatbin --noout --create %{FOR_ROOT_CAT}.tmp
# $xmlcatbin --noout --add "delegateSystem" \
# "http://www.oasis-open.org/docbook/xml/simple/" \
# "file:///$CATALOG" %{FOR_ROOT_CAT}.tmp
$xmlcatbin --noout --add "delegatePublic" \
"-//KDE//DTD DocBook XML V4.2" \
"file://$CATALOG" %{FOR_ROOT_CAT}.tmp
$xmlcatbin --noout --add "delegatePublic" \
"-//KDE//ELEMENTS" \
"file://$CATALOG" %{FOR_ROOT_CAT}.tmp
$xmlcatbin --noout --add "delegatePublic" \
"-//KDE//ENTITIES" \
"file://$CATALOG" %{FOR_ROOT_CAT}.tmp
# Create tag
sed '/<catalog/a\
<group id="%{name}-%{version}">
/<\/catalog/i\
</group>' \
%{FOR_ROOT_CAT}.tmp > %{FOR_ROOT_CAT}
%install
%makeinstall_tde -d build
mkdir -p $RPM_BUILD_ROOT/%{_tde_configkcfgdir}
install -D %SOURCE9 $RPM_BUILD_ROOT/%{_tde_icondir}/crystalsvg/16x16/filesystems/file_broken.png
mv $RPM_BUILD_ROOT/etc/xdg/menus/applications.menu \
$RPM_BUILD_ROOT/etc/xdg/menus/applications.menu.kde
#
# lib64 compatibility symlink
#
%ifarch x86_64 ppc64 s390x mips64 sparc64
mkdir -p $RPM_BUILD_ROOT/%{_tde_prefix}/lib/kde3/
ln -sf ../../lib64/kde3/plugins \
$RPM_BUILD_ROOT/%{_tde_prefix}/lib/kde3/plugins-lib64
%endif
#
# add missing directories
#
for i in Applications Development Editors Edutainment Games Graphics Internet Multimedia Office Settings System Toys Utilities WordProcessing; do
install -d -m 0755 $RPM_BUILD_ROOT/%{_tde_appsdir}/$i
done
rm -f locale.list
for i in $(find /usr/share/locale -mindepth 1 -maxdepth 1 -type d | sed 's:/usr/share/locale/::'); do
install -d -m 755 $RPM_BUILD_ROOT/%{_tde_locale}/$i
install -d -m 755 $RPM_BUILD_ROOT/%{_tde_locale}/$i/LC_MESSAGES
install -d -m 755 $RPM_BUILD_ROOT/%{_tde_htmldir}/$i
echo "%lang($i) %doc %{_tde_locale}/$i" >> locale.list
done
%suse_update_desktop_file kresources X-KDE-settings-desktop
# unlike with other modules, tde_post_install shouldn't
# be put at the end of %install
%tde_post_install
# now create a filesystem layer
for theme in hicolor locolor; do
for j in actions apps filesystems mimetypes; do
for i in 16 22 32 48 64 128; do
install -d -m 0755 $RPM_BUILD_ROOT/%{_tde_icondir}/${theme}/${i}x${i}/${j}
done
install -d -m 0755 $RPM_BUILD_ROOT/%{_tde_icondir}/${theme}/scalable/${j}
done
done
install -d -m 0755 $RPM_BUILD_ROOT/etc/%{_tde_libdir}
install -d -m 0755 $RPM_BUILD_ROOT/etc/%{_tde_configdir}
install -d -m 0755 $RPM_BUILD_ROOT/%{_tde_datadir}/kdelibs/
install -m 0644 %SOURCE6 $RPM_BUILD_ROOT/etc/
rm -f $RPM_BUILD_ROOT/%{_tde_libdir}/libkdeinit_*.la
#
# add additional icon path (not needed anymore? we use cmake)
#
#mkdir -p ${RPM_BUILD_ROOT}/%{_tde_datadir}/kdelibs
#rm -f admin/*.orig
#cp -a admin ${RPM_BUILD_ROOT}/%{_tde_datadir}/kdelibs/
# This is not needed on SUSE Linux! - Marcus Meissner <meissner@suse.de>
rm $RPM_BUILD_ROOT/%{_tde_bindir}/kgrantpty
#
# our version is in kdebase3
#
rm -f $RPM_BUILD_ROOT/%{_tde_bindir}/fileshare*
#
# no sources for man pages
#
rm -f $RPM_BUILD_ROOT/%{_tde_htmldir}/en/kdelibs/man-*
#
# install BitTorrent icons
#
tar xfvz %SOURCE11
for i in 16x16 22x22 32x32 48x48 64x64 128x128 ; do
install -m 0644 bt/$i/mimetypes/bt.png \
$RPM_BUILD_ROOT/%{_tde_icondir}/crystalsvg/$i/mimetypes/torrent.png
done
cp CATALOG.%{name} catalog.xml ${RPM_BUILD_ROOT}/%{_tde_datadir}/ksgmltools2/customization/
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/xml
cp %{FOR_ROOT_CAT} ${RPM_BUILD_ROOT}%{_sysconfdir}/xml
# rm -f $RPM_BUILD_ROOT/%{_tde_libdir}/libkdefakes.la
# rm -f $RPM_BUILD_ROOT/%{_tde_libdir}/libkjava.la
rm -f $RPM_BUILD_ROOT/%{_tde_icondir}/hicolor/index.theme
# .desktop files in kdeaccessibility3 require the kttsd icon
for i in {16x16,22x22,32x32,48x48,64x64,128x128,scalable}; do mv $RPM_BUILD_ROOT/%{_tde_icondir}/crystalsvg/$i/apps/kttsd.* $RPM_BUILD_ROOT/%{_tde_icondir}/hicolor/$i/apps/;done
install -m 0644 %SOURCE14 $RPM_BUILD_ROOT/%{_tde_mimedir}/application/
install -m 0644 %SOURCE15 $RPM_BUILD_ROOT/%{_tde_mimedir}/application/
install -m 0644 %SOURCE16 $RPM_BUILD_ROOT/%{_tde_mimedir}/application/
# fix bnc#396153
for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
ln -s %{_tde_icondir}/crystalsvg/$i/filesystems/network.png $RPM_BUILD_ROOT/%{_tde_icondir}/crystalsvg/$i/filesystems/preferences-system-network.png
ln -s %{_tde_icondir}/crystalsvg/$i/filesystems/desktop.png $RPM_BUILD_ROOT/%{_tde_icondir}/crystalsvg/$i/filesystems/preferences-desktop.png
done
chmod a-x $RPM_BUILD_ROOT/%{_tde_icondir}/crystalsvg/16x16/filesystems/file_broken.png
%fdupes -s $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/etc/%{_tde_applicationsdir}
touch $RPM_BUILD_ROOT/etc/%{_tde_applicationsdir}/mimeinfo.cache
mkdir -p $RPM_BUILD_ROOT/%{_tde_applicationsdir}
touch $RPM_BUILD_ROOT/%{_tde_applicationsdir}/mimeinfo.cache
# Create /etc/ld.so.conf.d/kdelibs3.conf
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
cat > $RPM_BUILD_ROOT/etc/ld.so.conf.d/tdelibs.conf <<EOF
%ifarch s390x sparc64 x86_64 ppc64
/opt/tde/lib64
%endif
/opt/tde/lib
EOF
%post
%run_ldconfig
%run_permissions
%postun
rm -f usr/share/doc/KDE3-API/index.html
%run_ldconfig
%post arts
%run_ldconfig
%postun arts
%run_ldconfig
%post default-style
%run_ldconfig
%postun default-style
%run_ldconfig
%post doc
if [ -x %{regcat} ]; then
%{regcat} -a %{_tde_datadir}/ksgmltools2/customization/CATALOG.%{name} >/dev/null 2>&1
fi
if [ -x /usr/bin/edit-xml-catalog ]; then
edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
--add /etc/xml/%{FOR_ROOT_CAT}
fi
%postun doc
if [ "$1" = "0" -a -x %{regcat} ]; then
%{regcat} -r %{_tde_datadir}/ksgmltools2/customization/CATALOG.%{name} >/dev/null 2>&1
fi
# remove entries only on removal of file
if [ ! -f %{xml_sysconf_dir}/%{FOR_ROOT_CAT} -a -x /usr/bin/edit-xml-catalog ] ; then
edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
--del %{name}-%{version}
fi
exit 0
%clean
rm -rf ${RPM_BUILD_ROOT}
%files default-style
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.BSD COPYING.LIB NAMING README
%{_tde_libdir}/libkdefx.so.*
%{_tde_libdir}/kde3/plugins/styles/plastik.*
%files
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.BSD COPYING.LIB NAMING README
/etc/ld.so.conf.d/tdelibs.conf
%dir /etc/%{_tde_prefix}
%dir %{_tde_prefix}
%dir %{_tde_bindir}
%dir %{_tde_includedir}
%dir %{_tde_sharedir}
%dir %{_tde_configkcfgdir}
%_mandir/man*/*
%{_tde_bindir}/checkXML
%{_tde_bindir}/dcop
%{_tde_bindir}/dcopclient
%{_tde_bindir}/dcopfind
%{_tde_bindir}/dcopobject
%{_tde_bindir}/dcopref
%{_tde_bindir}/dcops*
%{_tde_bindir}/dcopquit
%{_tde_bindir}/imagetops
%{_tde_bindir}/ka*
%{_tde_bindir}/kbuildsycoca
%{_tde_bindir}/kco*
%{_tde_bindir}/kcmshell
%{_tde_bindir}/kded
%{_tde_bindir}/kdeinit*
%{_tde_bindir}/start_kdeinit
%{_tde_bindir}/start_kdeinit_wrapper
%{_tde_bindir}/kde-config
%{_tde_bindir}/kde-menu
%{_tde_bindir}/kdesu_stub
%{_tde_bindir}/kdontchangethehostname
%{_tde_bindir}/kfile
%{_tde_bindir}/ki*
%{_tde_bindir}/kfmexec
%{_tde_bindir}/klauncher
%{_tde_bindir}/kmailservice
%{_tde_bindir}/ktradertest
%{_tde_bindir}/knotify
%{_tde_bindir}/kstartupconfig
%{_tde_bindir}/kdostartupconfig
%verify(not mode) %{_tde_bindir}/kpac_dhcp_helper
%{_tde_bindir}/ksendbugmail
%{_tde_bindir}/kshell
%{_tde_bindir}/ktelnetservice
%{_tde_bindir}/kwrapper
%{_tde_bindir}/lnusertemp
%{_tde_bindir}/make_driver_db_lpr
%{_tde_bindir}/khotnewstuff
%{_tde_bindir}/makekdewidgets
%dir %{_tde_libdir}
%dir %{_tde_libdir}/kde3
%{_tde_libdir}/kde3/dcopserver.*
%{_tde_libdir}/kde3/kaddprinterwizard.*
%{_tde_libdir}/kde3/kbuildsycoca.*
%{_tde_libdir}/kde3/kcmshell.*
%{_tde_libdir}/kde3/kcm_kresources.*
%{_tde_libdir}/kde3/kconf_update.*
%{_tde_libdir}/kde3/kcookiejar.*
%{_tde_libdir}/kde3/kded.*
%{_tde_libdir}/kde3/kded_proxyscout.*
%{_tde_libdir}/kde3/kfileaudiopreview.*
%{_tde_libdir}/kde3/klauncher.*
%{_tde_libdir}/kde3/knotify.*
%{_tde_libdir}/kde3/kabc*
%{_tde_libdir}/kde3/kbzip2filter.*
%{_tde_libdir}/kde3/kded_k*
%{_tde_libdir}/kde3/kdeprint_ext.*
%{_tde_libdir}/kde3/kdeprint_lp*
%{_tde_libdir}/kde3/kdeprint_rlpr.*
%{_tde_libdir}/kde3/kdeprint_tool_escputil.*
%{_tde_libdir}/kde3/kgzipfilter.*
%{_tde_libdir}/kde3/khtmlimagepart.*
%{_tde_libdir}/kde3/ki*
%{_tde_libdir}/kde3/kjavaappletviewer.*
%{_tde_libdir}/kde3/ktexteditor_*
%{_tde_libdir}/kde3/libk*
%{_tde_libdir}/kde3/kspell_*
%{_tde_libdir}/kde3/kstyle_plastik_config.*
%{_tde_libdir}/kde3/kstyle_highcontrast_config.*
%{_tde_libdir}/kde3/libshellscript.*
%exclude %{_tde_libdir}/kde3/plugins/styles/plastik.*
%{_tde_libdir}/kde3/plugins
%{_tde_libdir}/libDCOP.so.*
%exclude %{_tde_libdir}/libkdefx.so.*
%{_tde_libdir}/libk*.so.*
%{_tde_libdir}/libvcard.so.*
%{_tde_libdir}/libkdeinit*.so
%{_tde_libdir}/libnetworkstatus.so.*
%{_tde_libdir}/libconnectionmanager.so.*
%{_tde_libdir}/kde3/kded_networkstatus.*
%{_tde_appsdir}
%dir %{_tde_datadir}
%{_tde_datadir}/LICENSES
%{_tde_datadir}/ka*
%{_tde_datadir}/kc*
%dir %{_tde_datadir}/kdeprint
%{_tde_datadir}/kdeprint/apsdriver*
%{_tde_datadir}/kdeprint/filters
%{_tde_datadir}/kdeprint/icons
%{_tde_datadir}/kdeprint/lprngtooldriver1
%{_tde_datadir}/kdeprint/pics
%dir %{_tde_datadir}/kdeprint/plugins
%{_tde_datadir}/kdeprint/plugins/ext.print
%{_tde_datadir}/kdeprint/plugins/lp*.print
%{_tde_datadir}/kdeprint/plugins/rlpr.print
%{_tde_datadir}/kdeprint/s*
%{_tde_datadir}/kdeprint/t*
%{_tde_datadir}/kdeui
%{_tde_datadir}/kdewidgets
%{_tde_datadir}/khtml
%{_tde_datadir}/kio_uiserver
%{_tde_datadir}/kjava
%{_tde_datadir}/knotify
%{_tde_datadir}/kssl
%{_tde_datadir}/kstyle
%{_tde_datadir}/ktexteditor_*
%{_tde_datadir}/proxyscout
%{_tde_datadir}/knewstuff
%{_tde_sharedir}/autostart
%{_tde_configdir}
%{_tde_sharedir}/emoticons
%{_tde_icondir}/icons
%{_tde_locale}/locale
%{_tde_mimedir}/mimelnk
%{_tde_sharedir}/service*
%config /etc/tderc
%{_tde_applicationsdir}
%{_tde_bindir}/cupsd*
%{_tde_bindir}/make_driver_db_cups
%{_tde_libdir}/kde3/kdeprint_cups.*
%{_tde_libdir}/kde3/cupsdconf.*
%{_tde_datadir}/kdeprint/cups*
%{_tde_datadir}/kdeprint/kde_logo.png
%{_tde_datadir}/kdeprint/plugins/cups.print
%{_tde_datadir}/kdeprint/preview*
%ifarch x86_64 ppc64 s390x mips64 sparc64
%dir %{_tde_prefix}/lib
%dir %{_tde_prefix}/lib/kde3
%{_tde_prefix}/lib/kde3/plugins-lib64
%endif
/etc/xdg/menus
%dir /etc/%{_tde_prefix}
%dir /etc/%{_tde_sharedir}
%dir /etc/%{_tde_applicationsdir}
%ghost /etc/%{_tde_applicationsdir}/mimeinfo.cache
%dir %{_tde_prefix}
%dir %{_tde_sharedir}
%dir %{_tde_applicationsdir}
%ghost %{_tde_applicationsdir}/mimeinfo.cache
%files arts
%defattr(-,root,root)
%{_tde_bindir}/artsmessage
%{_tde_libdir}/libartskde.so.*
%files doc
%defattr(-,root,root)
%doc %{_tde_docdir}
%{_tde_bindir}/meinproc
%{_tde_datadir}/ksgmltools2
%config %{_sysconfdir}/xml/%{FOR_ROOT_CAT}
%files devel
%defattr(-,root,root)
%dir %{_tde_datadir}/kdelibs
%{_tde_bindir}/dcopidl*
%{_tde_bindir}/kmimelist
%{_tde_bindir}/preparetips
%{_tde_bindir}/ksvgtopng
%{_tde_bindir}/kunittestmodrunner
#%{_tde_bindir}/MISC
%{_tde_includedir}/*
%{_tde_datadir}/dcopidlng
%{_tde_datadir}/kdelibs/admin
%{_tde_libdir}/libartskde.la
%{_tde_libdir}/libkunittest.la
%{_tde_libdir}/libkunittest.so
%{_tde_libdir}/libartskde.so
%{_tde_libdir}/libDCOP.so
%{_tde_libdir}/libvcard.so
%{_tde_libdir}/libvcard.la
%{_tde_libdir}/libDCOP.la
%{_tde_libdir}/lib*.a
%{_tde_libdir}/libkabc_dir.la
%{_tde_libdir}/libkabc_dir.so
%{_tde_libdir}/libkabc_file.la
%{_tde_libdir}/libkabc_file.so
%{_tde_libdir}/libkabc.la
%{_tde_libdir}/libkabc_ldapkio.la
%{_tde_libdir}/libkabc_ldapkio.so
%{_tde_libdir}/libkabc.so
%{_tde_libdir}/libkatepartinterfaces.la
%{_tde_libdir}/libkatepartinterfaces.so
%{_tde_libdir}/libkdecore.la
%{_tde_libdir}/libkdecore.so
%{_tde_libdir}/libkdefakes.la
%{_tde_libdir}/libkdefakes.so
%{_tde_libdir}/libkdefx.la
%{_tde_libdir}/libkdefx.so
%{_tde_libdir}/libkdemm.la
%{_tde_libdir}/libkdemm.so
%{_tde_libdir}/libkdeprint.la
%{_tde_libdir}/libkdeprint_management.la
%{_tde_libdir}/libkdeprint_management.so
%{_tde_libdir}/libkdeprint.so
%{_tde_libdir}/libkdesasl.la
%{_tde_libdir}/libkdesasl.so
%{_tde_libdir}/libkdesu.la
%{_tde_libdir}/libkdesu.so
%{_tde_libdir}/libkdeui.la
%{_tde_libdir}/libkdeui.so
%{_tde_libdir}/libkdnssd.la
%{_tde_libdir}/libkdnssd.so
%{_tde_libdir}/libkhtml.la
%{_tde_libdir}/libkhtml.so
%{_tde_libdir}/libkimproxy.la
%{_tde_libdir}/libkimproxy.so
%{_tde_libdir}/libkio.la
%{_tde_libdir}/libkio.so
%{_tde_libdir}/libkjava.la
%{_tde_libdir}/libkjava.so
%{_tde_libdir}/libkjs.la
%{_tde_libdir}/libkjs.so
%{_tde_libdir}/libkmdi2.la
%{_tde_libdir}/libkmdi2.so
%{_tde_libdir}/libkmdi.la
%{_tde_libdir}/libkmdi.so
%{_tde_libdir}/libkmediaplayer.la
%{_tde_libdir}/libkmediaplayer.so
%{_tde_libdir}/libkmid.la
%{_tde_libdir}/libkmid.so
%{_tde_libdir}/libknewstuff.la
%{_tde_libdir}/libknewstuff.so
%{_tde_libdir}/libkntlm.la
%{_tde_libdir}/libkntlm.so
%{_tde_libdir}/libkparts.la
%{_tde_libdir}/libkparts.so
%{_tde_libdir}/libkresources.la
%{_tde_libdir}/libkresources.so
%{_tde_libdir}/libkscreensaver.la
%{_tde_libdir}/libkscreensaver.so
%{_tde_libdir}/libkscript.la
%{_tde_libdir}/libkscript.so
%{_tde_libdir}/libkspell2.la
%{_tde_libdir}/libkspell2.so
%{_tde_libdir}/libkspell.la
%{_tde_libdir}/libkspell.so
%{_tde_libdir}/libktexteditor.la
%{_tde_libdir}/libktexteditor.so
%{_tde_libdir}/libkutils.la
%{_tde_libdir}/libkutils.so
%{_tde_libdir}/libkwalletbackend.la
%{_tde_libdir}/libkwalletbackend.so
%{_tde_libdir}/libkwalletclient.la
%{_tde_libdir}/libkwalletclient.so
%{_tde_libdir}/libnetworkstatus.la
%{_tde_libdir}/libnetworkstatus.so
%{_tde_libdir}/libconnectionmanager.la
%{_tde_libdir}/libconnectionmanager.so
%changelog

@ -2,6 +2,7 @@
# BEGIN VERSIONS # BEGIN VERSIONS
VERSION=R13.99 VERSION=R13.99
QT_VERSION=3.4.0
#ARTS_VERSION=1.5.10 #ARTS_VERSION=1.5.10
#DBUS_TQT_VERSION=0.62 #DBUS_TQT_VERSION=0.62
#DBUS_1_TQT_VERSION=0.8.1 #DBUS_1_TQT_VERSION=0.8.1
@ -25,6 +26,13 @@ createTarball
rm -rf $NAME rm -rf $NAME
echo "done" echo "done"
} }
if [ "$1" != "" ]; then
NAME=$1
grab
exit 0
fi
clear clear
echo "I need to know what you want to generate a tarball for." echo "I need to know what you want to generate a tarball for."
echo "" echo ""
@ -45,22 +53,22 @@ if [ "$SELECTION" = "1" ]; then
clear clear
echo "Dependencies: Select what you want us to generate." echo "Dependencies: Select what you want us to generate."
echo "(1) qt3" echo "(1) qt3"
echo "(2) avahi-tqt" echo "(2) tqt3";
echo "(3) python-tqt" echo "(3) libtqt4"
echo "(4) sip4-tqt"; echo "(4) avahi-tqt"
echo "(5) tqt3"; echo "(5) python-tqt"
echo "(6) libtqt4" echo "(6) sip4-tqt";
echo "(7) libdbus-tqt-1-0" echo "(7) libdbus-tqt-1-0"
echo "(8) libdbus-1-tqt-0" echo "(8) libdbus-1-tqt0"
echo "(9) arts" echo "(9) arts"
read CHOICE read CHOICE
if [ "$CHOICE" == "1" ]; then NAME='qt3'; if [ "$CHOICE" == "1" ]; then NAME='qt3' && VERSION=$QT_VERSION;
elif [ "$CHOICE" == "2" ]; then NAME='avahi-tqt'; elif [ "$CHOICE" == "2" ]; then NAME='tqt3' && VERSION=$QT_VERSION;
elif [ "$CHOICE" == "3" ]; then NAME='python-tqt'; elif [ "$CHOICE" == "3" ]; then NAME='tqtinterface';
elif [ "$CHOICE" == "4" ]; then NAME='sip4-tqt'; elif [ "$CHOICE" == "4" ]; then NAME='avahi-tqt';
elif [ "$CHOICE" == "5" ]; then NAME='tqt3'; elif [ "$CHOICE" == "5" ]; then NAME='python-tqt';
elif [ "$CHOICE" == "6" ]; then NAME='tqtinterface'; elif [ "$CHOICE" == "6" ]; then NAME='sip4-tqt';
elif [ "$CHOICE" == "7" ]; then NAME='dbus-tqt'; elif [ "$CHOICE" == "7" ]; then NAME='dbus-tqt';
elif [ "$CHOICE" == "8" ]; then NAME='dbus-1-tqt'; elif [ "$CHOICE" == "8" ]; then NAME='dbus-1-tqt';
elif [ "$CHOICE" == "9" ]; then NAME='arts'; elif [ "$CHOICE" == "9" ]; then NAME='arts';
@ -74,8 +82,8 @@ elif [ "$SELECTION" = "2" ]; then
echo "(2) tdebase" echo "(2) tdebase"
read CHOICE read CHOICE
if [ "$CHOICE" = "1" ]; then NAME='kdelibs'; if [ "$CHOICE" = "1" ]; then NAME='tdelibs';
elif [ "$CHOICE" = "2" ]; then NAME='kdebase'; elif [ "$CHOICE" = "2" ]; then NAME='tdebase';
else else
echo "Invalid, bye." && exit 1 echo "Invalid, bye." && exit 1
fi fi

Loading…
Cancel
Save