Re: [Fink-devel] Doxygen doesn't need to depend on graphviz or latex

2008-09-25 Thread James Bunton
On Tue, Sep 23, 2008 at 09:28:51PM -0400, Alexander Hansen wrote:
 On Sep 23, 2008, at 7:55 PM, James Bunton wrote:

 As far as I can tell doxygen does not need to depend on graphviz or
 LaTeX. Removing these two dependencies would make the dependency list
 of many packages significantly smaller. Graphviz in particular pulls
 in a lot of other packages.
 snip

 You may want to check out

 http://thread.gmane.org/gmane.os.macosx.fink.user/27082

From the link you posted:
 doxygen builds w/out the need for latex, graphviz, and ghostscript if
 you remove the make install_docs line from InstallScript.  There's a
 check for dot (from graphviz) during ./configure, but I don't know if
 the output of the build is the same w/ or w/out it.

I'm happy to have a shot at making a doxygen.info and doxygen-docs.info
doxygen-docs can bring in everything needed to build the doxygen
samples, but would not need to be depended on by anything. doxygen
proper would be built to always work with whatever was installed at
runtime. If a package needed doxygen with graphviz, it could depend on
both of them.

Does this seem like a reasonable and useful approach to others?

---

James



pgpgLSmaiM5sj.pgp
Description: PGP signature
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Re: [Fink-devel] Doxygen doesn't need to depend on graphviz or latex

2008-09-25 Thread Alexander Hansen

On Sep 25, 2008, at 9:37 AM, James Bunton wrote:

 On Tue, Sep 23, 2008 at 09:28:51PM -0400, Alexander Hansen wrote:
 On Sep 23, 2008, at 7:55 PM, James Bunton wrote:

 As far as I can tell doxygen does not need to depend on graphviz or
 LaTeX. Removing these two dependencies would make the dependency  
 list
 of many packages significantly smaller. Graphviz in particular pulls
 in a lot of other packages.
 snip

 You may want to check out

 http://thread.gmane.org/gmane.os.macosx.fink.user/27082

 From the link you posted:
 doxygen builds w/out the need for latex, graphviz, and ghostscript if
 you remove the make install_docs line from InstallScript.   
 There's a
 check for dot (from graphviz) during ./configure, but I don't know if
 the output of the build is the same w/ or w/out it.

 I'm happy to have a shot at making a doxygen.info and doxygen- 
 docs.info
 doxygen-docs can bring in everything needed to build the doxygen
 samples, but would not need to be depended on by anything. doxygen
 proper would be built to always work with whatever was installed at
 runtime. If a package needed doxygen with graphviz, it could depend on
 both of them.

 Does this seem like a reasonable and useful approach to others?

 ---

 James


It sounds good to me; all of these runtime-only things could be marked  
as  Recommends:

You probably ought to have a note in the DescDetail regarding the  
removal of dependencies.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Doxygen doesn't need to depend on graphviz or latex

2008-09-25 Thread Hanspeter Niederstrasser
James Bunton wrote:
 On Tue, Sep 23, 2008 at 09:28:51PM -0400, Alexander Hansen wrote:
 On Sep 23, 2008, at 7:55 PM, James Bunton wrote:

 As far as I can tell doxygen does not need to depend on graphviz or
 LaTeX. Removing these two dependencies would make the dependency list
 of many packages significantly smaller. Graphviz in particular pulls
 in a lot of other packages.
 snip
 You may want to check out

 http://thread.gmane.org/gmane.os.macosx.fink.user/27082
 
 From the link you posted:
 doxygen builds w/out the need for latex, graphviz, and ghostscript if
 you remove the make install_docs line from InstallScript.  There's a
 check for dot (from graphviz) during ./configure, but I don't know if
 the output of the build is the same w/ or w/out it.
 
 I'm happy to have a shot at making a doxygen.info and doxygen-docs.info
 doxygen-docs can bring in everything needed to build the doxygen
 samples, but would not need to be depended on by anything. doxygen
 proper would be built to always work with whatever was installed at
 runtime. If a package needed doxygen with graphviz, it could depend on
 both of them.
 
 Does this seem like a reasonable and useful approach to others?

The split and how others should depend on it sound right (as I 
understood it when I very lightly tested this idea back in that thread). 
  The biggest thing to check is that the doxygen binary gets built 
identically irregardless of what supporting packages are installed (ie 
graphviz, etc).  I don't know/use doxygen to test this (and didn't want 
to install graphviz an 90 supporting packages to really test this), but 
it should be straightforward to build doxygen w/out 
graphviz/latex/ghostscript absent and present (but not set up as a 
Depends on the .info file) and compare the outputs to make sure they're 
identical.

Hanspeter

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] Doxygen doesn't need to depend on graphviz or latex

2008-09-23 Thread James Bunton
As far as I can tell doxygen does not need to depend on graphviz or
LaTeX. Removing these two dependencies would make the dependency list of
many packages significantly smaller. Graphviz in particular pulls in a
lot of other packages.

Graphviz can be found at runtime and to make the package build
deterministically an extra parameter should be passed to the doxygen:
--dot %p/bin/dot

As far as I can tell LaTeX is not ever directly used by doxygen. The
closest it gets is producing a Makefile which refer to it.


Should I file a ticket on the tracker with these changes?

---

James



pgprwAbRn99Vl.pgp
Description: PGP signature
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Re: [Fink-devel] Doxygen doesn't need to depend on graphviz or latex

2008-09-23 Thread Alexander Hansen

On Sep 23, 2008, at 7:55 PM, James Bunton wrote:

 As far as I can tell doxygen does not need to depend on graphviz or
 LaTeX. Removing these two dependencies would make the dependency  
 list of
 many packages significantly smaller. Graphviz in particular pulls in a
 lot of other packages.

 Graphviz can be found at runtime and to make the package build
 deterministically an extra parameter should be passed to the doxygen:
 --dot %p/bin/dot

 As far as I can tell LaTeX is not ever directly used by doxygen. The
 closest it gets is producing a Makefile which refer to it.


 Should I file a ticket on the tracker with these changes?

 ---

 James


You may want to check out

http://thread.gmane.org/gmane.os.macosx.fink.user/27082



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel