Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 190006
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Martin von Gagern <Martin.vGagern@gmx.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
diff Ebuild diff for app-portage/kexi-1.6.3 to fix the desktop file. patch Thomas Anderson (tanderson) 2007-08-26 12:49 0000 432 bytes Details | Diff
diff Karbon patch patch Thomas Anderson (tanderson) 2007-08-26 13:34 0000 353 bytes Details | Diff
diff Patch for Kformula patch Thomas Anderson (tanderson) 2007-08-26 22:45 0000 373 bytes Details | Diff
diff Patch for Kword patch Thomas Anderson (tanderson) 2007-08-27 00:09 0000 315 bytes Details | Diff
diff Patch for Krita patch Thomas Anderson (tanderson) 2007-08-27 12:52 0000 449 bytes Details | Diff
diff Patch for Kchart patch Thomas Anderson (tanderson) 2007-08-27 13:17 0000 381 bytes Details | Diff
diff Patch for Kivio patch Thomas Anderson (tanderson) 2007-08-27 21:27 0000 368 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 190006 depends on: Show dependency tree
Bug 190006 blocks: 189364
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-24 07:59 0000
After remerging kexi, I got an elog mail:

/usr/share/applications/kde/kexi.desktop: value
"application/x-kexiproject-sqlite;application/x-sqlite2;application/x-kexiproject-shortcut;application/x-kexiproject-sqlite2;application/x-kexiproject-sqlite3;application/x-sqlite3;application/x-kexi-connectiondata;application/x-msaccess"
for string list key "MimeType" in group "Desktop Entry" does not have a
semicolon (';') as trailing character

Checking all my desktop files, I found the following KOffice ebuilds had
installed files containing errors:

app-office/karbon-1.6.2
app-office/kchart-1.6.3
app-office/kexi-1.6.3
app-office/kformula-1.6.2
app-office/kivio-1.6.2
app-office/koffice-data-1.6.3
app-office/koffice-libs-1.6.3
app-office/kplato-1.6.2
app-office/kpresenter-1.6.3
app-office/krita-1.6.3
app-office/kspread-1.6.2
app-office/kugar-1.6.2
app-office/kword-1.6.3-r1

------- Comment #1 From Martin von Gagern 2007-08-24 08:41:32 0000 -------
As Jakub changed the Summary to give an explicit package name, I should say
that I've got koffice-meta here, as you can probably tell from the above
package list.
I would assume, however, that the single package would contain the same errors.

------- Comment #2 From Thomas Anderson (tanderson) 2007-08-26 12:05:36 0000 -------
Ok, I am going to work on this bug, but I would prefer the input from some
gentoo devs on the best way to go about it. Would it be best to sed the file?
Or would a patch that is sendable to upstream be more appropriate? Either way I
can do it, but the question of what type of fix to use is stopping me from
fixing it. Thanks.

------- Comment #3 From Thomas Anderson (tanderson) 2007-08-26 12:49:54 0000 -------
Created an attachment (id=129236) [details]
Ebuild diff for app-portage/kexi-1.6.3 to fix the desktop file.

I'll put patches for the others as I finish them

------- Comment #4 From Thomas Anderson (tanderson) 2007-08-26 13:34:34 0000 -------
Created an attachment (id=129238) [details]
Karbon patch

I tested this one, Philantrop. :)

------- Comment #5 From Thomas Anderson (tanderson) 2007-08-26 22:45:51 0000 -------
Created an attachment (id=129268) [details]
Patch for Kformula

------- Comment #6 From Thomas Anderson (tanderson) 2007-08-27 00:09:58 0000 -------
Created an attachment (id=129269) [details]
Patch for Kword

------- Comment #7 From Thomas Anderson (tanderson) 2007-08-27 12:52:38 0000 -------
Created an attachment (id=129319) [details]
Patch for Krita

Thanks to kojiro for help with the regular expression.

------- Comment #8 From Thomas Anderson (tanderson) 2007-08-27 13:17:18 0000 -------
Created an attachment (id=129321) [details]
Patch for Kchart

------- Comment #9 From Thomas Anderson (tanderson) 2007-08-27 21:27:14 0000 -------
Created an attachment (id=129377) [details]
Patch for Kivio

------- Comment #10 From Jakub Moc (RETIRED) 2007-10-26 09:33:04 0000 -------
*** Bug 197113 has been marked as a duplicate of this bug. ***

------- Comment #11 From Carsten Lohrke 2009-02-09 01:44:14 0000 -------
With the 1.6.3_p20090204 ebuilds the desktop files are all fixed - at least to
the degree it's possible, given that KDE's desktop files are not entirely
standard compliant.



A general remark - a patch should always be preferred to sed expressions for at
least two reasons: As a Gentoo dev we signed¹, that our fixes reach upstream
and not doing so is bad practice. A sed expression is also to be avoided,
because it may linger around in ebuilds/eclasses, even 
when it isn't needed anymore. Expensive QA work is the result. sed expressions
are only to be used for inevitable dynamic changes, stuff not going upstream,
like branding etc.. When you fix desktop files, please rerun
desktop-file-validate yourself and fix the (suppressed) warnings as well.


[1] http://www.gentoo.org/main/en/contract.xml

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug