Re: [Q] update-menus broken in 1.3?
Sudhakar Chandrasekharan: That worked. As you said, there *should* be another way to specify local packages. Though I can understand why update-menus does not add an item if the package is not installed. My preference is that a new test be added (or it might already exist, for all I know), like: ?file(/usr/local/bin/vim): ... /usr/doc/menu/BUGS now contains: - update-menus: ? -package($p) is not general enough! (Joey: file(/usr/local/bin/vim)) (the last line I just added). The menu package used to allow any menu file starting with local to ignore whether the package was installed or not, so you could make a local.vim menu file. However, then the menu package changed a lot of things, and this no longer works. Yes, that was a bug introduced in menu-1.3. I fixed it now in the source, but haven't tested it yet (and, just now I checked again to see whether I fixed it and I saw I did mess it up slightly, but now it should be OK, I think). -- joost witteveen, [EMAIL PROTECTED] #!/bin/perl -sp0777iX+d*lMLa^*lN%0]dsXx++lMlN/dsM0j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$kSK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) #what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
[Q] update-menus broken in 1.3?
I have spent the last couple of hours trying to customize my fvwm2 setup. I basically want to add stuff to the default menus that comes with Debian. I tried the following - * Moved /usr/lib/menu/default/vim to /etc/menu/vim and ran update-menus. Then quit X and restarted it. Don't find vim under /Apps/Editors (which is where it is supposed to put in). * Moved /usr/lib/menu/default/vim to ~/.menu/vim and did the same as above. Still no vim in my Apps/Editors * Moved /usr/lib/menu/default/vim to /usr/lib/menu/vim (I know. I am not supposed to do that. But just wanted to find out if update-menu was broken). Ran the update scripts and restarted X. Still to no avail. What am I missing? Sudhakar -- Jesus saves! But wouldn't it be better if he has invested? Sudhakar Chandrasekharan(415) 937-2354 (O) International Web Engineer Type of Guy (415) 940-1896 (H) http://home.netscape.com/people/thaths/ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: [Q] update-menus broken in 1.3?
Sudhakar Chandrasekharan: I have spent the last couple of hours trying to customize my fvwm2 setup. I basically want to add stuff to the default menus that comes with Debian. I tried the following - * Moved /usr/lib/menu/default/vim to /etc/menu/vim and ran update-menus. Then quit X and restarted it. Don't find vim under /Apps/Editors (which is where it is supposed to put in). Do you have the vim package installed? I doubt it. If you look at /etc/menu/vim, it probably starts with ?package(vim): which means that unless package vim is installed, this menu entry will be ignored. To add local stuff, try using ?package(menu): at the front of the line in themenu file. Since the menu package is of course installed, the menu item will show up. (There are probably better ways to do this..) -- see shy jo -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: [Q] update-menus broken in 1.3?
Joey Hess wrote: Sudhakar Chandrasekharan: I have spent the last couple of hours trying to customize my fvwm2 setup. I basically want to add stuff to the default menus that comes with Debian. I tried the following - * Moved /usr/lib/menu/default/vim to /etc/menu/vim and ran update-menus. Then quit X and restarted it. Don't find vim under /Apps/Editors (which is where it is supposed to put in). Do you have the vim package installed? I doubt it. If you look at /etc/menu/vim, it probably starts with ?package(vim): which means that unless package vim is installed, this menu entry will be ignored. Oops! Forgot to mention that. I have installed the latest beta version of vim under /usr/local/bin. To add local stuff, try using ?package(menu): at the front of the line in themenu file. Since the menu package is of course installed, the menu item will show up. (There are probably better ways to do this..) That worked. As you said, there *should* be another way to specify local packages. Though I can understand why update-menus does not add an item if the package is not installed. Another question. I know this might be a FAQ. If I want to install a package that is not part of the Debian distribution, how do I go about it? I think there are two scenarios here - * foo.tar.gz contains the binaries, libs etc. * foo.tar.gz contains the source. Ie. I have to compile the program before I install it. I have currently been bypassing the dpkg mechanism and installing these packages under /usr/local tree. Sudhakar -- Jesus saves! But wouldn't it be better if he has invested? Sudhakar Chandrasekharan(415) 937-2354 (O) International Web Engineer Type of Guy (415) 940-1896 (H) http://home.netscape.com/people/thaths/ smime.p7s Description: S/MIME Cryptographic Signature
Were to put non-debian files (was: [Q] update-menus broken in 1.3?)
-BEGIN PGP SIGNED MESSAGE- On Thu, 5 Jun 1997, Sudhakar Chandrasekharan wrote: Another question. I know this might be a FAQ. If I want to install a package that is not part of the Debian distribution, how do I go about it? I think there are two scenarios here - * foo.tar.gz contains the binaries, libs etc. * foo.tar.gz contains the source. Ie. I have to compile the program before I install it. I have currently been bypassing the dpkg mechanism and installing these packages under /usr/local tree. You're doing it correctly, ideally all programs not installed from debian (or redhat or slackware with alien) packages should be put under /usr/local. Debian won't touch files there, except for a few packages that create empty directories where local add-ons can be placed (perl and emacs/xemacs that I recall). ++ || Your friends will know you better in the | | Scott K. Ellis | first minute you meet than your acquaintances | | [EMAIL PROTECTED] | will know you in a thousand years.| ||-- Illusions | ++ -BEGIN PGP SIGNATURE- Version: 2.6.3 Charset: noconv iQCVAwUBM5eOdaCk2fENdzpVAQFAegP9GpAPN6jwCb/ZmUxJIVWVLQbAXNu6P2kb AkWa21ToWjAnlYwK+leoDnI5JEWGscn+xpDI16qpXDrfA4/fRKIooeaMPAL9eUzO 5fQUYULIc/eCsXqmaO8nWV82kilZVqh8631ocQ86NiOTJfXVktNFd+mTu/1xz1U2 wOcCxR77jew= =u+fQ -END PGP SIGNATURE- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: [Q] update-menus broken in 1.3?
On Thu, 5 Jun 1997, Sudhakar Chandrasekharan wrote: Joey Hess wrote: Sudhakar Chandrasekharan: I have spent the last couple of hours trying to customize my fvwm2 setup. I basically want to add stuff to the default menus that comes with Debian. I tried the following - * Moved /usr/lib/menu/default/vim to /etc/menu/vim and ran update-menus. Then quit X and restarted it. Don't find vim under /Apps/Editors (which is where it is supposed to put in). this isn't necessary... menu already looks in /usr/lib/menu/default To add local stuff, try using ?package(menu): at the front of the line in themenu file. Since the menu package is of course installed, the menu item will show up. (There are probably better ways to do this..) That worked. As you said, there *should* be another way to specify local packages. Though I can understand why update-menus does not add an item if the package is not installed. yes, there is another, 'more proper' way. rename the file to local-vim and put it in /etc/menu. anything that starts with 'local' is installed, regardless of what debian packages are installed. this is an inadequately documented feature of menu (buried in a changelog file... hmpth :P ) Another question. I know this might be a FAQ. If I want to install a package that is not part of the Debian distribution, how do I go about it? I think there are two scenarios I have currently been bypassing the dpkg mechanism and installing these packages under /usr/local tree. that's the way to go. of course, you can also use $HOME for user-specific stuff -brad [EMAIL PROTECTED] - http://weber.u.washington.edu/~maximill -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: [Q] update-menus broken in 1.3?
On Thu, 5 Jun 1997, Brad Bell wrote: and put it in /etc/menu. anything that starts with 'local' is installed, regardless of what debian packages are installed. this is an inadequately documented feature of menu (buried in a changelog file... hmpth :P ) whoops! i guess i'll have to retract this statement-- it is indeed in the new docs! sorry-- brad [EMAIL PROTECTED] - http://weber.u.washington.edu/~maximill -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: [Q] update-menus broken in 1.3?
On Thu, 5 Jun 1997, Brad Bell wrote: and put it in /etc/menu. anything that starts with 'local' is installed, regardless of what debian packages are installed. this is an inadequately documented feature of menu (buried in a changelog file... hmpth :P ) whoops! i guess i'll have to retract this statement-- it is indeed in the new docs! sorry-- Well, if that's true, I'll have to rewrite the docs: it doesn't work for new-format menuentry files (and the ones in /usr/lib/menu/default are new-format). In menu_1.4-1 (not released yet) you will be able (for new-format menuentries) to do something like: ?package(local.vim): But unfortunately, this doesn't work in 1.3 (I'd consider that a bug). For the old-format menuentries (the ones that don't start with a ? on the first colum), update-menus looks at the filename to decide whether to include that menuentry. For the new-format menuentries, update-menus looks at the ?package(...) stuff in the menuentry file itself, and _not_ at the filename any more. The new (1.4) README will have this paragraph: * (User-) Configuring the menu's A user can specify her/his own menu entries in the ~/.menu directory. The files can have any name you want, and should start with eighter: ?package(installed-package): or, if it's something that isn't debian-officially installed, with ?package(local.mystuff): Any package that starts with local. is considered installed. (due to a bug in menu-1.3 this didn't work then). If your using old format menuentryfiles should have names of installed packages, or local.name, as update-menus assumes any package who's name starts with local is installed. -- joost witteveen, [EMAIL PROTECTED] #!/bin/perl -sp0777iX+d*lMLa^*lN%0]dsXx++lMlN/dsM0j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$kSK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) #what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: [Q] update-menus broken in 1.3?
Sudhakar Chandrasekharan: That worked. As you said, there *should* be another way to specify local packages. Though I can understand why update-menus does not add an item if the package is not installed. My preference is that a new test be added (or it might already exist, for all I know), like: ?file(/usr/local/bin/vim): ... Then the menu entry shows up if the file exists. This would be useful for local stuff. The menu package used to allow any menu file starting with local to ignore whether the package was installed or not, so you could make a local.vim menu file. However, then the menu package changed a lot of things, and this no longer works. Another question. I know this might be a FAQ. If I want to install a package that is not part of the Debian distribution, how do I go about it? I think there are two scenarios here - * foo.tar.gz contains the binaries, libs etc. Assumming there is a complete directory tree in here, (ie, the binaries are in a subdirectory usr/bin, etc, inside the tar file) use alien foo.tar.gz and a debian package will be generated. Otherwise, you unpack it and install by hand into /usr/local, just like with any other linux system * foo.tar.gz contains the source. Ie. I have to compile the program before I install it. I have currently been bypassing the dpkg mechanism and installing these packages under /usr/local tree. Nothing else to do, unless you want to learn how to build debian packages. There is a document that teaches the basics you need to build debian packages, but I forget the url. -- see shy jo -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Were to put non-debian files (was: [Q] update-menus broken in 1.3?)
Scott K. Ellis wrote: On Thu, 5 Jun 1997, Sudhakar Chandrasekharan wrote: Another question. I know this might be a FAQ. If I want to install a package that is not part of the Debian distribution, how do I go about it? I think there are two scenarios here - * foo.tar.gz contains the binaries, libs etc. * foo.tar.gz contains the source. Ie. I have to compile the program before I install it. I have currently been bypassing the dpkg mechanism and installing these packages under /usr/local tree. You're doing it correctly, ideally all programs not installed from debian (or redhat or slackware with alien) packages should be put under /usr/local. Debian won't touch files there, except for a few packages that create empty directories where local add-ons can be placed (perl and emacs/xemacs that I recall). I think I should rephrase my question. Assuming I don't want to get around dpkg while installing local packages, what should I do? Or rather, how do I create my own .deb package? Sudhakar -- Jesus saves! But wouldn't it be better if he has invested? Sudhakar Chandrasekharan(415) 937-2354 (O) International Web Engineer Type of Guy (415) 940-1896 (H) http://home.netscape.com/people/thaths/ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .