Re: transition from /usr/doc to /usr/share/doc
On Fri, Mar 30, 2001 at 06:16:02AM -0300, Carlos Laviola wrote: Yes. I'm afraid I used a confusing wording. What I meant was that I wanted to make the packages do the transition from /usr/doc to /usr/share/doc, not that I wanted to stop creating the symlink. In fact, I *want* it to create the symlink, but it seems like it doesn't: cybrdemo@carlos:~$ ls -ld /usr/doc/ibrazilian/ drwxr-xr-x2 root root 4096 Mar 30 00:12 /usr/doc/ibrazilian/ cybrdemo@carlos:~$ I'm beginning to get annoyed :( Test #1: build fresh .debs and run dpkg-deb -c on them. It will tell you about everything in them. Test #2: purge the existing installed packages. Does /usr/doc/ibrazilian/ go away? If not, is there garbage left there by some other package or perhaps something like a .dhelp file? If so, you may need to remove it in the preinst of your new package. Julian -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London Debian GNU/Linux Developer, see http://people.debian.org/~jdg Donate free food to the world's hungry: see http://www.thehungersite.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: transition from /usr/doc to /usr/share/doc
On Fri, Mar 30, 2001 at 06:16:02AM -0300, Carlos Laviola wrote: Yes. I'm afraid I used a confusing wording. What I meant was that I wanted to make the packages do the transition from /usr/doc to /usr/share/doc, not that I wanted to stop creating the symlink. In fact, I *want* it to create the symlink, but it seems like it doesn't: cybrdemo@carlos:~$ ls -ld /usr/doc/ibrazilian/ drwxr-xr-x2 root root 4096 Mar 30 00:12 /usr/doc/ibrazilian/ cybrdemo@carlos:~$ I'm beginning to get annoyed :( ls -ld doesn't tell you if a file is a symlink; run `ls -l /usr/doc` instead. I just installed your package and it is a symlink not a directory: elroy:/home/hgebel/src/dpkg# ls -ld /usr/doc/ibrazilian/ drwxr-xr-x2 root root 4096 Mar 30 13:04 /usr/doc/ibrazilian/ elroy:/home/hgebel/src/dpkg# ls -l /usr/doc/ | grep ibrazilian lrwxrwxrwx1 root root 23 Mar 30 13:04 ibrazilian - ../share/doc/ibrazilian -- Harry Henry Gebel West Dover Hundred, Delaware PGP signature
Re: transition from /usr/doc to /usr/share/doc
On Fri, Mar 30, 2001 at 09:04:39PM -0600, Gordon Sadler wrote: On Fri, Mar 30, 2001 at 01:13:14PM -0500, Harry Henry Gebel wrote: On Fri, Mar 30, 2001 at 06:16:02AM -0300, Carlos Laviola wrote: Yes. I'm afraid I used a confusing wording. What I meant was that I wanted to make the packages do the transition from /usr/doc to /usr/share/doc, not that I wanted to stop creating the symlink. In fact, I *want* it to create the symlink, but it seems like it doesn't: cybrdemo@carlos:~$ ls -ld /usr/doc/ibrazilian/ drwxr-xr-x2 root root 4096 Mar 30 00:12 /usr/doc/ibrazilian/ cybrdemo@carlos:~$ I'm beginning to get annoyed :( ls -ld doesn't tell you if a file is a symlink; run `ls -l /usr/doc` instead. I just installed your package and it is a symlink not a directory: Actually ls -ld works fine, providing you leave off the trailing /. $ls -ld /usr/doc/gcc lrwxrwxrwx1 root root 16 Mar 29 18:31 /usr/doc/gcc - ../share/doc/gcc $ls -ld /usr/doc/gcc/ lrwxrwxrwx1 root root 16 Mar 29 18:31 /usr/doc/gcc/ Ughh, I really need to get more sleep it seems -). Either one works ... from looking at the perms (eg lrwxrwxrwx ). Gordon Sadler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: transition from /usr/doc to /usr/share/doc
Hi folks, For the last couple of couple of couple of hours, I have been trying every possible thing to make two packages I just adopted (ibrazilian and brazilian-conjugate) go outside of /usr/doc. I am attaching the diff-only patch to the ibrazilian source code in this e-mail (very small). Hopefully someone will be able to give me a hand, because I am getting tired of trying to achieve this.. :( Thanks, Carlos -- Carlos Laviola - ICQ 55799523 pub 1024D/3516D372 2000-06-05 Carlos Laviola [EMAIL PROTECTED] Key fingerprint = 3BE1 6591 C78C 2AA4 31DD AEEF 6406 0227 3516 D372 I have a solar vocal ail! What do you mean by `go outside of /usr/doc'? Currently /usr/doc/package should still be there (it is a symlink). Read section 13.4 of policy. Or did I misunderstood you? -- Shaul Karl [EMAIL PROTECTED]
Re: transition from /usr/doc to /usr/share/doc
On Fri, Mar 30, 2001 at 12:16:50AM -0300, Carlos Laviola wrote: Hi folks, For the last couple of couple of couple of hours, I have been trying every possible thing to make two packages I just adopted (ibrazilian and brazilian-conjugate) go outside of /usr/doc. I am attaching the diff-only patch to the ibrazilian source code in this e-mail (very small). Hopefully someone will be able to give me a hand, because I am getting tired of trying to achieve this.. :( Looks fine. You can do dpkg-deb -c on the .debs produced just to check there's nothing in /usr/doc in the .debs themselves. Also, you can do without the manual symlinking of /usr/doc to /usr/share/doc, as debhelper puts in code to do that (dh_installdocs). Julian -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London Debian GNU/Linux Developer, see http://people.debian.org/~jdg Donate free food to the world's hungry: see http://www.thehungersite.com/
Re: transition from /usr/doc to /usr/share/doc
On 30-Mar-2001 Shaul Karl wrote: Hi folks, For the last couple of couple of couple of hours, I have been trying every possible thing to make two packages I just adopted (ibrazilian and brazilian-conjugate) go outside of /usr/doc. I am attaching the diff-only patch to the ibrazilian source code in this e-mail (very small). Hopefully someone will be able to give me a hand, because I am getting tired of trying to achieve this.. :( Thanks, Carlos -- Carlos Laviola - ICQ 55799523 pub 1024D/3516D372 2000-06-05 Carlos Laviola [EMAIL PROTECTED] Key fingerprint = 3BE1 6591 C78C 2AA4 31DD AEEF 6406 0227 3516 D372 I have a solar vocal ail! What do you mean by `go outside of /usr/doc'? Currently /usr/doc/package should still be there (it is a symlink). Read section 13.4 of policy. Or did I misunderstood you? Yes. I'm afraid I used a confusing wording. What I meant was that I wanted to make the packages do the transition from /usr/doc to /usr/share/doc, not that I wanted to stop creating the symlink. In fact, I *want* it to create the symlink, but it seems like it doesn't: [EMAIL PROTECTED]:~$ ls -ld /usr/doc/ibrazilian/ drwxr-xr-x2 root root 4096 Mar 30 00:12 /usr/doc/ibrazilian/ [EMAIL PROTECTED]:~$ I'm beginning to get annoyed :( Thanks, Carlos -- Carlos Laviola - ICQ 55799523 pub 1024D/3516D372 2000-06-05 Carlos Laviola [EMAIL PROTECTED] Key fingerprint = 3BE1 6591 C78C 2AA4 31DD AEEF 6406 0227 3516 D372 I have a solar vocal ail! pgpnHU2Z5JgKf.pgp Description: PGP signature
Re: transition from /usr/doc to /usr/share/doc
On Fri, Mar 30, 2001 at 12:16:50AM -0300, Carlos Laviola wrote: For the last couple of couple of couple of hours, I have been trying every possible thing to make two packages I just adopted (ibrazilian and brazilian-conjugate) go outside of /usr/doc. I am attaching the diff-only patch to the ibrazilian source code in this e-mail (very small). Looks fairly correct, although you don't need the shell code in postinst and prerm scripts if you use #DEBHELPER#. Are only Debian files put in /usr/doc/ibrazilian, or are there upstream things in there? If the former, check your debhelper version; if the latter, check the makefiles. -- Digital Electronic Being Intended for Assassination and Nullification
Re: transition from /usr/doc to /usr/share/doc
On Fri, Mar 30, 2001 at 06:16:02AM -0300, Carlos Laviola wrote: Yes. I'm afraid I used a confusing wording. What I meant was that I wanted to make the packages do the transition from /usr/doc to /usr/share/doc, not that I wanted to stop creating the symlink. In fact, I *want* it to create the symlink, but it seems like it doesn't: [EMAIL PROTECTED]:~$ ls -ld /usr/doc/ibrazilian/ drwxr-xr-x2 root root 4096 Mar 30 00:12 /usr/doc/ibrazilian/ [EMAIL PROTECTED]:~$ I'm beginning to get annoyed :( Test #1: build fresh .debs and run dpkg-deb -c on them. It will tell you about everything in them. Test #2: purge the existing installed packages. Does /usr/doc/ibrazilian/ go away? If not, is there garbage left there by some other package or perhaps something like a .dhelp file? If so, you may need to remove it in the preinst of your new package. Julian -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London Debian GNU/Linux Developer, see http://people.debian.org/~jdg Donate free food to the world's hungry: see http://www.thehungersite.com/
Re: transition from /usr/doc to /usr/share/doc
On Fri, Mar 30, 2001 at 06:16:02AM -0300, Carlos Laviola wrote: Yes. I'm afraid I used a confusing wording. What I meant was that I wanted to make the packages do the transition from /usr/doc to /usr/share/doc, not that I wanted to stop creating the symlink. In fact, I *want* it to create the symlink, but it seems like it doesn't: [EMAIL PROTECTED]:~$ ls -ld /usr/doc/ibrazilian/ drwxr-xr-x2 root root 4096 Mar 30 00:12 /usr/doc/ibrazilian/ [EMAIL PROTECTED]:~$ I'm beginning to get annoyed :( ls -ld doesn't tell you if a file is a symlink; run `ls -l /usr/doc` instead. I just installed your package and it is a symlink not a directory: elroy:/home/hgebel/src/dpkg# ls -ld /usr/doc/ibrazilian/ drwxr-xr-x2 root root 4096 Mar 30 13:04 /usr/doc/ibrazilian/ elroy:/home/hgebel/src/dpkg# ls -l /usr/doc/ | grep ibrazilian lrwxrwxrwx1 root root 23 Mar 30 13:04 ibrazilian - ../share/doc/ibrazilian -- Harry Henry Gebel West Dover Hundred, Delaware pgpNkelr7qkAU.pgp Description: PGP signature
Re: transition from /usr/doc to /usr/share/doc
On Fri, Mar 30, 2001 at 01:13:14PM -0500, Harry Henry Gebel wrote: On Fri, Mar 30, 2001 at 06:16:02AM -0300, Carlos Laviola wrote: Yes. I'm afraid I used a confusing wording. What I meant was that I wanted to make the packages do the transition from /usr/doc to /usr/share/doc, not that I wanted to stop creating the symlink. In fact, I *want* it to create the symlink, but it seems like it doesn't: [EMAIL PROTECTED]:~$ ls -ld /usr/doc/ibrazilian/ drwxr-xr-x2 root root 4096 Mar 30 00:12 /usr/doc/ibrazilian/ [EMAIL PROTECTED]:~$ I'm beginning to get annoyed :( ls -ld doesn't tell you if a file is a symlink; run `ls -l /usr/doc` instead. I just installed your package and it is a symlink not a directory: Actually ls -ld works fine, providing you leave off the trailing /. $ls -ld /usr/doc/gcc lrwxrwxrwx1 root root 16 Mar 29 18:31 /usr/doc/gcc - ../share/doc/gcc $ls -ld /usr/doc/gcc/ lrwxrwxrwx1 root root 16 Mar 29 18:31 /usr/doc/gcc/ elroy:/home/hgebel/src/dpkg# ls -ld /usr/doc/ibrazilian/ drwxr-xr-x2 root root 4096 Mar 30 13:04 /usr/doc/ibrazilian/ elroy:/home/hgebel/src/dpkg# ls -l /usr/doc/ | grep ibrazilian lrwxrwxrwx1 root root 23 Mar 30 13:04 ibrazilian - ../share/doc/ibrazilian HTH Gordon Sadler
Re: transition from /usr/doc to /usr/share/doc
On Fri, Mar 30, 2001 at 09:04:39PM -0600, Gordon Sadler wrote: On Fri, Mar 30, 2001 at 01:13:14PM -0500, Harry Henry Gebel wrote: On Fri, Mar 30, 2001 at 06:16:02AM -0300, Carlos Laviola wrote: Yes. I'm afraid I used a confusing wording. What I meant was that I wanted to make the packages do the transition from /usr/doc to /usr/share/doc, not that I wanted to stop creating the symlink. In fact, I *want* it to create the symlink, but it seems like it doesn't: [EMAIL PROTECTED]:~$ ls -ld /usr/doc/ibrazilian/ drwxr-xr-x2 root root 4096 Mar 30 00:12 /usr/doc/ibrazilian/ [EMAIL PROTECTED]:~$ I'm beginning to get annoyed :( ls -ld doesn't tell you if a file is a symlink; run `ls -l /usr/doc` instead. I just installed your package and it is a symlink not a directory: Actually ls -ld works fine, providing you leave off the trailing /. $ls -ld /usr/doc/gcc lrwxrwxrwx1 root root 16 Mar 29 18:31 /usr/doc/gcc - ../share/doc/gcc $ls -ld /usr/doc/gcc/ lrwxrwxrwx1 root root 16 Mar 29 18:31 /usr/doc/gcc/ Ughh, I really need to get more sleep it seems -). Either one works ... from looking at the perms (eg lrwxrwxrwx ). Gordon Sadler