diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2008-11-02 21:16:57 +0000 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2008-11-02 21:16:57 +0000 |
commit | ba21d1f3f945b9a660a9d7477c8edc68659b9dd6 (patch) | |
tree | 6bc95fad3ad1fd8e7a18c2c1b899dd4164d823b0 /app-doc/doxygen | |
parent | Stable on ppc (diff) | |
download | historical-ba21d1f3f945b9a660a9d7477c8edc68659b9dd6.tar.gz historical-ba21d1f3f945b9a660a9d7477c8edc68659b9dd6.tar.bz2 historical-ba21d1f3f945b9a660a9d7477c8edc68659b9dd6.zip |
Updated texlive deps (again) and fixed the last of the DESTDIR issues.
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.26.5 x86_64
Diffstat (limited to 'app-doc/doxygen')
-rw-r--r-- | app-doc/doxygen/ChangeLog | 8 | ||||
-rw-r--r-- | app-doc/doxygen/Manifest | 4 | ||||
-rw-r--r-- | app-doc/doxygen/doxygen-1.5.7.1.ebuild | 179 |
3 files changed, 189 insertions, 2 deletions
diff --git a/app-doc/doxygen/ChangeLog b/app-doc/doxygen/ChangeLog index 46c57e20b960..f43f4aa0ef81 100644 --- a/app-doc/doxygen/ChangeLog +++ b/app-doc/doxygen/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-doc/doxygen # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/ChangeLog,v 1.152 2008/10/12 01:49:49 nerdboy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/ChangeLog,v 1.153 2008/11/02 21:16:57 nerdboy Exp $ + +*doxygen-1.5.7.1 (02 Nov 2008) + + 02 Nov 2008; Steve Arnold <nerdboy@gentoo.org> +doxygen-1.5.7.1.ebuild: + Updated texlive deps (again) and fixed the last of the DESTDIR issues + (for the latest upstream release). Closes bug #240201. 11 Oct 2008; Steve Arnold <nerdboy@gentoo.org> doxygen-1.5.6.ebuild, doxygen-1.5.5.ebuild, doxygen-1.5.4.ebuild, doxygen-1.4.7.ebuild: diff --git a/app-doc/doxygen/Manifest b/app-doc/doxygen/Manifest index 4d9a2d9bff8a..e9adc442e1eb 100644 --- a/app-doc/doxygen/Manifest +++ b/app-doc/doxygen/Manifest @@ -15,9 +15,11 @@ DIST doxygen-1.4.7.src.tar.gz 2928354 RMD160 4de02b866cef53a7fd6f54e0ba90111814a DIST doxygen-1.5.4.src.tar.gz 3762535 RMD160 263e2287da4fbe91a429dc53fe3569b150c76fdf SHA1 1a815f7de6b412f7852d57dec9eb50f7c4b03268 SHA256 12e6a2166b8c78a991d4ceef1dd9042117b24b76e20ccfdfdfc30bc4a7e31df2 DIST doxygen-1.5.5.src.tar.gz 4010148 RMD160 212ef3eca6a43c33189b11d3ab400f5b2069b019 SHA1 16b555f5d191cc0f854ae9856c49e4823a51c595 SHA256 b09aebefe212e414282a07301e81316726d5f9b79c0b848474e08bcf346c444a DIST doxygen-1.5.6.src.tar.gz 4011956 RMD160 94c0d1fe325fa6c9f4a86e2a68e7516dccc4108b SHA1 a478176b9183aef299418e655d6e38b8f8f4e4a5 SHA256 6f5d9ab77a21c7b0e6ebd1524ffa498cc2738ef9a1d8a2ed355117efb3685588 +DIST doxygen-1.5.7.1.src.tar.gz 4096168 RMD160 f9614bb076d6531334a212a95dfbb862a7502c69 SHA1 aecb0c453f76e900eb2aa8132ad063215005fca3 SHA256 7ce9cf96731121aa22365d2aef3dde841a3c4622d4d70282398438275ad26d29 EBUILD doxygen-1.4.7.ebuild 4161 RMD160 01bb1a92077fd72ce6cb687aa97990f9164172b6 SHA1 e392d41f3d2f9ddadbaedf6336edcafac182fc15 SHA256 9fa8ea5aa663a87a3f0c493c846075b18a6b7397bb91aa0bba5629ffaa7bf046 EBUILD doxygen-1.5.4.ebuild 5206 RMD160 fc46e07ed6b9fdd4d987df48a1a9cc86c9774f43 SHA1 de238baf5fbcc2131aec5001a1ec56d489f99d7a SHA256 268d07fe89f7e6dc7a034ffb682a1ec3084383c6e40f9c869b06a16852a0c3e2 EBUILD doxygen-1.5.5.ebuild 5252 RMD160 0f0cb0e87142722e62143fc3baa75665afaedbcb SHA1 f283652f15a7cfaa1d14125dcc7ada0752a8dfcf SHA256 694ccc2a1386c7b9aa2e4831428ddfb6640b25be2e439730d4c7c982da4b63a8 EBUILD doxygen-1.5.6.ebuild 5252 RMD160 1a245f30d3cf2d0fc74776eb01d649f96f8222d0 SHA1 8cf3db42b337085f9c2cff9d3478b87b3a1a5c61 SHA256 22d7978852553f6ea86f02b0e951cb436446207c2a77bf1e96acfcd37ad85023 -MISC ChangeLog 25693 RMD160 93b2f17a02391a2a6cde6d255b565d6c39d3355b SHA1 d9227468fc6d2ed74a1986ba8bbaaead01d8ae93 SHA256 45e7b5ee3f1d40e1b22133d6779e4117c0e01d901204d9f12eb54e1aa7d1bb95 +EBUILD doxygen-1.5.7.1.ebuild 5423 RMD160 b18326d87bf821250d40f7552227edbd1299dcfa SHA1 714aaeaed1aa7ed71aa5524d8418a6a3c76e3f0c SHA256 f633b04f09f0f79587b6cdf031bd9d0837c09b4a46a50687c82e297763eaac20 +MISC ChangeLog 25930 RMD160 1577346928745c2e00920e0929c6b463a418e779 SHA1 dad717b22f3ca3d1d3ab4917ed3f28701cddea80 SHA256 4dc092f0075663cd0b110bdc94178f49c2ac53ab0b6496bb4cc915db962a975c MISC metadata.xml 740 RMD160 288a23989773f251e7acccaf77ae390ca2376c3a SHA1 8fc5f720b18d2952fd0519fd73e3dcb66aa94ee4 SHA256 90abffce7a6f2d24635ea2cf3cb7e64c9374304d9f9daacf5f963e0d8bfcb4f8 diff --git a/app-doc/doxygen/doxygen-1.5.7.1.ebuild b/app-doc/doxygen/doxygen-1.5.7.1.ebuild new file mode 100644 index 000000000000..98df9c76fc90 --- /dev/null +++ b/app-doc/doxygen/doxygen-1.5.7.1.ebuild @@ -0,0 +1,179 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.5.7.1.ebuild,v 1.1 2008/11/02 21:16:57 nerdboy Exp $ + +EAPI=1 + +inherit eutils flag-o-matic toolchain-funcs qt3 fdo-mime + +DESCRIPTION="documentation system for C++, C, Java, Objective-C, Python, IDL, and other languages" +HOMEPAGE="http://www.doxygen.org/" +SRC_URI="ftp://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="debug doc nodot qt3 latex elibc_FreeBSD" + +RDEPEND="qt3? ( x11-libs/qt:3 ) + latex? ( || ( + ( app-text/texlive-core + dev-texlive/texlive-genericrecommended + dev-texlive/texlive-fontsrecommended + dev-texlive/texlive-latexrecommended + dev-texlive/texlive-latexextra ) + ( app-text/tetex ) ) + ) + dev-lang/python + virtual/libiconv + media-libs/libpng + virtual/ghostscript + !nodot? ( >=media-gfx/graphviz-2.6 + media-libs/freetype )" +DEPEND=">=sys-apps/sed-4 + ${RDEPEND}" + +EPATCH_SUFFIX="patch" + +src_unpack() { + unpack ${A} + cd "${S}" + + # use CFLAGS, CXXFLAGS, LDFLAGS + sed -i.orig -e 's:^\(TMAKE_CFLAGS_RELEASE\t*\)= .*$:\1= $(ECFLAGS):' \ + -e 's:^\(TMAKE_CXXFLAGS_RELEASE\t*\)= .*$:\1= $(ECXXFLAGS):' \ + -e 's:^\(TMAKE_LFLAGS_RELEASE\s*\)=.*$:\1= $(ELDFLAGS):' \ + tmake/lib/{{linux,freebsd,netbsd,openbsd,solaris}-g++,macosx-c++}/tmake.conf \ + || die "sed failed" + + # Ensure we link to -liconv + if use elibc_FreeBSD; then + for pro in */*.pro.in */*/*.pro.in; do + echo "unix:LIBS += -liconv" >> "${pro}" + done + fi + + # Consolidate patches, apply FreeBSD configure patch, codepage patch, + # qtools stuff, and patches for bugs 129142, 121770, and 129560. + epatch "${FILESDIR}/${PN}-1.5-legacy-patches.diff" + + # remove internal libpng - see bug #210237 + epatch "${FILESDIR}/${PN}-1.5-system-libpng.patch" + + if [ $(get_libdir) == "lib64" ] ; then + epatch "${FILESDIR}/${PN}-1.5-qtlibdir.patch" + fi + + # fix final DESTDIR issue + sed -i.orig -e "s:\$(INSTALL):\$(DESTDIR)/\$(INSTALL):g" \ + addon/doxywizard/Makefile.in || die "sed failed" + + if is-flagq "-O3" ; then + echo + ewarn "Compiling with -O3 is known to produce incorrectly" + ewarn "optimized code which breaks doxygen." + echo + epause 6 + elog "Continuing with -O2 instead ..." + echo + replace-flags "-O3" "-O2" + fi +} + +src_compile() { + export ECFLAGS="${CFLAGS}" ECXXFLAGS="${CXXFLAGS}" ELDFLAGS="${LDFLAGS}" + # set ./configure options (prefix, Qt based wizard, docdir) + + local my_conf="" + if use debug; then + my_conf="--prefix /usr --debug" + else + my_conf="--prefix /usr" + fi + + if use qt3; then + einfo "using QTDIR: '$QTDIR'." + export LIBRARY_PATH="${QTDIR}/$(get_libdir):${LIBRARY_PATH}" + export LD_LIBRARY_PATH="${QTDIR}/$(get_libdir):${LD_LIBRARY_PATH}" + einfo "using QT LIBRARY_PATH: '$LIBRARY_PATH'." + einfo "using QT LD_LIBRARY_PATH: '$LD_LIBRARY_PATH'." + ./configure ${my_conf} $(use_with qt3 doxywizard) \ + || die 'configure with qt3 failed' + else + ./configure ${my_conf} || die 'configure failed' + fi + + # and compile + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)" \ + LINK_SHLIB="$(tc-getCXX)" all || die 'emake failed' + + # generate html and pdf (if tetex in use) documents. + # errors here are not considered fatal, hence the ewarn message + # TeX's font caching in /var/cache/fonts causes sandbox warnings, + # so we allow it. + if use doc; then + if use nodot; then + sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \ + {Doxyfile,doc/Doxyfile} || ewarn "disabling dot failed" + fi + if use latex; then + addwrite /var/cache/fonts + addwrite /var/cache/fontconfig + addwrite /usr/share/texmf/fonts/pk + addwrite /usr/share/texmf/ls-R + make pdf || ewarn '"make pdf docs" failed.' + else + cp doc/Doxyfile doc/Doxyfile.orig + cp doc/Makefile doc/Makefile.orig + sed -i.orig -e "s/GENERATE_LATEX = YES/GENERATE_LATEX = NO/" \ + doc/Doxyfile + sed -i.orig -e "s/@epstopdf/# @epstopdf/" \ + -e "s/@cp Makefile.latex/# @cp Makefile.latex/" \ + -e "s/@sed/# @sed/" doc/Makefile + make docs || ewarn '"make html docs" failed.' + fi + fi +} + +src_install() { + make DESTDIR="${D}" MAN1DIR=share/man/man1 \ + install || die '"make install" failed.' + + if use qt3; then + doicon "${FILESDIR}/doxywizard.png" + make_desktop_entry doxywizard "DoxyWizard ${PV}" \ + "doxywizard.png" "Application;Development" + fi + + dodoc INSTALL LANGUAGE.HOWTO README + + # pdf and html manuals + if use doc; then + insinto /usr/share/doc/"${PF}" + if use latex; then + doins latex/doxygen_manual.pdf + fi + dohtml -r html/* + fi +} + +pkg_postinst() { + fdo-mime_desktop_database_update + + elog + elog "The USE flags qt3, doc, and latex will enable doxywizard, or" + elog "the html and pdf documentation, respectively. For examples" + elog "and other goodies, see the source tarball. For some example" + elog "output, run doxygen on the doxygen source using the Doxyfile" + elog "provided in the top-level source dir." + elog + elog "Enabling the nodot USE flag will remove the GraphViz dependency," + elog "along with Doxygen's ability to generate diagrams in the docs." + elog "See the Doxygen homepage for additional helper tools to parse" + elog "more languages." + elog +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} |