First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 49406
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Ray Russell Reese III (RETIRED) <anti@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gustav Schaffter <hguiwerkj@hotmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
jedit.desktop A simpe (English only) Gnome menu definition file. text/plain Gustav Schaffter 2004-04-29 12:09 0000 186 bytes Details
jedit.desktop Improved .desktop file for jedit text/plain rajas 2005-08-11 01:47 0000 896 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 49406 depends on: Show dependency tree
Show dependency graph
Bug 49406 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

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







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


Description:   Opened: 2004-04-29 12:08 0000
The app-editors/jedit ebuild (version 4.1) doesn't contain the file
/usr/share/applications/jedit.desktop which means that the jEdit application
doesn't show up in the Gnome menu.

I will attach a file that I use (English only). This file could(/should?) be
added to the jEdit ebuild.

From there, other jEdit users may provide national translations to complement
the file.

Just wanted to get the ball rolling... ;-)

Gus


Reproducible: Always
Steps to Reproduce:
1. emerge jedit
2. load gnome
3. search for jEdit in the Gnome menu

Actual Results:  
jEdit does not show up in the Gnome menu.

Expected Results:  
jEdit should show up in the Gnome menu.

------- Comment #1 From Gustav Schaffter 2004-04-29 12:09:59 0000 -------
Created an attachment (id=30340) [edit]
A simpe (English only) Gnome menu definition file.

------- Comment #2 From foser (RETIRED) 2004-05-05 02:50:36 0000 -------
not gnome

------- Comment #3 From Ray Russell Reese III (RETIRED) 2004-12-27 12:33:31 0000 -------
I've added this feature now. jedit.desktop will be installed if kde or gnome is
set in USE. Thanks for the file.

------- Comment #4 From foser (RETIRED) 2004-12-28 07:29:08 0000 -------
you also might want to add a MimeType directive for gnome : text/plain
text/x-java  .
Also maybe add Utility & TextEditor to Categories.

------- Comment #5 From rajas 2005-08-11 01:47:27 0000 -------
Created an attachment (id=65642) [edit]
Improved .desktop file for jedit

Did the things foser said: Added categories and mime-types. The mimetypes were
taken from gvim.desktop, so they should be nearly complete.

------- Comment #6 From rajas 2005-08-11 01:52:59 0000 -------
It also improves the ebuild to use the .desktop-file and update the
fdo-mime-database after installing jEdit. So to say:

inherit fdo-mime

src_compile() {
-       make_desktop_entry jedit "jEdit" jedit
+       domenu ${FILESDIR}/jedit.desktop
}

 pkg_postinst() {
+       fdo-mime_desktop_database_update
+       fdo-mime_mime_database_update
+
 }

 pkg_postrm() {
+       fdo-mime_desktop_database_update
+       fdo-mime_mime_database_update
}

Sorry, next time i'll provide a patch ;)

First Last Prev Next    No search results available      Search page      Enter new bug