summaryrefslogtreecommitdiffstats
path: root/redhat/tdelibs
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-10-02 20:33:46 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2014-10-02 20:33:46 +0200
commitcbc0a27c501c763afaa8d5a239708b834538af23 (patch)
tree72f79fd21ba5829dcc7394ee560a04f48f237e7f /redhat/tdelibs
parent8a82bef5b4eb7ebe82319e5681064346733d7583 (diff)
downloadtde-packaging-cbc0a27c501c763afaa8d5a239708b834538af23.tar.gz
tde-packaging-cbc0a27c501c763afaa8d5a239708b834538af23.zip
RPM Packaging: update tdelibs
Diffstat (limited to 'redhat/tdelibs')
-rw-r--r--redhat/tdelibs/tdelibs-14.0.0-cups_by_default.patch33
-rw-r--r--redhat/tdelibs/tdelibs-14.0.0.spec53
2 files changed, 14 insertions, 72 deletions
diff --git a/redhat/tdelibs/tdelibs-14.0.0-cups_by_default.patch b/redhat/tdelibs/tdelibs-14.0.0-cups_by_default.patch
deleted file mode 100644
index 2f281cf04..000000000
--- a/redhat/tdelibs/tdelibs-14.0.0-cups_by_default.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- ./tdeprint/kmfactory.cpp.ORI 2013-05-09 00:14:51.664045869 +0200
-+++ ./tdeprint/kmfactory.cpp 2013-05-09 00:16:59.154367127 +0200
-@@ -249,8 +249,21 @@
- conf->writeEntry("PrintSystem", sys);
- conf->sync();
- }
-- else if ( sys.length()==1 && sys[0].isDigit() ) // discard old-style settings
-+ else if ( sys.length()==1 && sys[0].isDigit() ) { // discard old-style settings
- sys = "lpdunix";
-+ } else {
-+ //Always Autodetect
-+ //it will not try autodetect if user changes any option
-+ //when user force some option, AlwaysSearch will be "no" and then
-+ //kprinter will not to try autodetect again.
-+ if(conf->readEntry("AlwaysSearch") != "no" ) {
-+ sys = autoDetect();
-+ conf->writeEntry("PrintSystem",sys);
-+ conf->writeEntry("AlwaysSearch","yes");
-+ conf->sync();
-+ }
-+ }
-+
- return sys;
- }
-
-@@ -278,6 +291,7 @@
- {
- TDEConfig *conf = printConfig();
- conf->setGroup("General");
-+ conf->writeEntry("AlwaysSearch","no");
- conf->writeEntry("PrintSystem", syst);
- conf->sync();
-
diff --git a/redhat/tdelibs/tdelibs-14.0.0.spec b/redhat/tdelibs/tdelibs-14.0.0.spec
index b05699d96..7c460eed8 100644
--- a/redhat/tdelibs/tdelibs-14.0.0.spec
+++ b/redhat/tdelibs/tdelibs-14.0.0.spec
@@ -60,21 +60,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
-#Patch11: tdelibs-14.0.0-displayconfig_crash.patch
-
-# Patches from Mandriva
-Patch101: tdelibs-14.0.0-cups_by_default.patch
-Patch102: tdelibs-14.0.0-fix_kurlbar_global.patch
-Patch103: tdelibs-14.0.0-fix_enable_kdialogbox.patch
-Patch104: tdelibs-14.0.0-fix_https_loop.patch
-Patch105: tdelibs-14.0.0-tdeio_file_grouplist.patch
-Patch107: tdelibs-14.0.0-karchive_assert.patch
-Patch108: tdelibs-14.0.0-tdeabc_add_postofficebox.patch
-
-# Enables the 'kddebug' feature even when built with '-DNDEBUG'
-#Patch201: tdelibs-14.0.0-enable_kddebug.patch
-
-
Obsoletes: tdelibs < %{version}-%{release}
Provides: tdelibs = %{version}-%{release}
Obsoletes: trinity-kdelibs < %{version}-%{release}
@@ -82,14 +67,19 @@ Provides: trinity-kdelibs = %{version}-%{release}
Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release}
Provides: trinity-kdelibs-apidocs = %{version}-%{release}
+# Trinity dependencies
+BuildRequires: libtqt3-mt-devel >= 3.5.0
+BuildRequires: libtqt4-devel >= 1:4.2.0
+BuildRequires: trinity-arts-devel >= 1:1.5.10
+BuildRequires: libdbus-tqt-1-devel >= 2:0.63
+BuildRequires: libdbus-1-tqt-devel >= 2:0.9
+
+Requires: trinity-arts >= 1:1.5.10
+
+
BuildRequires: cmake >= 2.8
BuildRequires: libtool
-BuildRequires: trinity-tqt3-devel >= 3.5.0
-BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
-BuildRequires: trinity-arts-devel >= 1:1.5.10
-BuildRequires: trinity-dbus-1-tqt-devel >= 1:0.9
-BuildRequires: trinity-dbus-tqt-devel >= 1:0.63
BuildRequires: krb5-devel
BuildRequires: libxslt-devel
BuildRequires: cups-devel
@@ -103,7 +93,7 @@ BuildRequires: glib2-devel
#BuildRequires: lua-devel
# LIBART_LGPL support
-BuildRequires: trinity-libart-lgpl-devel
+BuildRequires: %{libart}_lgpl-devel
# ASPELL support
BuildRequires: aspell
@@ -320,10 +310,8 @@ Requires: openssl
%define with_xrandr 1
%endif
-# Trinity dependencies
-Requires: trinity-tqt3 >= 3.5.0
-Requires: trinity-tqtinterface >= %{tde_version}
-Requires: trinity-arts >= 1:1.5.10
+# LIBMAGIC support
+BuildRequires: file-devel
%description
@@ -417,7 +405,6 @@ kimgio (image manipulation).
%{tde_datadir}/icons/default.tde
%{tde_datadir}/icons/hicolor/index.theme
%{tde_datadir}/locale/all_languages
-%{tde_datadir}/mimelnk/magic
%{tde_datadir}/mimelnk/*/*.desktop
%{tde_datadir}/services/*
%{tde_datadir}/servicetypes/*
@@ -480,7 +467,7 @@ applications for TDE.
##########
-%if 0%{?suse_version} || 0%{?pclinuxos}
+%if 0%{?pclinuxos}
%debug_package
%endif
@@ -489,18 +476,6 @@ applications for TDE.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
-#patch11 -p1 -b .displayconfigcrash
-
-%patch101 -p1 -b .cups_by_default
-%patch102 -p0 -b .kurl
-%patch103 -p0 -b .kdialogbox
-%patch104 -p0 -b .httpsloop
-%patch105 -p0 -b .tdeiofilegrouplist
-%patch107 -p0 -b .karchiveassert
-%patch108 -p0 -b .tdeabc
-
-#patch201 -p1 -b .kddebug
-
%build
unset QTDIR QTINC QTLIB