Re: [Pkg-lyx-devel] Re: dvipost (hopefully) ready for Debian

2006-05-25 Thread Per Olofsson
Sven Hoexter:
> Ok let's go for the second round.
> The package is again on:
> http://sven.stormbind.net/debian/dvipost/

OK, I've uploaded it now. Great work!

Some suggestions for the next version:

* The short description should probably not begin with "A".
  See the Developer's Reference, section 6.2.2.

* You probably shouldn't call "/usr/bin/texhash" with an absolute
  path. Just call "texhash" instead.

* When I upgrade dvipost, it runs texhash twice. Is this necessary?

Now, what's the plan? Here's what I think:

1. Package the latest LyX upstream version and upload it as soon as
   dvipost has entered unstable. Don't bother fixing all the existing
   bugs yet, it's more important that people get a chance to test the
   latest version.

2. Ask Erinn for admin privileges to pkg-lyx. I can do that.

3. Create an SVN repository on Alioth and put the sources there.

4. Fix bugs.

What do you think?

-- 
Pelle


Re: [Pkg-lyx-devel] Re: dvipost (hopefully) ready for Debian

2006-05-24 Thread Per Olofsson
Sven Hoexter:
> Found it after Georgs hint to look for experimental.
> An I thought sid is the bleeding-edge of software packaging ;)

Oh, sorry, I forgot that I had experimental in my sources. I really
thought texlive were in sid.

-- 
Pelle


Re: [Pkg-lyx-devel] Re: dvipost (hopefully) ready for Debian

2006-05-23 Thread Sven Hoexter
On Tue, May 23, 2006 at 05:21:42PM +0200, Per Olofsson wrote:
> Sven Hoexter:
> > Ok let's go for the second round.
> > The package is again on:
> > http://sven.stormbind.net/debian/dvipost/
> 
> Great, I will look at it soon.
> 
> > Is this texlive stuff actually packaged within Debian? I cannot find
> > a package with tex and live in the name. The only reference I can find
> > is in the description of the tex-common package.
> 
> $ apt-cache search texlive
[ ... ]

Found it after Georgs hint to look for experimental.
An I thought sid is the bleeding-edge of software packaging ;)

Cheers,
Sven
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]


Re: [Pkg-lyx-devel] Re: dvipost (hopefully) ready for Debian

2006-05-23 Thread Per Olofsson
Sven Hoexter:
> Ok let's go for the second round.
> The package is again on:
> http://sven.stormbind.net/debian/dvipost/

Great, I will look at it soon.

> Is this texlive stuff actually packaged within Debian? I cannot find
> a package with tex and live in the name. The only reference I can find
> is in the description of the tex-common package.

$ apt-cache search texlive
texlive - TeX Live: meta package pulling in all components of TeX Live
texlive-base - TeX Live: Essential programs and files
texlive-base-bin - TeX Live: Essential binaries
texlive-bibtex-extra - TeX Live: Extra BibTeX styles
texlive-chemistry - TeX Live: Chemical typesetting
texlive-context - TeX Live: ConText macro package
[...]

-- 
Pelle


Re: [Pkg-lyx-devel] Re: dvipost (hopefully) ready for Debian

2006-05-23 Thread Georg Baum
Am Dienstag, 23. Mai 2006 13:42 schrieb Sven Hoexter:

> Is this texlive stuff actually packaged within Debian?

http://www.tug.org/texlive/debian.html


Georg


Re: [Pkg-lyx-devel] Re: dvipost (hopefully) ready for Debian

2006-05-23 Thread Sven Hoexter
On Tue, May 16, 2006 at 03:55:58PM +0200, Per Olofsson wrote:
> Sven Hoexter:

Hi all,
sorry for the delay but I had to attend a wedding party and a two
birthday partys during the last days.

Ok let's go for the second round.
The package is again on:
http://sven.stormbind.net/debian/dvipost/

> > So if you've some spare time please give it a try and if you're
> > familiar with Debian packages please look over the source package
> > aswell.
> 
> Good work!
> 
> Some suggestions:
> 
> * It should be possible to have TeXlive installed instead of teTex. It
>   should probably depend on tetex-bin | texlive-base-bin or something.
Is this texlive stuff actually packaged within Debian? I cannot find
a package with tex and live in the name. The only reference I can find
is in the description of the tex-common package.

