diff options
author | Pacho Ramos <pacho@gentoo.org> | 2010-09-02 12:36:59 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2010-09-02 12:36:59 +0000 |
commit | 016b52c2f9eca0751836daa189441f172bab6632 (patch) | |
tree | 12db4317a4eae9fe1b4d8f0af6bfc1b25495763e /dev-util/gtk-doc | |
parent | Drop old masks (diff) | |
download | gentoo-2-016b52c2f9eca0751836daa189441f172bab6632.tar.gz gentoo-2-016b52c2f9eca0751836daa189441f172bab6632.tar.bz2 gentoo-2-016b52c2f9eca0751836daa189441f172bab6632.zip |
Fix bug #333313
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/gtk-doc')
-rw-r--r-- | dev-util/gtk-doc/ChangeLog | 13 | ||||
-rw-r--r-- | dev-util/gtk-doc/files/gtk-doc-1.15-fixxref-vim-fixes.patch | 24 | ||||
-rw-r--r-- | dev-util/gtk-doc/gtk-doc-1.13-r2.ebuild | 6 | ||||
-rw-r--r-- | dev-util/gtk-doc/gtk-doc-1.15-r1.ebuild | 90 | ||||
-rw-r--r-- | dev-util/gtk-doc/gtk-doc-1.15.ebuild | 6 |
5 files changed, 134 insertions, 5 deletions
diff --git a/dev-util/gtk-doc/ChangeLog b/dev-util/gtk-doc/ChangeLog index 30d1e51aa0a3..4f6de7b8c3f0 100644 --- a/dev-util/gtk-doc/ChangeLog +++ b/dev-util/gtk-doc/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for dev-util/gtk-doc # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/ChangeLog,v 1.131 2010/08/18 21:06:56 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/ChangeLog,v 1.132 2010/09/02 12:36:59 pacho Exp $ + +*gtk-doc-1.15-r1 (02 Sep 2010) + + 02 Sep 2010; Pacho Ramos <pacho@gentoo.org> gtk-doc-1.13-r2.ebuild, + gtk-doc-1.15.ebuild, +gtk-doc-1.15-r1.ebuild, + +files/gtk-doc-1.15-fixxref-vim-fixes.patch: + Revision bump to fix incompatibility with vim-7.3 reported in bug #333313 + by Ian Abbott, Ed Catmur and others. Applied upstream patch for fixing + this and also replacing gtk-doc-1.13-fixxref-vim-u-NONE.patch. Added a + blocker to affected versions to prevent future breakage when vim-7.3 + reaches stable. 18 Aug 2010; Markus Meier <maekke@gentoo.org> gtk-doc-1.13-r2.ebuild: arm stable, bug #314899 diff --git a/dev-util/gtk-doc/files/gtk-doc-1.15-fixxref-vim-fixes.patch b/dev-util/gtk-doc/files/gtk-doc-1.15-fixxref-vim-fixes.patch new file mode 100644 index 000000000000..ae29570487ef --- /dev/null +++ b/dev-util/gtk-doc/files/gtk-doc-1.15-fixxref-vim-fixes.patch @@ -0,0 +1,24 @@ +From 2bffebcf9c125f5610b8fb660d42c3c5b9dfd4f0 Mon Sep 17 00:00:00 2001 +From: Stefan Kost <ensonic@users.sf.net> +Date: Thu, 19 Aug 2010 14:45:54 +0000 +Subject: fixxref: tweak the vim invocation + +Use specific output-filename to ensure we get what we'll late use. Use "-u NONE" +instead of -u /dev/null. +Fixes #627223 +--- +diff --git a/gtkdoc-fixxref.in b/gtkdoc-fixxref.in +index 33a31b8..9f53852 100755 +--- a/gtkdoc-fixxref.in ++++ b/gtkdoc-fixxref.in +@@ -464,7 +464,7 @@ sub HighlightSourceVim { + close (NEWFILE); + + # format source +- system "echo 'let html_number_lines=0|let html_use_css=1|let use_xhtml=1|syn on|e $temp_source_file|run! syntax/2html.vim|wa!|qa!' | @HIGHLIGHT@ -n -e -u /dev/null -T xterm >/dev/null"; ++ system "echo 'let html_number_lines=0|let html_use_css=1|let use_xhtml=1|syn on|e $temp_source_file|run! syntax/2html.vim|w! $temp_source_file.html|qa!' | @HIGHLIGHT@ -n -e -u NONE -T xterm >/dev/null"; + + my $highlighted_source; + { +-- +cgit v0.8.3.1 diff --git a/dev-util/gtk-doc/gtk-doc-1.13-r2.ebuild b/dev-util/gtk-doc/gtk-doc-1.13-r2.ebuild index b30b33eeb7c5..c06e60b3d005 100644 --- a/dev-util/gtk-doc/gtk-doc-1.13-r2.ebuild +++ b/dev-util/gtk-doc/gtk-doc-1.13-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.13-r2.ebuild,v 1.8 2010/08/18 21:06:56 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.13-r2.ebuild,v 1.9 2010/09/02 12:36:59 pacho Exp $ EAPI="2" @@ -14,6 +14,7 @@ SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" IUSE="debug doc emacs test" +# app-editors/vim blocker needed due bug #333313 RDEPEND=">=dev-libs/glib-2.6 >=dev-lang/perl-5.6 >=app-text/openjade-1.3.1 @@ -23,7 +24,8 @@ RDEPEND=">=dev-libs/glib-2.6 app-text/docbook-xsl-stylesheets ~app-text/docbook-sgml-dtd-3.0 >=app-text/docbook-dsssl-stylesheets-1.40 - emacs? ( virtual/emacs )" + emacs? ( virtual/emacs ) + !!>=app-editors/vim-7.3" DEPEND="${RDEPEND} ~dev-util/gtk-doc-am-${PV} diff --git a/dev-util/gtk-doc/gtk-doc-1.15-r1.ebuild b/dev-util/gtk-doc/gtk-doc-1.15-r1.ebuild new file mode 100644 index 000000000000..236c6ba1fbe7 --- /dev/null +++ b/dev-util/gtk-doc/gtk-doc-1.15-r1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.15-r1.ebuild,v 1.1 2010/09/02 12:36:59 pacho Exp $ + +EAPI="2" + +inherit eutils elisp-common gnome2 + +DESCRIPTION="GTK+ Documentation Generator" +HOMEPAGE="http://www.gtk.org/gtk-doc/" + +LICENSE="GPL-2 FDL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +IUSE="debug doc emacs test" + +# dev-tex/tex4ht blocker needed due bug #315287 +RDEPEND=">=dev-libs/glib-2.6 + >=dev-lang/perl-5.6 + >=app-text/openjade-1.3.1 + dev-libs/libxslt + >=dev-libs/libxml2-2.3.6 + ~app-text/docbook-xml-dtd-4.3 + app-text/docbook-xsl-stylesheets + ~app-text/docbook-sgml-dtd-3.0 + >=app-text/docbook-dsssl-stylesheets-1.40 + emacs? ( virtual/emacs ) + !!<dev-tex/tex4ht-20090611_p1038-r1" + +DEPEND="${RDEPEND} + ~dev-util/gtk-doc-am-${PV} + >=dev-util/pkgconfig-0.19 + >=app-text/scrollkeeper-0.3.14 + >=app-text/gnome-doc-utils-0.3.2 + test? ( app-text/scrollkeeper-dtd )" + +SITEFILE=61${PN}-gentoo.el + +DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO" + +src_prepare() { + gnome2_src_prepare + + # Remove global Emacs keybindings. + epatch "${FILESDIR}/${PN}-1.8-emacs-keybindings.patch" + + # Fix bug 306569 by not loading vim plugins while calling vim in + # gtkdoc-fixxref for fixing vim syntax highlighting + # Also fix incompatibility with vim-7.3 (bug #333313) + epatch "${FILESDIR}/${P}-fixxref-vim-fixes.patch" +} + +src_compile() { + gnome2_src_compile + + use emacs && elisp-compile tools/gtk-doc.el +} + +src_install() { + gnome2_src_install + + # Don't install those files, they are in gtk-doc-am now + rm "${D}"/usr/share/aclocal/gtk-doc.m4 || die "failed to remove gtk-doc.m4" + rm "${D}"/usr/bin/gtkdoc-rebase || die "failed to remove gtkdoc-rebase" + + if use doc; then + docinto doc + dodoc doc/* + docinto examples + dodoc examples/* + fi + + if use emacs; then + elisp-install ${PN} tools/gtk-doc.el* + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + if use emacs; then + elisp-site-regen + elog "gtk-doc does no longer define global key bindings for Emacs." + elog "You may set your own key bindings for \"gtk-doc-insert\" and" + elog "\"gtk-doc-insert-section\" in your ~/.emacs file." + fi +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-util/gtk-doc/gtk-doc-1.15.ebuild b/dev-util/gtk-doc/gtk-doc-1.15.ebuild index b2ebd5f84c54..601aa59cf394 100644 --- a/dev-util/gtk-doc/gtk-doc-1.15.ebuild +++ b/dev-util/gtk-doc/gtk-doc-1.15.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.15.ebuild,v 1.5 2010/08/05 16:30:15 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.15.ebuild,v 1.6 2010/09/02 12:36:59 pacho Exp $ EAPI="2" @@ -15,6 +15,7 @@ KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc IUSE="debug doc emacs test" # dev-tex/tex4ht blocker needed due bug #315287 +# app-editors/vim blocker needed due bug #333313 RDEPEND=">=dev-libs/glib-2.6 >=dev-lang/perl-5.6 >=app-text/openjade-1.3.1 @@ -25,7 +26,8 @@ RDEPEND=">=dev-libs/glib-2.6 ~app-text/docbook-sgml-dtd-3.0 >=app-text/docbook-dsssl-stylesheets-1.40 emacs? ( virtual/emacs ) - !!<dev-tex/tex4ht-20090611_p1038-r1" + !!<dev-tex/tex4ht-20090611_p1038-r1 + !!>=app-editors/vim-7.3" DEPEND="${RDEPEND} ~dev-util/gtk-doc-am-${PV} |