updated to latest upstream release
authorSteve Arnold <nerdboy@gentoo.org>
Tue, 24 Apr 2007 06:57:35 +0000 (06:57 +0000)
committerSteve Arnold <nerdboy@gentoo.org>
Tue, 24 Apr 2007 06:57:35 +0000 (06:57 +0000)
Package-Manager: portage-2.1.2.4

app-doc/doxygen/ChangeLog
app-doc/doxygen/Manifest
app-doc/doxygen/doxygen-1.5.2.ebuild [new file with mode: 0644]
app-doc/doxygen/files/digest-doxygen-1.5.2 [new file with mode: 0644]

index 900c105496004277deb2e8eef0a5aa9d89e18be5..21e35c0fe3242ed037ca499ef0e921a0af6c85f9 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-doc/doxygen
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/ChangeLog,v 1.121 2007/03/12 05:23:10 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/ChangeLog,v 1.122 2007/04/24 06:57:35 nerdboy Exp $
+
+*doxygen-1.5.2 (24 Apr 2007)
+
+  24 Apr 2007; Steve Arnold <nerdboy@gentoo.org> +doxygen-1.5.2.ebuild:
+  updated to latest upstream release, and removed unicode USE flag (russian
+  patch incorporate dupstream).  Closes bug #174831.
 
   12 Mar 2007; Steve Arnold <nerdboy@gentoo.org> doxygen-1.4.7.ebuild,
   doxygen-1.5.1.ebuild:
index 7f0ce3699571efe9513c77d641b77d304ed54e91..3b065d825374ad299cb8fed6c5b41db8ebfc9930 100644 (file)
@@ -63,6 +63,7 @@ DIST doxygen-1.4.7-utf8-ru.patch.gz 14755 RMD160 8d83de95c416a352caa101277874caa
 DIST doxygen-1.4.7.src.tar.gz 2928354 RMD160 4de02b866cef53a7fd6f54e0ba90111814a9d77a SHA1 42a33d676fbd471165d02f531bfe98f433ecb432 SHA256 5db0e9ddf6fe74273096419d53d3835e9f1822581f20f5f20c057500a5e512ed
 DIST doxygen-1.5.1-utf8-ru.patch.gz 14581 RMD160 a0237fc0fb52cae3483e15ccbdb0633c5745f8ce SHA1 37f0b6b5e59a779c0bc1e72191ff0c03e38e75a6 SHA256 0c9205193021401cb78ea8e69880ef8ae35a89677f3018ba2cac2acac7065c55
 DIST doxygen-1.5.1.src.tar.gz 2888159 RMD160 bacd34a5a69833e42e116d997c99df03dd837062 SHA1 eac525c670ef3f1f81c3038588b42e111a9ec6a6 SHA256 c00233e17f64b9da8d05b7bc2b077abebc03edbfa9fbc063359ef17ec6e11578
+DIST doxygen-1.5.2.src.tar.gz 3599976 RMD160 d30dff3a4625ceb3f31e0fd8c97e2fe3af747d42 SHA1 92749928d041cc9972b6304f170d29019eb148e5 SHA256 496220360b92de6169458b282a8faa32065f71db26d33fb9dc291178fc75381d
 DIST doxygen-utf8-ru.patch.gz 14412 RMD160 ea1858024c2f24ecd4d4b6d77631e6bd432b52f6 SHA1 c293412c349feb6bd9b6b0e1b898f5b530b59c09 SHA256 d1366b061b8d1f3fc4809d48556a4b2a6956113416ed2bf263629e85c2774dce
 EBUILD doxygen-1.4.2.ebuild 3438 RMD160 3e16909e03d693b470e732717f4faaabd61d8b2f SHA1 8adfc15cdf6776c321b05a8cc8fe43d2f40764bb SHA256 300fdff552df3844e0588916f90b748b24797ede02426e336aabec9389167422
 MD5 30a13ccc893621e596410d0663610a9f doxygen-1.4.2.ebuild 3438
@@ -92,10 +93,14 @@ EBUILD doxygen-1.5.1.ebuild 4074 RMD160 502a5612199939017959095d8712ddfe3287b5dc
 MD5 a3ca34cb33188d0f4f108888c8e8385a doxygen-1.5.1.ebuild 4074
 RMD160 502a5612199939017959095d8712ddfe3287b5dc doxygen-1.5.1.ebuild 4074
 SHA256 e7c440583114bb81fda66f9936108671ad29e8d088986bfbfe05f913c49964de doxygen-1.5.1.ebuild 4074
-MISC ChangeLog 19860 RMD160 75d9a66a7678df12c126aa62fee670402531f9f3 SHA1 6da51d52e2151589b3a3feb08e6134654c176b98 SHA256 9c3ef2c66e693d35d0341336a65c48bf6911c8411ff576de2915178a4e00db2e
-MD5 a6b2fa84f5d305914f0adc122052d0a4 ChangeLog 19860
-RMD160 75d9a66a7678df12c126aa62fee670402531f9f3 ChangeLog 19860
-SHA256 9c3ef2c66e693d35d0341336a65c48bf6911c8411ff576de2915178a4e00db2e ChangeLog 19860
+EBUILD doxygen-1.5.2.ebuild 3847 RMD160 2255058aa100b7651f8b17ab150cca054e45d1f7 SHA1 67d45e4e1c25cd034ba84acf4dbee1494ea412a0 SHA256 3558aaca668abff7133d55bf513ca667ab83de14ec36e60c9787bc722f81cfec
+MD5 813ed2a5d8b7426907e12adb283ed7cb doxygen-1.5.2.ebuild 3847
+RMD160 2255058aa100b7651f8b17ab150cca054e45d1f7 doxygen-1.5.2.ebuild 3847
+SHA256 3558aaca668abff7133d55bf513ca667ab83de14ec36e60c9787bc722f81cfec doxygen-1.5.2.ebuild 3847
+MISC ChangeLog 20092 RMD160 bac5f203f0365bde14f74487053679ff7d7c6bc5 SHA1 1f586425baec97b67e29ee03e781936fa90a7b69 SHA256 047a98ea708994d24f3bc45517e25554dcff08993d96aaf4ee47e244a8980ee0
+MD5 c80fefd48971c6ff11341097f2cd5a82 ChangeLog 20092
+RMD160 bac5f203f0365bde14f74487053679ff7d7c6bc5 ChangeLog 20092
+SHA256 047a98ea708994d24f3bc45517e25554dcff08993d96aaf4ee47e244a8980ee0 ChangeLog 20092
 MISC metadata.xml 649 RMD160 2c8cc604548cc64104c075ff64d33190efdce45d SHA1 bfc826f792595110c799a2658d07293b4ab3e0fd SHA256 57a845bfcc6988eabb61ab1da130aeb637be936c93d47e20e53a67676f57c26b
 MD5 b8f1156ac2d88a9982011ecd8ff2275b metadata.xml 649
 RMD160 2c8cc604548cc64104c075ff64d33190efdce45d metadata.xml 649
@@ -121,3 +126,6 @@ SHA256 337f65dce522d7760c1626d1a8f388724de47b85132af3a3f3ef496d7c2156a4 files/di
 MD5 b4ab2d3c7147a403651efedea2cd61ef files/digest-doxygen-1.5.1 524
 RMD160 71311d832141db72f4ba67a01125517b78214e91 files/digest-doxygen-1.5.1 524
 SHA256 b8d3f160bdee292123a6ee33a44d082d597948ca481ce3aecd2c1ba22d7d72a4 files/digest-doxygen-1.5.1 524
+MD5 a711ae23ea82a78da1ba7d096092a044 files/digest-doxygen-1.5.2 256
+RMD160 825cb8e0ec4ef9e3d682f64db0cae40c8494a5e1 files/digest-doxygen-1.5.2 256
+SHA256 4497e4957fbd0349ba4d9e6ea8d94904018930db7d9513ff5da5e94445c5703e files/digest-doxygen-1.5.2 256
diff --git a/app-doc/doxygen/doxygen-1.5.2.ebuild b/app-doc/doxygen/doxygen-1.5.2.ebuild
new file mode 100644 (file)
index 0000000..2a1338f
--- /dev/null
@@ -0,0 +1,119 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.5.2.ebuild,v 1.1 2007/04/24 06:57:35 nerdboy Exp $
+
+inherit eutils flag-o-matic toolchain-funcs qt3
+
+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 ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="doc qt3 tetex"
+
+RDEPEND=">=media-gfx/graphviz-2.6
+       qt3? ( $(qt_min_version 3.3) )
+       tetex? ( virtual/tetex )
+       virtual/ghostscript"
+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
+
+       # 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
+
+       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="--prefix ${D}usr"
+       if use qt3; then
+           einfo "using QTDIR: '$QTDIR'."
+           export LD_LIBRARY_PATH=${QTDIR}/$(get_libdir):${LD_LIBRARY_PATH}
+           export LIBRARY_PATH=${QTDIR}/$(get_libdir):${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 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 tetex; then
+                       addwrite /var/cache/fonts
+                       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.'
+
+       dodoc INSTALL LANGUAGE.HOWTO README
+
+       # pdf and html manuals
+       if use doc; then
+               insinto /usr/share/doc/${PF}
+               if use tetex; then
+                       doins latex/doxygen_manual.pdf
+               fi
+               dohtml -r html/*
+       fi
+}
+
+pkg_postinst() {
+       elog
+       elog "The USE flags qt, doc, and tetex 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 "See the Doxygen homepage for additional language support tools."
+       elog
+}
diff --git a/app-doc/doxygen/files/digest-doxygen-1.5.2 b/app-doc/doxygen/files/digest-doxygen-1.5.2
new file mode 100644 (file)
index 0000000..29a4b2f
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 f2782e5bd31a7d10b092500bf0d96ae2 doxygen-1.5.2.src.tar.gz 3599976
+RMD160 d30dff3a4625ceb3f31e0fd8c97e2fe3af747d42 doxygen-1.5.2.src.tar.gz 3599976
+SHA256 496220360b92de6169458b282a8faa32065f71db26d33fb9dc291178fc75381d doxygen-1.5.2.src.tar.gz 3599976