Re: doxygen issue ...

2014-04-24 Thread Eric Gallager
Instead of modifying the Makefile, how about trying to modify the Doxyfile
instead? That was what eventually worked for me when I was running into
some issues with doxygen when adding a `+docs` variant to the port for
dpkg...



On Tue, Apr 22, 2014 at 2:16 PM, Peter Danecek peter.dane...@bo.ingv.itwrote:


 Hi all,

 I am running into some quite stupid build problem with a not yet official
 globus port, `globus_ftp_control`. This software also builds documentations
 via doxygen and the problem is related to doxygen/pdflatex, but I have no
 idea how to fix this.

 During the process doxygen creates some Makefile with a loop to run
 `pdflatex` several times until no rebuild is needed. The logic is probably
 that it would run few times, and if there is some problem and the process
 does not converge, this is caught at count=5. Now looking into the details
 I realise that on my system the document/pdflatex, there are really 5
 iterations need to build the document, so I hit the limit and the process
 is interrupted.

 A easy fix would e to raise the no. of iterations, or to modify the
 Makefile in some other way. But as all this doc directories are created
 during the build by doxygen I have no idea how to influence the process.

 Any ideas what could be done to solve this issue?

 Thanks!
 ~petr


 ___
 macports-dev mailing list
 macports-dev@lists.macosforge.org
 https://lists.macosforge.org/mailman/listinfo/macports-dev


___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: doxygen issue ...

2014-04-24 Thread Peter Danecek

[Resend including the list, updated]

On 24 Apr 2014, at 15:53, Eric Gallager eg...@gwmail.gwu.edu wrote:

 Instead of modifying the Makefile, how about trying to modify the Doxyfile 
 instead? That was what eventually worked for me when I was running into some 
 issues with doxygen when adding a `+docs` variant to the port for dpkg…
 

For sure in practice it is not possible to act on the Makefile which is 
dynamically created in the build step. But I have no idea how this would be 
influences in doxygen and where to start looking. Now, I will have closer look 
into the `Doxyfile` and the cited port to get a better idea.

Update:
I actually looked at the port `pdkg`, but found no trace of some patch to 
Doxyfile or a `+docs` variant. Are you referring really to this port? I also 
looked at the `Doxyfile` and found no parameter which would influence the 
rebuild look.

Thanks!
~petr


 
 
 On Tue, Apr 22, 2014 at 2:16 PM, Peter Danecek peter.dane...@bo.ingv.it 
 wrote:
 
 Hi all,
 
 I am running into some quite stupid build problem with a not yet official 
 globus port, `globus_ftp_control`. This software also builds documentations 
 via doxygen and the problem is related to doxygen/pdflatex, but I have no 
 idea how to fix this.
 
 During the process doxygen creates some Makefile with a loop to run 
 `pdflatex` several times until no rebuild is needed. The logic is probably 
 that it would run few times, and if there is some problem and the process 
 does not converge, this is caught at count=5. Now looking into the details I 
 realise that on my system the document/pdflatex, there are really 5 
 iterations need to build the document, so I hit the limit and the process is 
 interrupted.
 
 A easy fix would e to raise the no. of iterations, or to modify the Makefile 
 in some other way. But as all this doc directories are created during the 
 build by doxygen I have no idea how to influence the process.
 
 Any ideas what could be done to solve this issue?
 
 Thanks!
 ~petr
 
  
 ___
 macports-dev mailing list
 macports-dev@lists.macosforge.org
 https://lists.macosforge.org/mailman/listinfo/macports-dev
 
 



smime.p7s
Description: S/MIME cryptographic signature
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: doxygen issue ...

2014-04-24 Thread Peter Danecek

Hi all,

just a short note to keep the list in the loop. The problem could be solved 
with and update of doxygen to @1.8.7, because the count was apparently 
increased to 8. There is no way to influence the loop count with a parameter to 
Doxyfile, as the value is hardcoded. 

See also:
 
http://sourceforge.net/p/doxygen/mailman/doxygen-users/?viewmonth=201404viewday=24

I added a note on this to an existing update request for doxygen.
https://trac.macports.org/ticket/42245#comment:3

Cheers!
~petr


