Bug 167212 - [maintainer-update] Patch to add desktop icon for games/crossfire-client
Summary: [maintainer-update] Patch to add desktop icon for games/crossfire-client
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-22 20:40 UTC by Kevin Zheng
Modified: 2012-04-23 18:20 UTC (History)
0 users

See Also:


Attachments
file.diff (1.55 KB, patch)
2012-04-22 20:40 UTC, Kevin Zheng
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Zheng 2012-04-22 20:40:05 UTC
Most users like having a desktop icon created in the Applications menu after a graphical program (especially a game) is installed. This patch allows games/crossfire-client to install (and uninstall) a desktop icon in the applications folder.

A small change to whitespace was made, and pkg-plist now tries to remove share/applications and share/pixmap if empty.

The committer of this port should decide whether a bump to PORTREVISION is necessary. This patch only adds a desktop icon and doesn't otherwise change the functionality of the port.

Fix: Apply the attached patch.

Patch attached with submission follows:
How-To-Repeat: Simply install crossfire-client from ports and you'll quickly realize that there is no desktop icon.
Comment 1 dfilter service freebsd_committer 2012-04-23 18:18:01 UTC
pawel       2012-04-23 17:17:52 UTC

  FreeBSD ports repository

  Modified files:
    games/crossfire-client Makefile pkg-plist 
  Log:
  Install program's icon and desktop entry file
  
  PR:             ports/167212
  Submitted by:   maintainer
  
  Revision  Changes    Path
  1.78      +10 -0     ports/games/crossfire-client/Makefile
  1.17      +3 -0      ports/games/crossfire-client/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Pawel Pekala freebsd_committer 2012-04-23 18:18:48 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!