Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Nov 2016 04:31:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213904] [maintainer] [patch] games/zdoom: Add desktop and pixmap files
Message-ID:  <bug-213904-13-4K0TPw6lvI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213904-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213904-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213904

--- Comment #3 from Jan Beich (mail not working) <jbeich@FreeBSD.org> ---
Comment on attachment 176787
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D176787
svn(1) diff of games/zdoom

> +DESKTOP_ENTRIES=3D	"ZDoom" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" "Gam=
e;" ${FALSE}

Don't use ${FALSE} variable if the value isn't supposed to be a command (e.=
g.
/usr/bin/false) or sh(1) builtin. Besides, "false" isn't actually default
behavior for StartupNotify:

  If true, it is KNOWN that the application will send a "remove"
  message when started with the DESKTOP_STARTUP_ID environment
  variable set. If false, it is KNOWN that the application does not
  work with startup notification at all (does not shown any window,
  breaks even when using StartupWMClass, etc.). If absent, a
  reasonable handling is up to implementations (assuming false, using
  StartupWMClass, etc.). (See the Startup Notification Protocol
  Specification for more details).

https://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html

Also, some fields can be left empty according to Mk/bsd.port.mk:

  * Comment, Icon and StartupNotify may be empty
    strings (""). Categories may be an empty string in some
    cases (see below). The other fields are mandatory.
  * If Categories is an empty string, bsd.port.mk will try
    to deduce a default value using the CATEGORIES variable.
    If the deduction fails, you will have to set Categories
    manually. You should check the generated value using
    "make desktop-categories", and override it if necessary.

which would result in

  DESKTOP_ENTRIES=3D      "ZDoom" "" "" "${PORTNAME}" "" ""

but you may want to clarify category as "Game;Shooter;" per
https://standards.freedesktop.org/menu-spec/latest/apas02.html

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213904-13-4K0TPw6lvI>