Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7353 - Update app-doc/doxygen to 1.2.18
Summary: Update app-doc/doxygen to 1.2.18
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Phil Bordelon (sunflare)
URL:
Whiteboard:
Keywords:
: 8498 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-09-01 17:52 UTC by Michael Imamura
Modified: 2003-04-24 18:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
doxygen-1.2.17.ebuild (doxygen-1.2.17.ebuild,1.41 KB, text/plain)
2002-09-16 19:45 UTC, CJ Kucera
Details
doxygen-1.2.17-gentoo.diff (doxygen-1.2.17-gentoo.diff,888 bytes, patch)
2002-09-16 19:46 UTC, CJ Kucera
Details | Diff
doxygen-1.2.18.ebuild (doxygen-1.2.18.ebuild,1.25 KB, text/plain)
2002-09-26 13:39 UTC, CJ Kucera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Imamura 2002-09-01 17:52:41 UTC
Doxygen 1.2.17 has been released.

The existing doxygen-1.2.16.ebuild and files/doxygen-1.2.16-gentoo.diff work
properly with the new version when copied to doxygen-1.2.17.ebuild and
files/doxygen-1.2.17-gentoo.diff, respectively.
Comment 1 CJ Kucera 2002-09-16 19:42:36 UTC
I've created an ebuild for doxygen 1.2.17, which I'll attach here, in the hopes
of moving this along.  :)  I've made a few changes.

First, the previous patch to Makefile.doxywizard doesn't seem to be necessary
anymore, so I've removed it.

Next, there's a bug in 1.2.17 which causes the generated imagemaps (for class
relations, etc) to fail when using more recent versions of graphviz (including
the new version I submitted in bug #8001).  This was fixed in the current CVS
build, so I've made a patch for it and I'll attach that as well (applies on
src_unpack).

Next, doxygen doesn't seem to like playing nicely with our CFLAGS and CXXFLAGS
settings, so I've used some sed commands to make it do so in src_unpack.

Lastly, the dependency on media-gfx/graphviz isn't really a dependency.  Doxygen
can USE graphviz to create the graphics, but it doesn't need to, and some people
(like myself) actually like the default graphics better.  Doxygen does not
compile against graphviz at all - to enable graphviz support using Doxygen you
edit the configuration file you're using to say "YES" where appropriate, and
then Doxygen just calls the executables.  So, in my ebuild, I've created a new
"graphviz" USE flag, so the dependency is optional.  I don't know if there's any
more "official" way to get a new USE flag accepted, and it certainly seems just
a bit silly to add one for just this one ebuild, but this way you've got the
choice.  If it is accepted, I'd recommend having it ON by default, but that's
just me talking.

Let me know if there's any issues with what I've done here.
Comment 2 CJ Kucera 2002-09-16 19:45:25 UTC
Created attachment 3963 [details]
doxygen-1.2.17.ebuild

This is the updated ebuild.
Comment 3 CJ Kucera 2002-09-16 19:46:23 UTC
Created attachment 3964 [details, diff]
doxygen-1.2.17-gentoo.diff

This is the patch file that'll fix the bug in imagemaps generated with
graphviz.  Has no effect on users not using graphviz, but it won't hurt.
Comment 4 Michael Imamura 2002-09-25 02:18:07 UTC
An update: Doxygen 1.2.18 was released on 18 Sep 2002.
Comment 5 CJ Kucera 2002-09-26 13:39:20 UTC
Created attachment 4211 [details]
doxygen-1.2.18.ebuild

Okay, here's the new 1.2.18 ebuild, which seems to work fine.  The bug that
necessitated the previous patch has been fixed, so we no longer have to worry
about that.  The CFLAGS and dependency fixes I put in are still there, though. 
Enjoy!	(Argh, again, I realize that I don't have permission to obsolete my
other two attachments here, so if someone else could do that for me, I'd
appreciate it.	Thanks!)
Comment 6 Phil Bordelon (sunflare) 2002-10-13 11:40:10 UTC
*** Bug 8498 has been marked as a duplicate of this bug. ***
Comment 7 Phil Bordelon (sunflare) 2002-10-13 11:59:05 UTC
For the time being, I don't want to add a new USE flag to the tree.  I'm keeping
the ebuild mostly as-is otherwise, though.

It compiled fine on my machine.  I've added it to the tree, with both "~x86" and
"~ppc" KEYWORDS.  This means that they're in testing; I don't want to pollute
the 1.4 tree with nonworking ebuilds, so these are invisible unless you
explictly tell emerge to see them.  You can do this by:

   ACCEPT_KEYWORDS="~x86" emerge --pretend --update doxygen

changing the parameters as you like to make them make sense for what you're
trying to do.  Leaving this problem open until post-1.4, but any testing of the
new version is much appreciated.  Of course, be forewarned that it /is/ a
testing package.
Comment 8 Phil Bordelon (sunflare) 2002-10-13 12:00:09 UTC
Oops.  Did the wrong assignment.
Comment 9 Phil Bordelon (sunflare) 2003-04-24 18:04:05 UTC
There's actually newer ebuilds for doxygen available.  Marking this RESOLVED FIXED.