Help!

Texinfo vs. Debian install-info, new upstream texinfo

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PacKaGe RSS
Next:  Processing of debian-installer_20050317sarge2_m68..  
Author Message
Norbert Preining
External


Since: Oct 13, 2004
Posts: 838



PostPosted: Sat Jun 30, 2007 1:40 pm    Post subject: Texinfo vs. Debian install-info, new upstream texinfo
Archived from groups: linux>debian>maint>dpkg (more info?)

Hi all!

Thanks to Karl a new upstream of texinfo has been released, including
many of the suggestions the dpkg team provided.

Before shipping a package of texinfo 4.9 to unstable I want to continue
with the install-info merge. From our transition-plan:

--------------
Transition proposal
===================
+ Changes in dpkg
- replace dpkg's install-info by a script which just issues a
warning,
or exit silently.
This script could be removed for Lenny+1 or 2.
install-info should no more be essential, it is only needed when the
info viewer is installed to search the info pages.

+ Changes in texinfo
- a new install-info package replaces dpkg's install-info
- This install-info should support the current dpkg's install-info
options (i.e. no failures, but not necessarily registering the info
file)
IMO, this install-info should be compatible with the GNU's install
info, and when it detects that it is used by a old Debian package, it
should do nothing (or just warn and recommend using update-info-dir,
see below).
* this should provide a compatibility with packages not installed
from a Debian package (make && make install)
* and should not block the installation of old packages
* full compatibility with current dpkg's install-info would be
* nice,
but is not required
- Add an update-info-dir script. This script should just delete the
dir
file and then call the GNU's install-info with all the info files.
(see also the previous mails from Ian Zimmerman, and his patch for
--generate in install-info)

- When installed for the first time (or first time >= version xxx),
it should call update-info-dir.
* There may be an issue with local softwares (not Debian packages)
=> maybe add a debconf question / NEWS entry?
* What options should be used when installing the old info files?
- Add support for multiple dir files in the info viewer.
This would permit update-info-dir to use the
--dir-file /usr/share/info/debian-dir option.
/usr/share/info/dir (and /usr/local/share/info/dir) could be used for
non Debian's info files.
- Fix some regressions from dpkg's install-info.
(IIRC an alignment regression was mentioned with GNU's texinfo)
-----------------------

So my plan is the following: I create a 4.9/experimental package
with:
- a new install-info package (should probably be essential, no?) containing
a script as above.
Don't we have one of these scripts already present? AFAIR someone
sent a script doing this under the assumption that 2 options were
implemented in upstream install-info, which has been done.

- Concerning the update-info-dir script I am a but lost, do we have
a script for this already?

then we can slowly continue adding stuff/features there.

Any comments?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining.TakeThisOut@logic.at> Vienna University of Technology
Debian Developer <preining.TakeThisOut@debian.org> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
DRAFFAN (n.)
An infuriating person who always manages to look much more dashing
that anyone else by turning up unshaven and hangover at a formal
party.
--- Douglas Adams, The Meaning of Liff


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Karl Berry
External


Since: Jan 26, 2005
Posts: 39



PostPosted: Sun Jul 01, 2007 12:00 am    Post subject: Re: Texinfo vs. Debian install-info, new upstream texinfo [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks for writing, Norbert. I was just about to do the same.

- Concerning the update-info-dir script I am a but lost, do we have
a script for this already?

There are two different scripts in the Texinfo distribution to do this
job: gen-dir-node and fix-info-dir (in the util subdirectory). I don't
know which is better or what the differences are.

It seems desirable to me to have the logic for rebuilding the dir file
be in a separate script, not embedded in install-info. Not something to
program in C, seems to me.

- Add support for multiple dir files in the info viewer.

Both Emacs Info and standalone info already merge every dir file they
find, as far as I know. Are you talking about something else?


I plan to make a pretest for the next "real" release of texinfo soon.
It would be great to finally make progress on the install-info issue.

Thanks,
Karl


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Florent Rougon
External


Since: Jan 13, 2005
Posts: 322



PostPosted: Wed Jul 04, 2007 2:10 pm    Post subject: Re: Texinfo vs. Debian install-info, new upstream texinfo [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

karl RemoveThis @freefriends.org (Karl Berry) wrote:

> Thanks for writing, Norbert. I was just about to do the same.
>
> - Concerning the update-info-dir script I am a but lost, do we have
> a script for this already?
>
> There are two different scripts in the Texinfo distribution to do this
> job: gen-dir-node and fix-info-dir (in the util subdirectory). I don't
> know which is better or what the differences are.

And there is also a 'generate-info-dir' Python script by Ian
Zimmerman...

http://lists.debian.org/debian-dpkg/2007/05/msg00040.html

> It seems desirable to me to have the logic for rebuilding the dir file
> be in a separate script, not embedded in install-info. Not something to
> program in C, seems to me.

Well, seems to be the case for the above script...

--
Florent


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Ian Zimmerman
External


Since: Jul 26, 2006
Posts: 2



PostPosted: Tue Jul 10, 2007 9:20 am    Post subject: Re: Texinfo vs. Debian install-info, new upstream texinfo [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 7/4/07, Florent Rougon <f.rougon.TakeThisOut@free.fr> wrote:
> Hi,
>
> karl.TakeThisOut@freefriends.org (Karl Berry) wrote:
>
> > Thanks for writing, Norbert. I was just about to do the same.
> >
> > - Concerning the update-info-dir script I am a but lost, do we have
> > a script for this already?
> >
> > There are two different scripts in the Texinfo distribution to do this
> > job: gen-dir-node and fix-info-dir (in the util subdirectory). I don't
> > know which is better or what the differences are.
>
> And there is also a 'generate-info-dir' Python script by Ian
> Zimmerman...
>
> http://lists.debian.org/debian-dpkg/2007/05/msg00040.html
>
> > It seems desirable to me to have the logic for rebuilding the dir file
> > be in a separate script, not embedded in install-info. Not something to
> > program in C, seems to me.
>
> Well, seems to be the case for the above script...

I have both a C version (in the from of a patch to the existing
install-info code),
and perl and python standalone scripts.

I fully agree with Karl that the standalone scripts are preferable.
Unfortunately,
that conflicts with the original motivation, which was to fix Debian
post-install script breakage. I wish they could simply drop the
install-info in this context and started using my Perl or Python
scripts , but I guess compatibility considerations won't allow that.

Note my present address, in the Cc.


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PacKaGe All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum