diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2012-08-11 17:29:15 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2012-08-11 17:29:15 +0000 |
commit | e435cf765e6cb8b3102fc73e9f964a1d5d1b26db (patch) | |
tree | e22b0eaa352d6b6f738cc6d4ca460f8200e86e9b /app-doc | |
parent | Added ~ppc ~ppc64 per user report, bug 410201. (diff) | |
download | historical-e435cf765e6cb8b3102fc73e9f964a1d5d1b26db.tar.gz historical-e435cf765e6cb8b3102fc73e9f964a1d5d1b26db.tar.bz2 historical-e435cf765e6cb8b3102fc73e9f964a1d5d1b26db.zip |
Version bump
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'app-doc')
-rw-r--r-- | app-doc/doxygen/ChangeLog | 7 | ||||
-rw-r--r-- | app-doc/doxygen/Manifest | 30 | ||||
-rw-r--r-- | app-doc/doxygen/doxygen-1.8.2.ebuild | 241 |
3 files changed, 263 insertions, 15 deletions
diff --git a/app-doc/doxygen/ChangeLog b/app-doc/doxygen/ChangeLog index 16f88972bf9a..9ded321a5c64 100644 --- a/app-doc/doxygen/ChangeLog +++ b/app-doc/doxygen/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-doc/doxygen # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/ChangeLog,v 1.229 2012/08/11 09:41:01 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/ChangeLog,v 1.230 2012/08/11 17:29:15 xarthisius Exp $ + +*doxygen-1.8.2 (11 Aug 2012) + + 11 Aug 2012; Kacper Kowalik <xarthisius@gentoo.org> +doxygen-1.8.2.ebuild: + Version bump 11 Aug 2012; Kacper Kowalik <xarthisius@gentoo.org> -doxygen-1.6.3.ebuild, -doxygen-1.7.2.ebuild, -doxygen-1.7.3.ebuild, -doxygen-1.7.5.1.ebuild, diff --git a/app-doc/doxygen/Manifest b/app-doc/doxygen/Manifest index 678a1a086584..eed825b6a02a 100644 --- a/app-doc/doxygen/Manifest +++ b/app-doc/doxygen/Manifest @@ -17,28 +17,30 @@ DIST doxygen-1.5.4.src.tar.gz 3762535 SHA256 12e6a2166b8c78a991d4ceef1dd9042117b DIST doxygen-1.5.8.src.tar.gz 4125837 SHA256 01540aaf7e929e7784e3392331f2c915480acb174a16e8652855d90965f44ff8 SHA512 4f9df4668454ae4b5b1b99deed36266eaebd340a2d7b9d4597e656712a12229cdc3b0999a7219430c5b4602d98752dec29a34cc42943cbc58efb3944432daaec WHIRLPOOL eec96af6678503640edccd9d68a0ba1e5919fe7e4eb9eb5e934f23d7af49a6762d1fad07708d54a32c51208a1e6c3e9961fe2ece93521fd1d51ecce4686ba151 DIST doxygen-1.7.6.1.src.tar.gz 4791654 SHA256 0e60e794fb172d3fa4a9a9535f0b8e0eeb04e8366153f6b417569af0bcd61fcd SHA512 614e8b52b32c4ff0a37cabfa2fbd6ea2d79567fdd903eb3e5031e61cd106bb3bfa42ccfdbc6636e5da08bd7a7fa226fb8d9c104b344d16098e9aedc3a601127a WHIRLPOOL f70aa1d0f93746871c5b24538231fac775e849ac88eeff9d1afc0919464bc9c7a27b1391d1aa50624ca11c48f3e2e953a4c41ed7ec5be3ad7972f03510576c5c DIST doxygen-1.8.1.2.src.tar.gz 6028928 SHA256 385c6f20124735920b55835a09f30c42707d49264ee164693e9d971b59134b7f SHA512 075c057cb9a5ad93dd574c94d56a69eda85a5f9e74f037faff876304301471d74303e2fbb61dfbced62fb1797b86bde329db1721d8deff7efd5a764bc405357f WHIRLPOOL 312692b7335cc3c62143e457b94f10f7b49faa598977f71fd6eef8500c47abac16b1dc4096d3f971e60534e7af8d108c910cc7a2a38a8563f53768f266760272 +DIST doxygen-1.8.2.src.tar.gz 6063241 SHA256 5c839ef7faa9412817e9fba596f24b9cd7ad923d1c16c35e256d14caf05c8448 SHA512 af96abf51eb9bd47135e561072792ae2b91706fff2bd7f7e980487c7f5fc365ff34ff03e9826a8eb3a4dc2501ab9f213617525ccb55e0deee815a7e3f9327f69 WHIRLPOOL ed730b58c9fae12aa2a429d19d6dad5a38243d9164f60ef2dc6105f9d0e1b0f47c4be86553ceef67e8f650c886d0e4398efba7e2f2f5eef0afbce34403510ecb DIST doxywizard.png 4231 SHA256 eb648ebd3a194a56d9ed6e47cc8dbf1af2e124d83c2c42af9bf86bd837984209 SHA512 5e2d26e7427b86866ebe75ec2c66c0f1100d230f3f3e4d66bac424a8dd0d42f0831d936ff03318dfa1bf73cbd9fb53717636d0c91ae3eea0f4e24641479d25d5 WHIRLPOOL bb0c13b382c4069ca310ff53a03b36499a2bf6e0e8c0647efc032530f429f483b5d6f2925b7e996d4f84c8f2b77eb883533f4b7abc88745a2cfa596d3dd4f3fb EBUILD doxygen-1.4.7.ebuild 3763 SHA256 9ea68529c5d394994b9c65453e740171ce2e8edacb02a4662df21a36674c72fb SHA512 eef8f489620629239f5f2453ce651ca0ae3bb6fc9042aafbcdc527187eb7eca1d4d26757e053b33253bee32a5db4a8a2ed5a652de771ab380ee7fb8f4b54e367 WHIRLPOOL 57eb323b004724064060e4928bd3068fc5e7362fad4ff7c3a590410f27c3c44c72d08cb909450d9862439721f70e0101f96661522feb11eecaaa641592a79c86 EBUILD doxygen-1.5.4.ebuild 4600 SHA256 269bd42ab1d0e6fd4e51aaca5377117e0028567aa882167c93877310c532b691 SHA512 ba87262eb07c99e3bba8cc0fd35749c346247f210f10b08a20cf3f57af684f39266f48708f6e524a3364f58dde88c1e83f4829f83bf1f92aede1be4cc5c8b11e WHIRLPOOL ec6ee7038a783c7894b3a6fa32742848e3d7a2eb8568b3fbdcbe8ea5e35e0f1e19cdd5540877124abb7e33609c3f3f6959b2321f9ec57606d0f5d344bc87a543 EBUILD doxygen-1.5.8-r1.ebuild 5500 SHA256 951822e836712554b86690d1cbc796b5a54783ad85ca75e07469324891dc3b47 SHA512 2dd696617263bef2c3b3b49eb389d645983618fee253f7f9297013fbeffc8f0678cd941b077f050356073877882589ca76d524472e46aa84e3d5d7de1e4e7699 WHIRLPOOL d567e118a64f299a19d84d401904beb7b12c257088380cfa5706341f1591b72d647f6f6e1d656e1d15a18f152576a866458c81af50b4fe23dca4d3c61739c919 EBUILD doxygen-1.7.6.1.ebuild 6384 SHA256 a56d455c37ab51fb03f28283b2dcb66450a99f3086b91fb627cfa1c9dffbe964 SHA512 37a8e8bc1b341859e95f1d2e1ef2f8ce24ea4dd31da79ebe0e679c3a80075b99b8ad2b0e738814ce8fcbab3f4d80f6454888d374977d5294704a67594ba2770a WHIRLPOOL def2e9b9afd5cd24c7f31402bc934cd0eba62f791aaca43dcb6db58751e87aa8d518f992880b5c2d4c1983bc30e34b3ef09a707becb07accc6debebad1bcc745 EBUILD doxygen-1.8.1.2.ebuild 6776 SHA256 4b0de59a637c671cf957339bf2093a652ab97b39af4416a5233787ae1210072f SHA512 4a268414901bf2f225259633aefb5dfd137718371259d2acfc895f09664a4c836e59e9df23af1f6441f76cec1f3acd9addc8174986548a1311c4e3c6d9dd774a WHIRLPOOL 01b0e37245782f58b4f9afab6b584ad2e49d715d2f0c6eec08ce3507ee1eef590bfaa46f083db423edd733a21b31c484a361e9e038ffee181260584af87521fe -MISC ChangeLog 39019 SHA256 77e2a0b4a9e1072677d692c48ad6356102ce009e660231abe88487f0a66d3064 SHA512 375e1fd509a9cd666c8737cc8b95f245e4eef1b3e6abb540da9a752cba3f9e8a6d25414341c160e4e2bdadeb76bd0bb24c3d3f67d8bf082c9a649939818c10d6 WHIRLPOOL 26886f0bc58c45e807c6dfc6f1c337d4a65f42b2dca7aa9818ccbf8b53841fa1be81790b06c034bc5eb18bbd55ce73eb803778ae0db3e9bc043ebb9e93fa069d +EBUILD doxygen-1.8.2.ebuild 6774 SHA256 109fac1f02051a8b6a70547a41b7f9c197422ef8fb12d36ada4eb12448a18783 SHA512 6b6a4e5b221381d25f699821c1e09cfbfa0be08da3dc1e07e18a21eb3bc19efbdd7ea22f240694dfb877c820880113034703d43ef2c4f6ff352fe4d7886193ac WHIRLPOOL 75d684eab0b66fce20c43b752e86f6b1e9c2b8b6cc256ef62afb559833e726b2628ec4b210495ee3b8dc40a94fbacc6553002a1bce243b4bf8f2a9ade11cae19 +MISC ChangeLog 39142 SHA256 282c13bfa4c88ea28068fa2752b7af8934553688c737ab44b9e69bb10b0192a2 SHA512 d69e47135771e0921d01130fdb2608f77bc19420e91ea45767646c022e05cf0a8e86b99e22d84a49172689a7ede3296e2d486899156bb68c26cf7b719c087f2b WHIRLPOOL 383da54887e7f79efeb384b15864762c6dd8a3c61df48fbc9150c291ba9cb39a18ebc33ae3a2474f3f03a09ab5f29b62f088f178b825b4a189d8f658efec73c6 MISC metadata.xml 928 SHA256 1a4411799b05578436db12aee760a85817d1fa4eac70ae31d7c16f176fe0c398 SHA512 50857d72a2aa9773898de8fe5110ea299c6bb789d75c41e65cb4105b41dd57235c875f468d19f5944299ff334423e86879b512a126d89e5849a72fdb06e3c189 WHIRLPOOL a03be51f36632e496c109451dd16fef7707cc6bd5e5957e369e6aea013a95b28ca189024caa381faa678bea95dece795b3109c9538986155b9707f87ab4cd936 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCAAGBQJQJii3AAoJEF0huFKJUZL5OA0P/i09/P+bK102HB/Yh8xscyOC -oEvoQHy6MPwOzey96IbOsFf29bYLqm9qk6pmWiAO4Ho8DC5EzAXQ8i6ep2wzv0rD -Enxt5e0iCfsNZApzGcZqNAdfopAHdqtBe5fdyTXBRUL5rffrlDiOQ8qQtHLgYMy1 -X7R9qRNvRGb8fr37xuLCWpHqHhn3l1OWnX7QFSgUUiwhYYjRgQBWIqAyelnSvEhf -yqIqDSMs/2nzPIl3t9zmXAMsRHBWhcu4M74OVi8FiOjmUsIwDHDSI41EnjTjYzJT -MpsGcs3/0YyILLfjcQlJrY87j9SayY+z/8BlrJsyTkMYW6skftKYa4d/TFZjNNRR -Hi+zVq7GiE9AvgtLfI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=nJ73 -----END PGP SIGNATURE----- diff --git a/app-doc/doxygen/doxygen-1.8.2.ebuild b/app-doc/doxygen/doxygen-1.8.2.ebuild new file mode 100644 index 000000000000..c552d2744cb4 --- /dev/null +++ b/app-doc/doxygen/doxygen-1.8.2.ebuild @@ -0,0 +1,241 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.8.2.ebuild,v 1.1 2012/08/11 17:29:15 xarthisius Exp $ + +EAPI=4 + +inherit eutils fdo-mime flag-o-matic python qt4-r2 toolchain-funcs + +DESCRIPTION="Documentation system for most programming languages" +HOMEPAGE="http://www.doxygen.org/" +SRC_URI="http://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz + http://dev.gentoo.org/~xarthisius/distfiles/doxywizard.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="debug doc dot qt4 latex elibc_FreeBSD userland_GNU" + +#missing SerbianCyrilic, JapaneseEn, KoreanEn, Chinesetraditional + +LANGS=(hy ar pt_BR ca zh cs de da eo es fa fi fr el hr hu id it ja ko lt mk +nl nb pl pt ro ru sl sk sr sv tr uk vi af) +for X in "${LANGS[@]}" ; do + IUSE="${IUSE} linguas_${X}" +done + +RDEPEND="qt4? ( x11-libs/qt-gui:4 ) + latex? ( app-text/texlive[extra] ) + dev-lang/perl + virtual/libiconv + media-libs/libpng + app-text/ghostscript-gpl + dot? ( + media-gfx/graphviz + media-libs/freetype + )" + +DEPEND="sys-apps/sed + sys-devel/flex + sys-devel/bison + doc? ( =dev-lang/python-2* ) + ${RDEPEND}" + +RESTRICT="mirror" +EPATCH_SUFFIX="patch" + +get_langs() { + # using only user set linguas also fixes #263641 + my_linguas=() + for lingua in ${LINGUAS}; do + if has ${lingua} "${LANGS[@]}"; then + case ${lingua} in + hy) lingua=am ;; + pt_BR) lingua=br ;; + zh*) lingua=cn ;; + cs) lingua=cz ;; + da) lingua=dk ;; + el*) lingua=gr ;; + ja*) lingua=jp ;; + ko) lingua=kr ;; + nb) lingua=no ;; + sl) lingua=si ;; + tr*) lingua=tr ;; + uk) lingua=ua ;; + af) lingua=za ;; + esac + has ${lingua} "${my_linguas[@]}" || + my_linguas+=(${lingua}) + fi + done + f_langs="${my_linguas[@]}" + echo ${f_langs// /,} +} + +pkg_setup() { + tc-export CC CXX + if use doc; then + python_set_active_version 2 + python_pkg_setup + fi +} + +src_prepare() { + # use CFLAGS, CXXFLAGS, LDFLAGS + export ECFLAGS="${CFLAGS}" ECXXFLAGS="${CXXFLAGS}" ELDFLAGS="${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):' \ + -e "s:^\(TMAKE_CXX\s*\)=.*$:\1= $(tc-getCXX):" \ + -e "s:^\(TMAKE_LINK\s*\)=.*$:\1= $(tc-getCXX):" \ + -e "s:^\(TMAKE_LINK_SHLIB\s*\)=.*$:\1= $(tc-getCXX):" \ + -e "s:^\(TMAKE_CXX\s*\)=.*$:\1= $(tc-getCC):" \ + tmake/lib/{{linux,gnu,freebsd,netbsd,openbsd,solaris}-g++,macosx-c++,linux-64}/tmake.conf \ + || die + + # 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 + + # Call dot with -Teps instead of -Tps for EPS generation - bug #282150 + sed -i -e '/addJob("ps"/ s/"ps"/"eps"/g' src/dot.cpp || die + + # prefix search tools patch, plus OSX fixes + epatch "${FILESDIR}"/${PN}-1.8.1-prefix-misc-alt.patch + + # fix final DESTDIR issue + sed -i.orig -e "s:\$(INSTALL):\$(DESTDIR)/\$(INSTALL):g" \ + -e "s/all: Makefile.doxywizard/all:/g" \ + addon/doxywizard/Makefile.in || die + + # fix pdf doc + sed -i.orig -e "s:g_kowal:g kowal:" \ + doc/maintainers.txt || die + + # old value is not enough for codes written in modern Fortran + sed -i -e '/define MAX_INCLUDE_DEPTH/ s/10/20/g' \ + src/fortranscanner.* || die + + sed -e "s/\$(DATE)/$(LC_ALL="C" LANG="C" date)/g" \ + -i Makefile.in || die #428280 + + if is-flagq "-O3" ; then + echo + ewarn "Compiling with -O3 is known to produce incorrectly" + ewarn "optimized code which breaks doxygen." + echo + elog "Continuing with -O2 instead ..." + echo + replace-flags "-O3" "-O2" + fi +} + +src_configure() { + # set ./configure options (prefix, Qt based wizard, docdir) + + local my_conf="--shared --enable-langs $(get_langs)" + + if use debug ; then + my_conf="${my_conf} --debug" + else + my_conf="${my_conf} --release " + fi + + use ppc64 && my_conf="${my_conf} --english-only" #263641 + + use qt4 && my_conf="${my_conf} --with-doxywizard" + + # On non GNU userland (e.g. BSD), configure script picks up make and bails + # out because it is not GNU make, so we force the right value. + use userland_GNU || my_conf="${my_conf} --make ${MAKE} --install install" + + export LINK="${QMAKE_LINK}" + export LINK_SHLIB="${QMAKE_CXX}" + + if use qt4 ; then + pushd addon/doxywizard &> /dev/null + eqmake4 doxywizard.pro -o Makefile.doxywizard + popd &> /dev/null + fi + + ./configure --prefix "${EPREFIX}/usr" ${my_conf} \ + || die +} + +src_compile() { + + emake CFLAGS+="${ECFLAGS}" CXXFLAGS+="${ECXXFLAGS}" \ + LFLAGS+="${ELDFLAGS}" all + + # 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 dot; 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 docs" failed.' + fi + fi +} + +src_install() { + emake DESTDIR="${D}" MAN1DIR=share/man/man1 install + + if use qt4; then + doicon "${DISTDIR}/doxywizard.png" + make_desktop_entry doxywizard "DoxyWizard ${PV}" \ + "/usr/share/pixmaps/doxywizard.png" \ + "Application;Development" + fi + + dodoc INSTALL LANGUAGE.HOWTO README + + # pdf and html manuals + if use doc; then + dohtml -r html/* + use latex && dodoc latex/doxygen_manual.pdf + fi +} + +pkg_postinst() { + fdo-mime_desktop_database_update + + elog + elog "The USE flags qt4, 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 "Disabling the dot 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 +} |