Bug 883529 - kate has a file conflict with kdelibs3
Summary: kate has a file conflict with kdelibs3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kate
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-04 19:57 UTC by Bruno Wolff III
Modified: 2013-03-03 22:24 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-01-12 00:34:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Bruno Wolff III 2012-12-04 19:57:56 UTC
Description of problem:
Transaction Check Error:
  file /usr/share/config/katesyntaxhighlightingrc from install of kate-4.9.90-1.fc19.i686 conflicts with file from package kdelibs3-3.5.10-39.fc18.i686

Comment 1 Rex Dieter 2012-12-04 21:36:42 UTC
ick, guess I'll try to rework the packaging of each so that can share a common katesyntaxhighlightingrc

Comment 2 Rex Dieter 2012-12-04 21:44:38 UTC
an alternative that's potentially less messy would be to patch kdelibs3 kate code to not assume a katesyntaxhighlightingrc is present with values:
[General]
Version=14
CachedVersion=0

(ie, default those values in code instead), except, it turns out that
 
kate-4.9.90/part/syntax/katesyntaxdocument.cpp:  if (generalConfig.readEntry ("Version",0) > generalConfig.readEntry ("CachedVersion",0))
kate-4.9.90/part/syntax/katesyntaxdocument.cpp:    generalConfig.writeEntry ("CachedVersion", generalConfig.readEntry ("Version",0));

contains references too, and seems to default these to 0 instead.  :-/

Comment 3 Kevin Kofler 2012-12-04 21:51:28 UTC
Currently (up to 4.9), this file is only shipped by kdelibs3. In 4.10, kate seems to ship it (again).

The kdelibs3 version has these contents:
[General]
Version=14
CachedVersion=0

The kate 4 version, on the other hand, defines some default item styles:
https://projects.kde.org/projects/kde/kde-baseapps/kate/repository/revisions/master/entry/part/data/katesyntaxhighlightingrc

I think the kdelibs3 version can just be removed, Quanta and KTIGCC (the apps using the kdelibs3 KatePart I tested this with) seem to work fine without it.

Comment 4 Kevin Kofler 2012-12-04 21:54:52 UTC
The fact that this legacy file is changing settings also affecting the current code sounds like all the more of a reason to remove it.

Now of course the real question is: What exactly is this for? My guess: to make sure the cache gets regenerated when you upgrade the KatePart to a version with an incompatible cache ABI. If that's true, that's not likely to happen with kdelibs3 anymore, and with kate 4, it seems not to be needed anymore or upstream would set that version.

But it'd be good to know for sure.

Comment 5 Fedora Update System 2012-12-04 22:50:45 UTC
kdelibs3-3.5.10-40.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/kdelibs3-3.5.10-40.fc18

Comment 6 Fedora Update System 2012-12-05 23:07:06 UTC
Package kdelibs3-3.5.10-40.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kdelibs3-3.5.10-40.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-19773/kdelibs3-3.5.10-40.fc18
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-12-21 20:04:22 UTC
Package kdelibs3-3.5.10-42.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kdelibs3-3.5.10-42.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-19773/kdelibs3-3.5.10-42.fc18
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-01-12 00:34:58 UTC
kdelibs3-3.5.10-42.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2013-02-20 13:57:01 UTC
kdelibs3-3.5.10-42.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/kdelibs3-3.5.10-42.fc17

Comment 10 Fedora Update System 2013-03-03 22:24:50 UTC
kdelibs3-3.5.10-42.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.