Hi,
I just want to attract you attention to this question on debian-devel.
This is not insterestung under the aspect of a bug, but I'd like to
hear your opinion how we should support Gnome menus.
Kind regards
Andreas.
---------- Forwarded message ----------
Date: Mon, 26 Apr 2004 20:05:42 +0200
From: Artur R. Czechowski <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected], [email protected]
Subject: /usr/lib/menu vs .desktop files - possible mass bug filling
Resent-Date: Mon, 26 Apr 2004 13:05:53 -0500 (CDT)
Resent-From: [email protected]
Hello,
I would like to know your opinion about creating menu from Debian packages.
Debian Policy. section 9.6 says that, under some conditions (not significant
in this case), package should register a menu entry for its applications,
for users of the menu and pdmenu packages.
I've found[1] 48 packages[3] which have ${packagename}.desktop in
/usr/share/gnome/apps subdirectories without menu file in /usr/lib/menu.
So, my question are:
Does update-menu support .desktop file?
Do window managers in Debian support .desktop file?
Are there any plans to change Debian Policy and use .desktop files?
And, if answers to all above questions are negative:
Should I review[2] those packages and file RC bug agains them?
Cheers
Artur
[1] Script is attached
[2] This list has been generated automagically with attached script, I
didn't review manually those packages. Please notify me if you find
any inconsistencies.
[3] List follows:
acme 2.4.3-2 Devin Carraway <[EMAIL PROTECTED]>
eyesapplet 4:3.2.2-1 Ben Burton <[EMAIL PROTECTED]>
file-roller 2.4.4-1 Sebastien Bacher <[EMAIL PROTECTED]>
gconf-editor 2.6.0-1.is.2.4.0 Takuo KITAME <[EMAIL PROTECTED]>
gdesklets 0.26.1-2 Sebastien Bacher <[EMAIL PROTECTED]>
gnome-blog 0.7-3 Frederic Peters <[EMAIL PROTECTED]>
gnome-find 1.0.2 Yooseong Yang <[EMAIL PROTECTED]>
gnome-jabber 0.3+cvs.20031208-1 Sebastian D.B. Krause <[EMAIL PROTECTED]>
gnome-pkgview 1.0.5-2 Ross Burton <[EMAIL PROTECTED]>
gnopernicus 0.7.1-1 Mario Lang <[EMAIL PROTECTED]>
grcm 0.1.5-1 James Morrison <[EMAIL PROTECTED]>
grubconf 0.5-1 Luis R. Rodriguez <[EMAIL PROTECTED]>
gtodo 0.13.5-1 Mika Hämäläinen <[EMAIL PROTECTED]>
gwget2 0.7-3 Luca - De Whiskey's - De Vitis <[EMAIL PROTECTED]>
kamera 4:3.2.2-1 Debian Qt/KDE Maintainers <[email protected]>
karamba 0.17-4 Jean-Michel Kelbert <[EMAIL PROTECTED]>
kbiff 3.7.1-1 Jean-Michel Kelbert <[EMAIL PROTECTED]>
kcd 0.1.3.1-6 Ben Burton <[EMAIL PROTECTED]>
kdesktop 4:3.2.2-1 Debian Qt/KDE Maintainers
<[email protected]>
kdiff3 0.9.81-2 Eike Sauer <[EMAIL PROTECTED]>
kdirstat 2.4.0-1 Mike Schacht <[EMAIL PROTECTED]>
keybled 0.62-2 Aurelien Jarno <[EMAIL PROTECTED]>
kflog 2.1.1-2 Stefan Gybas <[EMAIL PROTECTED]>
kfocus 1.0.2-13 Mark Purcell <[EMAIL PROTECTED]>
kgamma 4:3.2.2-1 Debian Qt/KDE Maintainers <[email protected]>
kid3 0.4-1 Aurelien Jarno <[EMAIL PROTECTED]>
klaptopdaemon 4:3.2.2-1 Debian Qt/KDE Maintainers
<[email protected]>
klipsi 0.12-4 John Lines <[EMAIL PROTECTED]>
klog 0.2.8-1 Jaime Robles <[EMAIL PROTECTED]>
kmerlin 1.4.2-1 Mark Purcell <[EMAIL PROTECTED]>
konsolekalendar 4:3.2.2-1 Debian Qt/KDE Maintainers
<[email protected]>
ksim 4:3.2.2-1 Debian Qt/KDE Maintainers <[email protected]>
ksplash 4:3.2.2-1 Debian Qt/KDE Maintainers <[email protected]>
kwalletmanager 4:3.2.2-1 Debian Qt/KDE Maintainers
<[email protected]>
kwavecontrol 0.3-3 Morten Hustveit <[EMAIL PROTECTED]>
kweather 4:3.2.2-1 Ben Burton <[EMAIL PROTECTED]>
linuxtrade 3.65-4 Dirk Eddelbuettel <[EMAIL PROTECTED]>
memprof 0.5.1-8 Adam Majer <[EMAIL PROTECTED]>
monster-masher 1.4-1 Sven Luther <[EMAIL PROTECTED]>
nmapfe 3.50-1 LaMont Jones <[EMAIL PROTECTED]>
obconf 1.5-1 Tore Anderson <[EMAIL PROTECTED]>
ogle-gui 0.9.2-2 Mikael Hedin <[EMAIL PROTECTED]>
prismstumbler 0.7.0-2 Phil Blundell <[EMAIL PROTECTED]>
python 2.3.3-7 Matthias Klose <[EMAIL PROTECTED]>
quark 3.21-2 Sven Luther <[EMAIL PROTECTED]>
unicorn 0.8-3 Sven Luther <[EMAIL PROTECTED]>
vimpart 4:3.2.2-1 Ben Burton <[EMAIL PROTECTED]>
wine 0.0.20040309-1 Ove Kaaven <[EMAIL PROTECTED]>
--
habitus - ustrukturowana struktura strukturująca
/definicja socjologiczna/
#!/usr/bin/perl
use strict;
my $home='/home/mirror/debian';
my $dist='sid';
my @sections=('main','contrib','non-free');
my $arch='i386';
my $sec;
my %p;
my $debfile;
LOOP:
foreach $sec(@sections) {
my $file=$home.'/dists/'.$dist.'/'.$sec.'/binary-'.$arch.'/Packages';
next LOOP if (!-f $file);
open(PACKAGES,$file) || die "Cannot open Packages file for
$dist/$sec/$arch\n";
PKG:
while(<PACKAGES>) {
chop;
/^ / && next PKG;
/^(Package|Maintainer|Version|Filename): (.*)$/ && {$p{$1}=$2};
/^$/ && do { #Przetwarza
print STDERR $p{Package}."
\r";
$debfile=$home.'/'.$p{Filename};
$p{hasmenu}=0;
$p{hasdesktop}=0;
open(DPKG,'dpkg-deb -c '.$debfile.'|');
LINE:
while(<DPKG>) {
chop;
/\.\/.*$/ && {$_=$&};
s/ ->.*//;
s/^\.//;
/\/$/ && next LINE;
my $pkgreg=$p{Package};
$pkgreg=~s/\+/\\\+/;
$pkgreg=~s/\./\\\./;
/\/usr\/lib\/menu\/$pkgreg$/ && do {$p{menu}=$_;
$p{hasmenu}=1};
/\/$pkgreg\.desktop$/ && do {$p{desktop}=$_;
$p{hasdesktop}=1};
}
close(DPKG);
if ($p{hasdesktop}&&!$p{hasmenu}) {
print $p{Package}." ".$p{Version}."
".$p{Maintainer}."\n";
print STDERR $p{Package}." ".$p{Version}."
".$p{Maintainer}."\n";
}
undef(%p);
}
}
close(PACKAGES);
}