NetBSD Problem Report #18168
Received: (qmail 17719 invoked by uid 605); 4 Sep 2002 17:05:57 -0000
Message-Id: <21772-1031159156@rainier.reedmedia.net>
Date: Wed, 04 Sep 2002 10:05:56 -0700
From: reed@reedmedia.net
Sender: gnats-bugs-owner@netbsd.org
Reply-To: reed@reedmedia.net
To: gnats-bugs@gnats.netbsd.org
Subject: packages could contain menus (patches provided)
X-Send-Pr-Version: 3.95
>Number: 18168
>Category: pkg
>Synopsis: allow packages to help generate menus (patches provided)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: joerg
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Sep 04 17:06:00 +0000 2002
>Closed-Date: Wed Feb 10 03:05:31 +0000 2010
>Last-Modified: Wed Feb 10 03:05:31 +0000 2010
>Originator:
>Release: NetBSD 1.5.3
>Organization:
http://bsd.reedmedia.net/
>Environment:
System: NetBSD rainier.reedmedia.net 1.5.3 NetBSD 1.5.3 (JCR-1.5-20020723) #0: Tue Jul 23 15:18:22 PDT 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-1.5-20020723 i386
Architecture: i386
Machine: i386
>Description:
End-users would find it useful if they could have menus generated
to reflect the installed packages.
Admins would save time if menus could be automatically generated
when packages were installed.
>How-To-Repeat:
Install a package then manually help all your end-users to add to their
window manager's menu.
Pretend you are a novice and install editors/gnotepad. Then wonder how to
start it via your menu (or command-line).
>Fix:
I have patches for mk/bsd.pkg.{defaults.,}mk and pkg_install at
http://www.reedmedia.net/misc/netbsd/menus/. These patches all
a package to install menu entries (if provided) and remove when
package is removed.
I have examples there too.
I discussed this a little on the tech-pkg mailing list.
Note:
1) menu entry data is generic and not window manager specific;
2) separate script(s) can be installed to use menu entry data
to make menus specific for window manager(s);
3) it will not overwrite default menus (unless that window manager
package maintainer doesn't provide a default menu and chooses to
use it);
4) users/admins can override the settings with their additional
menu entry data files;
5) again: users and admins are not forced to use it.
Please allow package maintainers to easily provide menu entries for
their packages.
(I need to submit patches for further documentation and provide a few
packages for simple scripts specific for window managers.)
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->jmmv
Responsible-Changed-By: jmmv@netbsd.org
Responsible-Changed-When: Tue, 22 Mar 2005 19:28:44 +0000
Responsible-Changed-Why:
Let's take this one, at least until I have commited the .desktop file
changes I proposed a while ago.
State-Changed-From-To: open->suspended
State-Changed-By: jmmv@netbsd.org
State-Changed-When: Mon, 06 Jun 2005 19:06:57 +0000
State-Changed-Why:
Fixing this PR requires multiple changes. It's better to wait until the
current freeze is over. (I already have patches to implement this; just
need to clean them up.)
State-Changed-From-To: suspended->open
State-Changed-By: joerg@netbsd.org
State-Changed-When: Mon, 02 Oct 2006 18:51:40 +0000
State-Changed-Why:
2005Q2 freeze is over, reopen.
If you don't think this should be handled in the current framework,
feel free to assign this to me.
Responsible-Changed-From-To: jmmv->joerg
Responsible-Changed-By: joerg@netbsd.org
Responsible-Changed-When: Fri, 22 Dec 2006 20:15:01 +0000
Responsible-Changed-Why:
Take it as suggested in October
State-Changed-From-To: open->suspended
State-Changed-By: joerg@netbsd.org
State-Changed-When: Fri, 22 Dec 2006 20:15:01 +0000
State-Changed-Why:
I won't fix it now, but will do later.
State-Changed-From-To: suspended->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 09 Feb 2010 21:56:16 +0000
State-Changed-Why:
Is this still relevant in the presence of sysutils/desktop-file-utils?
State-Changed-From-To: feedback->closed
State-Changed-By: reed@NetBSD.org
State-Changed-When: Wed, 10 Feb 2010 03:05:31 +0000
State-Changed-Why:
I am closing my old ticket. While my idea is easy, it is probably better
to get the .desktop files provided instead.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.