> * There are missing ending newlines in postinst and postrm.
done.

> * Do you really need to create those directories listed in
>   debian/dirs?
usr/sbin was useless so I removed it.
 
> * The configure script checks things by running kpsewhich and
>   tex. These are not listed in the Build-Depends. You should probably
>   try to hardwire these values, or, if you must, build-depend on TeX.
Commented that stuff out - patches/ file 03 and 04.

> * There are lintian errors. Please fix them.
Those should be fixed now. I thought that running lintion on the .dsc
file would check the source and the binary package.

> * The package is configured two times when using debuild (which uses
>   dpkg-buildpackage). The problem seems to be the patch target
>   dependency. You should probably move the dependency from the
>   config.status target to the build target (before build-stamp).
done.

Cheers,
Sven
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]


signature.asc
Description: Digital signature


Re: [Pkg-lyx-devel] Re: dvipost (hopefully) ready for Debian

2006-05-17 Thread Per Olofsson
Sven Hoexter:
> *sigh* and still so many glitches left to workaround ...

Well, there are always glitches. You never get everything right from
the start.

> Well my Tex knowledge is very low (that's why I like to put Lyx between
> me and latex) but I think it's needed to register the style file
> dvipost.sty. So with my current knowledge I think Tex is required.

I think TeX will register it when it is installed, because it is
already placed in the right directory and TeX will run texhash upon
installation. So you could probably run texhash if it is available and
otherwise do nothing. But it doesn't matter much since people will
generally have TeX installed anyway.

