Package: emacs22
Version: 22.1+1-3
Severity: wishlist

Hi,

I am the maintainer of the Yorick packages. I want to provide a menu entry for this scientific shell running in emacs (emacs -f yorick) through Debian menu files and Desktop files.

The menu entry should be displayed only when either the real emacs22 package or emacs22-gtk is installed, but not when emacs22-nox is installed.

The problem is that emacs22-nox Provides: emacs22 as well as all the commands provided by emacs22, so neither the Debian menu system nor the desktop file system can decide for sure whether emacs22 has X11 capability.

I would like the emacs22 package to Provides: emacs22-x as well as a emacs22-x command.

This way, my menu file could read
?package(yorick,emacs22-x):needs=X11...

and my desktop file would contain the line:
TryExec=emacs22-x
Terminal=false

Actually, it may be nice if emacs22-gtk also provided the emacs22-x package and command, since, for now, I can't think of a practical reason not to do so and that would enable my emacs22-x files to also work with emacs22-gtk out of the box. On the other hand, it may be interesting, in principle, to be able to distinguish between the two packages (which is not the case as of now).

Best regards, Thibaut.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages emacs22 depends on:
ii emacs22-bin-common 22.1+1-3 The GNU Emacs editor's shared, arc
ii  libasound2             1.0.16-2          ALSA library
ii libc6 2.7-9 GNU C Library: Shared libraries ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library ii libjpeg62 6b-14 The Independent JPEG Group's JPEG ii libncurses5 5.6+20080203-1 Shared libraries for terminal hand
ii  libpng12-0             1.2.15~beta5-3    PNG library - runtime
ii libsm6 2:1.0.3-1+b1 X11 Session Management library ii libtiff4 3.8.2-7 Tag Image File Format (TIFF) libra
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar ii libxmu6 2:1.0.4-1 X11 miscellaneous utility library
ii  libxpm4                1:3.5.7-1         X11 pixmap library
ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library
ii  xaw3dg                 1.5+E-15          Xaw3d widget set
ii zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime

emacs22 recommends no packages.

Attachment: PGP.sig
Description: Ceci est une signature électronique PGP

Reply via email to