Thanks for answering me Pierre. I have read the hd_installmenu manpage and I
have applied it typing only dh_installmenu -v. The output of this command
was this:

        install -p -m644 debian/menu
debian/lkmonitor/usr/share/menu/lkmonitor
        echo "# Automatically added by dh_installmenu">>
debian/lkmonitor.postinst.debhelper
        sed "" /usr/share/debhelper/autoscripts/postinst-menu >>
debian/lkmonitor.postinst.debhelper
        echo '# End automatically added section' >>
debian/lkmonitor.postinst.debhelper
        echo "# Automatically added by dh_installmenu">>
debian/lkmonitor.postrm.debhelper
        sed "" /usr/share/debhelper/autoscripts/postrm-menu >>
debian/lkmonitor.postrm.debhelper
        echo '# End automatically added section' >>
debian/lkmonitor.postrm.debhelper

so, I tried to do a dpkg-buildpackage -rfakeroot another time and when the
process had finished I installed the .deb package but all goes in the same
way about the menus. I am going to post it in debian-mentors as you
suggested me, but if you or somebody here can tell me something more about
my problem I will be grateful because I have not found a lot of
documentation to fix my specific problem.

Thanks another time.

JM Barrios


On 8/4/07, Pierre Habouzit <[EMAIL PROTECTED]> wrote:
>
> On Sat, Aug 04, 2007 at 12:57:39PM +0200, JM Barrios wrote:
> > Hello:
> >
> > I am developing a .deb package an all goes well but I have problems
> putting
> > it in the Applications menu of Gnome. I have modified the debian/menu.ex
> > file with this content:
> >
> > ?package(lkmonitor):needs="x11″ section="Apps/System" \
> > title="Linux Kernel Monitor" command="/usr/bin/lkmonitor" \
> > icon="/usr/share/pixmaps/lkmonitor/spider-shadow16.png"
> >
> >
> > then I renamed the file from menu.ex to menu. I have modified
> > debian/postinst.ex file adding this lines:
>
>   Use dh_installmenu that would take care of that. Also I'd say that
> debian-mentors is a better list for this kind of questions. Cheers,
>
> --
> ・O・  Pierre Habouzit
> ・・O                                                [EMAIL PROTECTED]
> OOO                                                http://www.madism.org
>
>

Reply via email to