(I don't know very much about TeX either.)

> I had to ask on the mentors mailinglist and Frank did not recommend
> dh_installtex. (hm I would like to copy and paste the link but somehow
> I'm unable to copy and paste from from elinks with gpm *grummel*)
> 
> Reading the manpage it's talking about mapfiles and language files
> and the examples have nothing with .sty. As said above I've no clue
> about the inner workings of latex.

Sounds right.

> > * There are lintian errors. Please fix them.
> Hm with which options did you run lintian?

$ lintian --version
Lintian v1.23.21
$ lintian dvipost_1.1-1_i386.deb 
E: dvipost: description-starts-with-package-name
E: dvipost: description-too-long
E: dvipost: spelling-error-in-description prefered preferred

Some other comments about the description:

"Dvipost is used for special modes, which normally needs the support ..."

"needs" should be "need" since "modes" is plural.


"With dvipost, this features ..."

should be "these" features.

> 
> > * The package is configured two times when using debuild (which uses
> >   dpkg-buildpackage). The problem seems to be the patch target
> >   dependency. You should probably move the dependency from the
> >   config.status target to the build target (before build-stamp).
> Ah that's a little bit odd. We need to patch some things in configure
> and makefile.in so the patches have to be applied bevore the first
> configure run. Guess I've to re-read some things about dpatch.

Well, even if you move it to the build target it can run before
./configure. Just put the dependency before the config.status
dependency.

> Thanks for your detailed feedback.

Glad to help!

-- 
Pelle


Re: [Pkg-lyx-devel] Re: dvipost (hopefully) ready for Debian

2006-05-17 Thread Sven Hoexter
On Tue, May 16, 2006 at 03:55:58PM +0200, Per Olofsson wrote:
> Sven Hoexter:
> > Hi all,
> > yesterday I've been working on Matej Cepl's dvipost package
> > so that it can stand the Debian QA and move into the main
> > archive.
> > 
> > So if you've some spare time please give it a try and if you're
> > familiar with Debian packages please look over the source package
> > aswell.
> 
> Good work!
*sigh* and still so many glitches left to workaround ...
 
> Some suggestions:
> 
> * It should be possible to have TeXlive installed instead of teTex. It
>   should probably depend on tetex-bin | texlive-base-bin or something.
Oh I remember I've read something about TeXlive somewhere somewho.
I definetly need to dig deeper here. Good point.

>   BTW, is it really necessary to depend on TeX at all? Can't this
>   package be used without TeX, if you have a DVI file? Maybe you
>   should just recommend TeX instead?
Well my Tex knowledge is very low (that's why I like to put Lyx between
me and latex) but I think it's needed to register the style file
dvipost.sty. So with my current knowledge I think Tex is required.

> * There are missing ending newlines in postinst and postrm.
Hmpf fixed that in control, donno why I missed those two. Fixed now.

> * You should use dh_installtex instead of running texhash manually (I
>   think). Have you read the TeX policy in the tex-common package? Also
>   see the dh_installtex(1) manpage.
I had to ask on the mentors mailinglist and Frank did not recommend
dh_installtex. (hm I would like to copy and paste the link but somehow
I'm unable to copy and paste from from elinks with gpm *grummel*)

Reading the manpage it's talking about mapfiles and language files
and the examples have nothing with .sty. As said above I've no clue
about the inner workings of latex.

> * Do you really need to create those directories listed in
>   debian/dirs?
Hm not all of them.

> * The configure script checks things by running kpsewhich and
>   tex. These are not listed in the Build-Depends. You should probably
>   try to hardwire these values, or, if you must, build-depend on TeX.
Sure, need to patch that out. Frank told me that those workarounds used
in the configure script are ugly and wrong.

> * There are lintian errors. Please fix them.
Hm with which options did you run lintian?

> * The package is configured two times when using debuild (which uses
>   dpkg-buildpackage). The problem seems to be the patch target
>   dependency. You should probably move the dependency from the
>   config.status target to the build target (before build-stamp).
Ah that's a little bit odd. We need to patch some things in configure
and makefile.in so the patches have to be applied bevore the first
configure run. Guess I've to re-read some things about dpatch.

Thanks for your detailed feedback.

Sv*back-to-work*en
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]


Re: dvipost (hopefully) ready for Debian

2006-05-16 Thread Jose' Matos
On Tuesday 16 May 2006 13:21, Sven Hoexter wrote:
> Hi all,
> yesterday I've been working on Matej Cepl's dvipost package
> so that it can stand the Debian QA and move into the main
> archive.
>
> So if you've some spare time please give it a try and if you're
> familiar with Debian packages please look over the source package
> aswell.
>
> http://sven.stormbind.net/debian/dvipost/
>
> I'm now out to university so flame when I come back ;)
> Oh and thanks to Matej for his work!

  On a related note for those of you using Fedora there should be new version 
which hints (requires for now) dvipost.

  It is good to see such a parallel development for Debian and Fedora. :-)

> Cheers,
> Sven

-- 
José Abílio


Re: dvipost (hopefully) ready for Debian

2006-05-16 Thread Per Olofsson
Hi,

Sven Hoexter:
> Hi all,
> yesterday I've been working on Matej Cepl's dvipost package
> so that it can stand the Debian QA and move into the main
> archive.
> 
> So if you've some spare time please give it a try and if you're
> familiar with Debian packages please look over the source package
> aswell.

Good work!

Some suggestions:

* It should be possible to have TeXlive installed instead of teTex. It
  should probably depend on tetex-bin | texlive-base-bin or something.
  
  BTW, is it really necessary to depend on TeX at all? Can't this
  package be used without TeX, if you have a DVI file? Maybe you
  should just recommend TeX instead?

* There are missing ending newlines in postinst and postrm.

* You should use dh_installtex instead of running texhash manually (I
  think). Have you read the TeX policy in the tex-common package? Also
  see the dh_installtex(1) manpage.

* Do you really need to create those directories listed in
  debian/dirs?

* The configure script checks things by running kpsewhich and
  tex. These are not listed in the Build-Depends. You should probably
  try to hardwire these values, or, if you must, build-depend on TeX.

* There are lintian errors. Please fix them.

* The package is configured two times when using debuild (which uses
  dpkg-buildpackage). The problem seems to be the patch target
  dependency. You should probably move the dependency from the
  config.status target to the build target (before build-stamp).

-- 
Pelle


dvipost (hopefully) ready for Debian

2006-05-16 Thread Sven Hoexter
Hi all,
yesterday I've been working on Matej Cepl's dvipost package
so that it can stand the Debian QA and move into the main
archive.

So if you've some spare time please give it a try and if you're
familiar with Debian packages please look over the source package
aswell.

http://sven.stormbind.net/debian/dvipost/

I'm now out to university so flame when I come back ;)
Oh and thanks to Matej for his work!

Cheers,
Sven
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]


signature.asc
Description: Digital signature