On 22 Apr 2014, at 20:16, Peter Danecek peter.dane...@bo.ingv.it wrote:

 
 Hi all,
 
 I am running into some quite stupid build problem with a not yet official 
 globus port, `globus_ftp_control`. This software also builds documentations 
 via doxygen and the problem is related to doxygen/pdflatex, but I have no 
 idea how to fix this.
 
 During the process doxygen creates some Makefile with a loop to run 
 `pdflatex` several times until no rebuild is needed. The logic is probably 
 that it would run few times, and if there is some problem and the process 
 does not converge, this is caught at count=5. Now looking into the details I 
 realise that on my system the document/pdflatex, there are really 5 
 iterations need to build the document, so I hit the limit and the process is 
 interrupted. 
 
 A easy fix would e to raise the no. of iterations, or to modify the Makefile 
 in some other way. But as all this doc directories are created during the 
 build by doxygen I have no idea how to influence the process.
 
 Any ideas what could be done to solve this issue?
 
 Thanks!
 ~petr
 
 ___
 macports-dev mailing list
 macports-dev@lists.macosforge.org
 https://lists.macosforge.org/mailman/listinfo/macports-dev



smime.p7s
Description: S/MIME cryptographic signature
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: doxygen issue ...

2014-04-24 Thread Eric Gallager
The patch with the `+docs` variant has not yet been committed to trunk:
https://trac.macports.org/ticket/39018

Actually looking at the last patch I attached to that ticket, it appears
that it does not yet have the part where I fixed the Doxyfile... However,
that ticket already has enough patches attached to it, so instead of
attaching more, I will just wait until that part is committed and then open
a new ticket for my further fixes to the `+docs` variant. In the meantime
you can see my patch for the Doxyfile here:
https://github.com/cooljeanius/LocalPorts/blob/master/sysutils/dpkg/files/patch-doc_Doxyfile.in.diff

(note: a lot of the changes in that diff were just made by running `doxygen
-u`; only a few of them were actually manual...)



On Thu, Apr 24, 2014 at 10:47 AM, Peter Danecek peter.dane...@bo.ingv.itwrote:


 [Resend including the list, updated]

 On 24 Apr 2014, at 15:53, Eric Gallager eg...@gwmail.gwu.edu wrote:

  Instead of modifying the Makefile, how about trying to modify the
 Doxyfile instead? That was what eventually worked for me when I was running
 into some issues with doxygen when adding a `+docs` variant to the port for
 dpkg...
 

 For sure in practice it is not possible to act on the Makefile which is
 dynamically created in the build step. But I have no idea how this would be
 influences in doxygen and where to start looking. Now, I will have closer
 look into the `Doxyfile` and the cited port to get a better idea.

 Update:
 I actually looked at the port `pdkg`, but found no trace of some patch to
 Doxyfile or a `+docs` variant. Are you referring really to this port? I
 also looked at the `Doxyfile` and found no parameter which would influence
 the rebuild look.

 Thanks!
 ~petr


 
 
  On Tue, Apr 22, 2014 at 2:16 PM, Peter Danecek peter.dane...@bo.ingv.it
 wrote:
 
  Hi all,
 
  I am running into some quite stupid build problem with a not yet
 official globus port, `globus_ftp_control`. This software also builds
 documentations via doxygen and the problem is related to doxygen/pdflatex,
 but I have no idea how to fix this.
 
  During the process doxygen creates some Makefile with a loop to run
 `pdflatex` several times until no rebuild is needed. The logic is probably
 that it would run few times, and if there is some problem and the process
 does not converge, this is caught at count=5. Now looking into the details
 I realise that on my system the document/pdflatex, there are really 5
 iterations need to build the document, so I hit the limit and the process
 is interrupted.
 
  A easy fix would e to raise the no. of iterations, or to modify the
 Makefile in some other way. But as all this doc directories are created
 during the build by doxygen I have no idea how to influence the process.
 
  Any ideas what could be done to solve this issue?
 
  Thanks!
  ~petr
 
 
  ___
  macports-dev mailing list
  macports-dev@lists.macosforge.org
  https://lists.macosforge.org/mailman/listinfo/macports-dev
 
 


___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


doxygen issue ...

2014-04-22 Thread Peter Danecek

Hi all,

I am running into some quite stupid build problem with a not yet official 
globus port, `globus_ftp_control`. This software also builds documentations via 
doxygen and the problem is related to doxygen/pdflatex, but I have no idea how 
to fix this.

During the process doxygen creates some Makefile with a loop to run `pdflatex` 
several times until no rebuild is needed. The logic is probably that it would 
run few times, and if there is some problem and the process does not converge, 
this is caught at count=5. Now looking into the details I realise that on my 
system the document/pdflatex, there are really 5 iterations need to build the 
document, so I hit the limit and the process is interrupted. 

A easy fix would e to raise the no. of iterations, or to modify the Makefile in 
some other way. But as all this doc directories are created during the build by 
doxygen I have no idea how to influence the process.

Any ideas what could be done to solve this issue?

Thanks!
~petr

 

smime.p7s
Description: S/MIME cryptographic signature
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev