On Mon, 12 Dec 2011 15:25:30 +0900, John Marino <marino%netbsd.org@localhost> wrote:
On 12/12/2011 2:31 AM, OBATA Akio wrote:On Mon, 12 Dec 2011 06:02:29 +0900, John Marino <marino%netbsd.org@localhost> wrote:Module Name: pkgsrc Committed By: marino Date: Sun Dec 11 21:02:29 UTC 2011 Modified Files: pkgsrc/editors/emacs-nox11: Makefile Log Message: editors/emacs-nox11: Update emacs.desktop to launch in Terminal Tweak behavior of emacs-nox11 launched from gnome or kde desktop. This change makes emacs-nox11 always get launched inside a terminal from those desktops.Please consider to apply such changes to `emacs' package without x11 option. emacs-nox11 package must not install *.desktop files unless adding buildlink with sysutils/desktop-file-utils/desktopdb.mk. By the same token, it must not install hicolor-icons, unless adding buildlink with graphics/hicolor-icon-theme/buldlink3.mk.All this commit did was to modify a file that was already getting installed by editors/emacs-nox11. The PLIST was not affected. Perhaps the commit made no difference without those buildlinks you mentioned....
It is probably OK to use emacs-nox11 just on console, but your change let emacs-nox11 to be used with desktop environment. On desktop environment, desktop-db and hicolor-icon are already installed by other packages, then installing/deleting emacs-nox11 package will break such databases. So, I suggested if you want to use emacs-nox11 package on desktop environment, let emacs-nox11 to maintain those databases, or prevent it from installing such files. -- OBATA Akio / obache%NetBSD.org@localhost