Re: customizing applications menu
Luca Sangemi <[email protected]> Sat, 18 Dec 2004 12:13:29 +0100
| Newsgroups | gmane.comp.gnome.os.redhat |
|---|---|
| Message-ID | <[email protected]> |
Ok! I've learned how to apply a patch to a src rpm; i 've modified the spec file, adding the patch in the list of the patches. Then, #rpmbuild -ba gnome-panel.spec done it all. I've obtained three packages (in /usr/src/redhat/RPMS), - gnome-panel-2.8.1-3.i386.rpm - gnome-panel-debuginfo-2.8.1-3.i386.rpm - gnome-panel-devel-2.8.1-3.i386.rpm I've installed them (forcing, i've already got the 2.8.1-3 version installed) , and in the gconf editor i can see the "enable menu stripe" option.I've checked it, restarted GNOME... But... it doesn't work. And the menu now have a strange look (some horizontal strips, repeated for all the length of the menu). So I back to the standard version. Anyway... I think i can survive without the strip, but , IMHO , i think it's a good idea to include it in the next release of gnome-panel, for two reasons : every customer can customize the distribution, and - it gives a better appearance to the desktop (it's only eye-candy-ware, i know...). Thanks for your help. Il giorno ven, 17-12-2004 alle 02:50 -0500, Bryan Clark ha scritto: > On Sat, 2004-12-11 at 16:28 +0100, Luca Sangemi wrote: > > Thank you! Unfortunately, I don't know how to apply this patch. Should i > > use " patch -pN file.diff " ? Then , should i recompile from sources? > > If yes, i think i can't, because i have an rpm based installation of > > GNOME. I'm sorry but this should be the first time i apply a patch to > > something (i started to use gnu/linux just one year ago). > > Oh, sorry for the lack of reply. Yes, "patch -p0 -i file.diff" would > probably do it, you might need to test (patch --dry-run -p1 -i > file.diff" for different values of -p. Then you would recompile that > package from sources, yes. > > You could do this with a src rpm but it will take a little learning. > > This site gives an overview of adding a patch to a src rpm > http://www.peacecomputers.com/sony_vaio/usb.html > > I just googled for "applying patch to src rpm" and that was the first > result. Once you've done this (patched src rpm, built rpm, installed > rpm, logout/login) you should have your own panel with the menu stripe. > > Cheers, > ~ Bryan > > _______________________________________________ > gnome-redhat-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gnome-redhat-list