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

Bug#428504: marked as done (menu-method for wmii)



Your message dated Mon, 30 Apr 2018 10:31:39 +0200
with message-id <f732201d-9c00-19b1-d497-0bb5d6a4126f@collabora.co.uk>
and subject line Re: menu-method for wmii
has caused the Debian Bug report #428504,
regarding menu-method for wmii
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
428504: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428504
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: wmii
Version: 3.1-5
Severity: wishlist
Tags: patch

Hi,

here's a menu-methods file for wmii 3. I didn't test it with 3.5 yet,
but I guess it works (after adjusting the output paths). Drop it into
/etc/menu-methods (executable) and call update-menus in the postinst.

Christoph
#!/usr/bin/install-menu

compat="menu-1"
!include menu.h
compat="menu-2"

genmenu="debian";

rootprefix="/etc/X11/wmii-3";
userprefix="/.wmii-3";

mainmenutitle="Debian Menus";

preoutput= "# Automatically generated wmii file.\n# Do not edit.\n\n";

treewalk="c(m)";

startmenu=
"menu" replacewith($section,"/","_") " () { # " esc(title(),":") "\n"
"while true ; do\n"
"menu=\"";

submenutitle= title() "/\t" "menu" replacewith($section,"/","_") "\n";

supported;
x11= title() "\t" $command " >/dev/null 2>&1 &\n";
text= title() "\tx-terminal-emulator -e " $command " &\n";
endsupported;

endmenu=
"\"\n"
"  ret=$(echo \"$menu\" | grep ^. | cut -f 1 | wmiimenu) || return\n"
"  cmd=$(echo \"$menu\" | grep \"^$ret\t\" | cut -f 2)\n"
"  if [[ \"$cmd\" == menu_* ]] ; then\n"
"    $cmd\n"
"  elif [ \"$cmd\" ] ; then\n"
"    exec sh -c \"$cmd\"\n"
"  else\n"
"    echo \"Error: $ret has no command\" 2>&1\n"
"  fi\n"
"done\n"
"}\n"
"\n";

postoutput="if [ \"$1\" ] ; then $1 ; else menu_Debian ; fi\n";

postrun="chmod +x "prefix()"/debian"

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Control: tag -1 wontfix

Since the Debian menu system has been deprecated, this task is not
relevant any longer.

-- 
Cheers,
  Andrew

--- End Message ---

Reply to: