[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#190397: marked as done (main-menu: please include support for hiding menuitems)



Your message dated Fri, 27 Aug 2004 11:48:15 -0400
with message-id <20040827154815.GA5457@kitenet.net>
and subject line closing
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Apr 2003 21:47:53 +0000
>From tsauter@gmx.net Wed Apr 23 16:47:52 2003
Return-path: <tsauter@gmx.net>
Received: from mail.gmx.net [213.165.64.20] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 198S5n-0002Ap-00; Wed, 23 Apr 2003 16:47:51 -0500
Received: (qmail 20674 invoked by uid 65534); 23 Apr 2003 21:47:29 -0000
Received: from pD9E609EC.dip.t-dialin.net (EHLO jacky.resix.de) (217.230.9.236)
  by mail.gmx.net (mp019-rz3) with SMTP; 23 Apr 2003 23:47:29 +0200
Received: from sar by jacky.resix.de with local (Exim 3.36 #1 (Debian))
	id 198S7i-0000sp-00; Wed, 23 Apr 2003 23:49:50 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
From: Thorsten Sauter <tsauter@gmx.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: main-menu: please include support for hiding menuitems
X-Mailer: reportbug 2.10.1
Date: Wed, 23 Apr 2003 23:49:50 +0200
Message-Id: <E198S7i-0000sp-00@jacky.resix.de>
Sender: Thorsten Sauter <tsauter@gmx.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0
	tests=HAS_PACKAGE
	version=2.53
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp)

Package: main-menu
Version: 0.028 (not installed)
Severity: wishlist

Hi,

please extend main-menu to support hiding of some menuitems.

Some packages are only useful on a specific sub-architecture, so they
shouldn't display in the main-menu. yaboot-installer for example can
only be used on NewWorld PowerMacs, but it will always included in the
ppc image.

So it would nice, if main-menu runs a script (eg debian/isinstallable or
debian/menutest), if this script returns true (or does not exist) show
the menuitem, if now hide it.

I have attached a sample script to make it a little bit more clear:
cat debian/isinstallable
#!/bin/sh

[ `/usr/bin/powerpc-type` = "NewWorld PowerMac" ] && exit 0
exit 1

if main-menu use this script, yaboot-installer will only be available on
ppc newworld macs.


Thanks
Thorsten


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux jacky 2.4.20 #4 Mon Mär 10 08:56:31 CET 2003 i686
Locale: LANG=de_DE, LC_CTYPE=de_DE


---------------------------------------
Received: (at 190397-done) by bugs.debian.org; 27 Aug 2004 15:48:03 +0000
>From joey@kitenet.net Fri Aug 27 08:48:02 2004
Return-path: <joey@kitenet.net>
Received: from kitenet.net [64.62.161.42] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C0ixO-0005MU-00; Fri, 27 Aug 2004 08:48:02 -0700
Received: from dragon.kitenet.net (unknown [66.168.94.144])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "Joey Hess", Issuer "Joey Hess" (verified OK))
	by kitenet.net (Postfix) with ESMTP id 5866618DB1
	for <190397-done@bugs.debian.org>; Fri, 27 Aug 2004 15:48:00 +0000 (GMT)
Received: by dragon.kitenet.net (Postfix, from userid 1000)
	id 4A8A16E3FA; Fri, 27 Aug 2004 11:48:15 -0400 (EDT)
Date: Fri, 27 Aug 2004 11:48:15 -0400
From: Joey Hess <joeyh@debian.org>
To: 190397-done@bugs.debian.org
Subject: closing
Message-ID: <20040827154815.GA5457@kitenet.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S"
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040818i
Delivered-To: 190397-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--AhhlLboLdkugWU4S
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

closing, I think the subarchitecture stuff takes care of this, there's
also isinstallable files.

--=20
see shy jo

--AhhlLboLdkugWU4S
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBL1e+d8HHehbQuO8RArlMAJ0bw37tRyG+8S7MmYA2tRVlaXIC/wCfQ/1L
/auuUJSsi08d6nbGflSCOCE=
=bW8S
-----END PGP SIGNATURE-----

--AhhlLboLdkugWU4S--



Reply to: