Bug 178699

Summary: [fix] devel/xdg-utils fails without ${LOCALBASE}/share/desktop-directories
Product: Ports & Packages Reporter: javad.kouhi
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed Feedback Timeout    
Severity: Affects Only Me CC: cs, miwi
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description javad.kouhi 2013-05-17 02:40:00 UTC
If the "${LOCALBASE}/share/desktop-directories" directory does not exist in the system, the command "xdg-desktop-menu install .desktop-file" will fail.

How-To-Repeat: 1. Install devel/xdg-utils
2. Make sure "${LOCALBASE}/share/desktop-directories" does not exist
3. Try installing a .desktop file with the "xdg-desktop-menu install" command
4. The above command will fail because that directory does not exist in the system
5. The following message will be printed:


xdg_user_dir: /root/.local/share/desktop-directories
xdg_global_dir: 
kde_user_dir: 
kde_global_dir: 
gnome_user_dir: 
gnome_global_dir: 
xdg-desktop-menu: No writable system menu directory found.


6. Create an empty "${LOCALBASE}/share/desktop-directories" and try again.
7. This time the .desktop file will be installed successfully.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-05-17 02:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Carlo Strub freebsd_committer freebsd_triage 2014-09-14 10:28:56 UTC
Is this PR still relevant?