rpms/kdelibs/FC-4 kdelibs-3.5.2-cups-api.patch, NONE, 1.1 kdelibs-3.5.2-kdebug-kmail-quiet.patch, NONE, 1.1 kdelibs-3.5.2-kdeprint.patch, NONE, 1.1 kdelibs.spec, 1.102, 1.103
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu May 11 10:24:45 UTC 2006
Author: than
Update of /cvs/dist/rpms/kdelibs/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv22639
Modified Files:
kdelibs.spec
Added Files:
kdelibs-3.5.2-cups-api.patch
kdelibs-3.5.2-kdebug-kmail-quiet.patch
kdelibs-3.5.2-kdeprint.patch
Log Message:
- fix #173235, disable kmail debug info #173235
- don't use private API with newer CUPS >=1.2
- apply patch to fix crash in kdeprin
kdelibs-3.5.2-cups-api.patch:
ipprequest.cpp | 6 ++++++
1 files changed, 6 insertions(+)
--- NEW FILE kdelibs-3.5.2-cups-api.patch ---
--- kdelibs-3.5.2/kdeprint/cups/ipprequest.cpp.orig 2006-05-08 15:50:20.000000000 +0200
+++ kdelibs-3.5.2/kdeprint/cups/ipprequest.cpp 2006-05-08 15:50:31.000000000 +0200
@@ -511,6 +511,11 @@
cupsFreeOptions(n, options);
// find an remove that annoying "document-format" attribute
+#if (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR == 1 && CUPS_VERSION_PATCH >= 19) || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR >= 2)
+ ipp_attribute_t *attr = ippFindAttribute(request_, "document-format", IPP_TAG_NAME);
+ ippDeleteAttribute(request_, attr);
+#else
+ // (can't use IppDeleteAttribute as older cups doesn't have that)
ipp_attribute_t *attr = request_->attrs;
while (attr)
{
@@ -523,4 +528,5 @@
}
attr = attr->next;
}
+#endif
}
kdelibs-3.5.2-kdebug-kmail-quiet.patch:
kdebugrc | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE kdelibs-3.5.2-kdebug-kmail-quiet.patch ---
--- kdelibs-3.5.2/kdecore/kdebugrc.orig 2006-05-03 16:12:27.000000000 +0200
+++ kdelibs-3.5.2/kdecore/kdebugrc 2006-05-03 16:12:35.000000000 +0200
@@ -82,7 +82,7 @@
# KMail
[5006]
-InfoOutput=2
+InfoOutput=4
# KitchenSync (Syncing Algorithm)
[5250]
kdelibs-3.5.2-kdeprint.patch:
kpgeneralpage.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE kdelibs-3.5.2-kdeprint.patch ---
--- kdelibs-3.5.2/kdeprint/kpgeneralpage.cpp.orig 2006-04-21 14:43:47.000000000 +0200
+++ kdelibs-3.5.2/kdeprint/kpgeneralpage.cpp 2006-04-21 14:45:27.000000000 +0200
@@ -523,7 +523,7 @@
if (ch) setComboItem(m_papertype, ch->get("text"));
}
value = opts["InputSlot"];
- if (m_inputslot->isEnabled() && !value.isEmpty())
+ if (m_inputslot && m_inputslot->isEnabled() && !value.isEmpty())
{
DrBase *ch = ((DrListOption*)driver()->findOption("InputSlot"))->findChoice(value);
if (ch) setComboItem(m_inputslot, ch->get("text"));
Index: kdelibs.spec
===================================================================
RCS file: /cvs/dist/rpms/kdelibs/FC-4/kdelibs.spec,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- kdelibs.spec 11 Apr 2006 10:13:35 -0000 1.102
+++ kdelibs.spec 11 May 2006 10:24:43 -0000 1.103
@@ -22,7 +22,7 @@
%define arts 1
Version: 3.5.2
-Release: 0.1.fc4
+Release: 0.2.fc4
Summary: K Desktop Environment - Libraries
Name: kdelibs
Url: http://www.kde.org/
@@ -48,6 +48,11 @@
Patch33: kdelibs-3.3.2-ppc.patch
Patch34: kdelibs-3.4.0-qtdoc.patch
Patch35: kdelibs-3.4.92-inttype.patch
+Patch36: kdelibs-3.5.2-kdebug-kmail-quiet.patch
+
+# upstream patches
+Patch100: kdelibs-3.5.2-kdeprint.patch
+Patch101: kdelibs-3.5.2-cups-api.patch
%if %{arts}
Requires: arts >= %{arts_epoch}:%{arts_version}
@@ -168,6 +173,11 @@
%patch33 -p1 -b .ppc
%patch34 -p1 -b .qtdoc
%patch35 -p1 -b .inttype
+%patch36 -p1 -b .kdebug-kmail-quiet
+
+# upstream patches
+%patch100 -p1 -b .kdeprint
+%patch101 -p1 -b .cups-api
# add redhat into KDE_VERSION_STRING
%if %{redhatify}
More information about the fedora-cvs-commits
mailing list