diff options
author | Mart Raudsepp <leio@gentoo.org> | 2009-05-04 00:29:10 +0000 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2009-05-04 00:29:10 +0000 |
commit | 3bed19f8833f289f24eb766c7c70bd6f80c70538 (patch) | |
tree | 481164e424d9f22fc23149a5184031103d359a48 /dev-util/gtk-doc | |
parent | Marking vnc-4.1.3-r2 ppc64 for bug 264897 (diff) | |
download | gentoo-2-3bed19f8833f289f24eb766c7c70bd6f80c70538.tar.gz gentoo-2-3bed19f8833f289f24eb766c7c70bd6f80c70538.tar.bz2 gentoo-2-3bed19f8833f289f24eb766c7c70bd6f80c70538.zip |
New version with various bug fixes and improvements. User documentation is installed again, viewable with yelp. Remove old versions
(Portage version: 2.2_rc22/cvs/Linux 2.6.29-gentoo-r2 x86_64)
Diffstat (limited to 'dev-util/gtk-doc')
-rw-r--r-- | dev-util/gtk-doc/ChangeLog | 12 | ||||
-rw-r--r-- | dev-util/gtk-doc/files/gtk-doc-1.11-fix-index-id-gen.patch | 84 | ||||
-rw-r--r-- | dev-util/gtk-doc/files/gtk-doc-1.11-quote-filenames-with-space.patch | 46 | ||||
-rw-r--r-- | dev-util/gtk-doc/files/gtk-doc-1.11-tests-fixes.patch | 202 | ||||
-rw-r--r-- | dev-util/gtk-doc/gtk-doc-1.11.ebuild (renamed from dev-util/gtk-doc/gtk-doc-1.10-r1.ebuild) | 29 | ||||
-rw-r--r-- | dev-util/gtk-doc/gtk-doc-1.8-r2.ebuild | 75 |
6 files changed, 360 insertions, 88 deletions
diff --git a/dev-util/gtk-doc/ChangeLog b/dev-util/gtk-doc/ChangeLog index 289b6df4c072..f309a9b7d16d 100644 --- a/dev-util/gtk-doc/ChangeLog +++ b/dev-util/gtk-doc/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for dev-util/gtk-doc # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/ChangeLog,v 1.103 2009/04/28 18:10:22 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/ChangeLog,v 1.104 2009/05/04 00:29:10 leio Exp $ + +*gtk-doc-1.11 (04 May 2009) + + 04 May 2009; Mart Raudsepp <leio@gentoo.org> + +files/gtk-doc-1.11-fix-index-id-gen.patch, + +files/gtk-doc-1.11-quote-filenames-with-space.patch, + +files/gtk-doc-1.11-tests-fixes.patch, -gtk-doc-1.8-r2.ebuild, + -gtk-doc-1.10-r1.ebuild, +gtk-doc-1.11.ebuild: + New version with various bug fixes and improvements. User documentation is + installed again, viewable with yelp. Remove old versions 28 Apr 2009; Raúl Porcel <armin76@gentoo.org> gtk-doc-1.10-r2.ebuild: m68k stable diff --git a/dev-util/gtk-doc/files/gtk-doc-1.11-fix-index-id-gen.patch b/dev-util/gtk-doc/files/gtk-doc-1.11-fix-index-id-gen.patch new file mode 100644 index 000000000000..9b96096511eb --- /dev/null +++ b/dev-util/gtk-doc/files/gtk-doc-1.11-fix-index-id-gen.patch @@ -0,0 +1,84 @@ +From 420db2513f558083f9b8c35315d7708b8a3700d8 Mon Sep 17 00:00:00 2001 +From: Stefan Kost <stefkost@src.gnome.org> +Date: Mon, 1 Dec 2008 09:22:32 +0000 +Subject: [PATCH 1/3] patch by: Matthias Clasen <mclasen@redhat.com> + * gtkdoc-mkdb.in: + Fix index-id generation for child and style properties. Fixes #562064. + +svn path=/trunk/; revision=621 +(cherry picked from commit 455a93571bf807f0a273c57fda81bb4956e4bcca) +--- + ChangeLog | 7 +++++++ + gtkdoc-mkdb.in | 18 ++++++++++++------ + 2 files changed, 19 insertions(+), 6 deletions(-) + +diff --git a/ChangeLog b/ChangeLog +index b315ad5..63fa517 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,3 +1,10 @@ ++2008-12-01 Stefan Kost <ensonic@users.sf.net> ++ ++ patch by: Matthias Clasen <mclasen@redhat.com> ++ ++ * gtkdoc-mkdb.in: ++ Fix index-id generation for child and style properties. Fixes #562064. ++ + 2008-11-16 Stefan Kost <ensonic@users.sf.net> + + * HACKING: +diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in +index fa67316..bd2f465 100755 +--- a/gtkdoc-mkdb.in ++++ b/gtkdoc-mkdb.in +@@ -311,6 +311,13 @@ for my $dir (@SOURCE_DIRS) { + &ReadSourceDocumentation ($dir); + } + ++# FIXME: can we scan for a common prefix? ++# DEBUG ++# check $Declarations{$key} to first '_', we would need to count ++#my %prefixes = map { m/^(.*?)\_.*/;uc($1) => 1 } grep { m/\_/ } keys (%Declarations); ++#foreach (keys %prefixes) { print "$_\n"; } ++# DEBUG ++ + my $changed = &OutputSGML ("$ROOT_DIR/$MODULE-sections.txt"); + + # If any of the DocBook SGML files have changed, update the timestamp file (so +@@ -823,15 +830,15 @@ sub OutputIndex { + $short_symbol = $symbol; + } + +- my $xref = &MakeXRef ($symbol); + my $curletter = uc(substr($short_symbol,0,1)); + my $id = $apiindex{$symbol}; +- ++ my $xref = &MakeXRef ($id, $symbol); ++ + #print " add symbol $symbol with $id to index in section $curletter\n"; + + if ($curletter ne $lastletter) { + $lastletter = $curletter; +- ++ + if ($divopen == 1) { + print (OUTPUT "</indexdiv>\n"); + } +@@ -2122,12 +2129,11 @@ EOF + sub CreateValidSGMLID { + my ($id) = $_[0]; + +- # Append ":CAPS" to all all-caps identifiers +- + # Special case, '_' would end up as '' so we use 'gettext-macro' instead. + if ($id eq "_") { return "gettext-macro"; } + +- if ($id !~ /[a-z]/) { $id .= ":CAPS" }; ++ # Append ":CAPS" to all all-caps identifiers ++ if ($id !~ /[a-z]/ && $id !~ /-CAPS$/) { $id .= ":CAPS" }; + + $id =~ s/[_ ]/-/g; + $id =~ s/[,\.]//g; +-- +1.6.1.3 + diff --git a/dev-util/gtk-doc/files/gtk-doc-1.11-quote-filenames-with-space.patch b/dev-util/gtk-doc/files/gtk-doc-1.11-quote-filenames-with-space.patch new file mode 100644 index 000000000000..104d4ef94b7a --- /dev/null +++ b/dev-util/gtk-doc/files/gtk-doc-1.11-quote-filenames-with-space.patch @@ -0,0 +1,46 @@ +From d31d3e9a0733ccf229526b70b38b73889240b0ba Mon Sep 17 00:00:00 2001 +From: Stefan Kost <stefkost@src.gnome.org> +Date: Tue, 17 Mar 2009 11:20:01 +0000 +Subject: [PATCH 3/3] patch by: Vincent Untz <vuntz@nome.org> + * gtkdoc-common.pl.in: + Be more friendly for files with a space in their name. Fixes #575574. + +svn path=/trunk/; revision=705 +(cherry picked from commit 390599e14a7fc65945e3966e32ae06e2148089e2) +--- + ChangeLog | 8 ++++++++ + gtkdoc-common.pl.in | 2 +- + 2 files changed, 9 insertions(+), 1 deletions(-) + +diff --git a/ChangeLog b/ChangeLog +index bc14efa..25430b8 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,3 +1,11 @@ ++2009-03-17 Stefan Kost <ensonic@users.sf.net> ++ ++ patch by: Vincent Untz <vuntz@nome.org> ++ ++ * gtkdoc-common.pl.in: ++ Be more friendly for files with a space in their name. Fixes #575574. ++ ++ + 2009-01-04 Stefan Kost <ensonic@users.sf.net> + + * tests/gtk-doc.make: +diff --git a/gtkdoc-common.pl.in b/gtkdoc-common.pl.in +index 972644d..8cd7614 100644 +--- a/gtkdoc-common.pl.in ++++ b/gtkdoc-common.pl.in +@@ -51,7 +51,7 @@ sub UpdateFileIfChanged { + my $exit_code = 1; + + if (-e $old_file) { +- `cmp -s $old_file $new_file`; ++ `cmp -s "$old_file" "$new_file"`; + $exit_code = $? >> 8; + # print " cmp exit code: $exit_code ($?)\n"; + } +-- +1.6.1.3 + diff --git a/dev-util/gtk-doc/files/gtk-doc-1.11-tests-fixes.patch b/dev-util/gtk-doc/files/gtk-doc-1.11-tests-fixes.patch new file mode 100644 index 000000000000..8e28f540c633 --- /dev/null +++ b/dev-util/gtk-doc/files/gtk-doc-1.11-tests-fixes.patch @@ -0,0 +1,202 @@ +From 7ef64f1d7d3309612a14c22dba59a3a4a34bc381 Mon Sep 17 00:00:00 2001 +From: Stefan Kost <stefkost@src.gnome.org> +Date: Sun, 4 Jan 2009 12:08:02 +0000 +Subject: [PATCH 2/3] Fix running tests, if no gtk-doc is installed yet. + +* gtkdoc-mkhtml.in: +* tests/Makefile.am: +* tests/gtk-doc.make: +* tests/gtk-doc.notmpl.make: +* tests/gtkdoctest.sh: +Fix running tests, if no gtk-doc is installed yet. + +svn path=/trunk/; revision=630 +(cherry picked from commit 0ceaa25cb719bda5205627819fa170a41783cafc) + +Now aall tests pass. + +* tests/gtk-doc.make: +* tests/gtk-doc.notmpl.make: +Now aall tests pass. + +svn path=/trunk/; revision=631 +(cherry picked from commit b3305a943c1dfe522fdc222d495a4a449d37d30c) +--- + ChangeLog | 15 +++++++++++++++ + gtkdoc-mkhtml.in | 12 ++++++------ + tests/Makefile.am | 4 +++- + tests/gtk-doc.make | 12 ++++++------ + tests/gtk-doc.notmpl.make | 10 +++++----- + tests/gtkdoctest.sh | 2 +- + 6 files changed, 36 insertions(+), 19 deletions(-) + +diff --git a/ChangeLog b/ChangeLog +index 63fa517..bc14efa 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,3 +1,18 @@ ++2009-01-04 Stefan Kost <ensonic@users.sf.net> ++ ++ * tests/gtk-doc.make: ++ * tests/gtk-doc.notmpl.make: ++ Now aall tests pass. ++ ++2009-01-04 Stefan Kost <ensonic@users.sf.net> ++ ++ * gtkdoc-mkhtml.in: ++ * tests/Makefile.am: ++ * tests/gtk-doc.make: ++ * tests/gtk-doc.notmpl.make: ++ * tests/gtkdoctest.sh: ++ Fix running tests, if no gtk-doc is installed yet. ++ + 2008-12-01 Stefan Kost <ensonic@users.sf.net> + + patch by: Matthias Clasen <mclasen@redhat.com> +diff --git a/gtkdoc-mkhtml.in b/gtkdoc-mkhtml.in +index 1671cf0..d18b10e 100644 +--- a/gtkdoc-mkhtml.in ++++ b/gtkdoc-mkhtml.in +@@ -29,16 +29,16 @@ shift + document=$1 + shift + +-# FIXME: this is a hack to run uninstalled +-if test "x$0" = "x../../../gtkdoc-mkhtml" ; then +- # uninstalled +- gtkdocdir=`dirname $0` +-else +- # installed ++# FIXME: this is a hack to detect uninstalled ++if test "x$0" = "x@prefix@/bin/gtkdoc-mkhtml" ; then ++ #echo "installed" + # the first two are needed to resolve datadir + prefix=@prefix@ + datarootdir=@datarootdir@ + gtkdocdir=@datadir@/gtk-doc/data ++else ++ #echo "uninstalled" ++ gtkdocdir=`dirname $0` + fi + + if head -n 1 $document | grep "<?xml" > /dev/null; then +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 4281c5c..1b05e7a 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -5,7 +5,9 @@ SUBDIRS = gobject bugs annotations . + if BUILD_TESTS + + TESTS = gobject.sh bugs.sh annotations.sh +-TESTS_ENVIRONMENT = PATH=$(top_builddir):$(srcdir):$(PATH) ++TESTS_ENVIRONMENT = \ ++ PATH=$(abs_top_builddir):$(srcdir):$(PATH) \ ++ PERL5LIB=$(abs_top_builddir):$(PERL5LIB) + + endif + +diff --git a/tests/gtk-doc.make b/tests/gtk-doc.make +index 1c37e9b..b18c405 100644 +--- a/tests/gtk-doc.make ++++ b/tests/gtk-doc.make +@@ -59,10 +59,10 @@ $(REPORT_FILES): sgml-build.stamp + scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) + @echo 'gtk-doc: Scanning header files' + @-chmod -R u+w $(srcdir) +- @PATH=$(top_builddir):$(PATH) PERL5LIB=$(top_builddir):$(PERL5LIB) && cd $(srcdir) && \ ++ @cd $(srcdir) && PATH=$(abs_top_builddir):$(PATH) PERL5LIB=$(abs_top_builddir):$(PERL5LIB) \ + gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES) + if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \ +- CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" $(top_builddir)/gtkdoc-scangobj --module=$(DOC_MODULE) --output-dir=$(srcdir) $(SCANGOBJ_OPTIONS); \ ++ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" PATH=$(abs_top_builddir):$(PATH) PERL5LIB=$(abs_top_builddir):$(PERL5LIB) gtkdoc-scangobj --module=$(DOC_MODULE) --output-dir=$(srcdir) $(SCANGOBJ_OPTIONS); \ + else \ + cd $(srcdir) ; \ + for i in $(SCANOBJ_FILES) ; do \ +@@ -79,7 +79,7 @@ $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE) + tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt + @echo 'gtk-doc: Rebuilding template files' + @-chmod -R u+w $(srcdir) +- @PATH=$(top_builddir):$(PATH) PERL5LIB=$(top_builddir):$(PERL5LIB) && cd $(srcdir) && \ ++ @cd $(srcdir) && PATH=$(abs_top_builddir):$(PATH) PERL5LIB=$(abs_top_builddir):$(PERL5LIB) \ + gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS) + touch tmpl-build.stamp + +@@ -94,7 +94,7 @@ tmpl/*.sgml: + sgml-build.stamp: tmpl.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files) + @echo 'gtk-doc: Building XML' + @-chmod -R u+w $(srcdir) +- @PATH=$(top_builddir):$(PATH) PERL5LIB=$(top_builddir):$(PERL5LIB) && cd $(srcdir) && \ ++ @cd $(srcdir) && PATH=$(abs_top_builddir):$(PATH) PERL5LIB=$(abs_top_builddir):$(PERL5LIB) \ + gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS) + touch sgml-build.stamp + +@@ -108,11 +108,11 @@ html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) + @-chmod -R u+w $(srcdir) + rm -rf $(srcdir)/html + mkdir $(srcdir)/html +- @PATH=$(top_builddir):$(PATH) PERL5LIB=$(top_builddir):$(PERL5LIB) && cd $(srcdir)/html && \ ++ @cd $(srcdir)/html && PATH=$(abs_top_builddir):$(PATH) PERL5LIB=$(abs_top_builddir):$(PERL5LIB) \ + gtkdoc-mkhtml --path="$(srcdir)" $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) $(MKHTML_OPTIONS) + test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html ) + @echo 'gtk-doc: Fixing cross-references' +- @PATH=$(top_builddir):$(PATH) PERL5LIB=$(top_builddir):$(PERL5LIB) && cd $(srcdir) && \ ++ @cd $(srcdir) && PATH=$(abs_top_builddir):$(PATH) PERL5LIB=$(abs_top_builddir):$(PERL5LIB) \ + gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) + touch html-build.stamp + +diff --git a/tests/gtk-doc.notmpl.make b/tests/gtk-doc.notmpl.make +index 1f4c518..46bdb41 100644 +--- a/tests/gtk-doc.notmpl.make ++++ b/tests/gtk-doc.notmpl.make +@@ -59,10 +59,10 @@ $(REPORT_FILES): sgml-build.stamp + scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) + @echo 'gtk-doc: Scanning header files' + @-chmod -R u+w $(srcdir) +- @PATH=$(top_builddir):$(PATH) PERL5LIB=$(top_builddir):$(PERL5LIB) && cd $(srcdir) && \ ++ @cd $(srcdir) && PATH=$(abs_top_builddir):$(PATH) PERL5LIB=$(abs_top_builddir):$(PERL5LIB) \ + gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES) + if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \ +- CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" $(top_builddir)/gtkdoc-scangobj --module=$(DOC_MODULE) --output-dir=$(srcdir) $(SCANGOBJ_OPTIONS); \ ++ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" PATH=$(abs_top_builddir):$(PATH) PERL5LIB=$(abs_top_builddir):$(PERL5LIB) gtkdoc-scangobj --module=$(DOC_MODULE) --output-dir=$(srcdir) $(SCANGOBJ_OPTIONS); \ + else \ + cd $(srcdir) ; \ + for i in $(SCANOBJ_FILES) ; do \ +@@ -79,7 +79,7 @@ $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE) + sgml-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) + @echo 'gtk-doc: Building XML' + @-chmod -R u+w $(srcdir) +- @PATH=$(top_builddir):$(PATH) PERL5LIB=$(top_builddir):$(PERL5LIB) && cd $(srcdir) && \ ++ @cd $(srcdir) && PATH=$(abs_top_builddir):$(PATH) PERL5LIB=$(abs_top_builddir):$(PERL5LIB) \ + gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS) + touch sgml-build.stamp + +@@ -93,11 +93,11 @@ html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) + @-chmod -R u+w $(srcdir) + rm -rf $(srcdir)/html + mkdir $(srcdir)/html +- @PATH=$(top_builddir):$(PATH) PERL5LIB=$(top_builddir):$(PERL5LIB) && cd $(srcdir)/html && \ ++ @cd $(srcdir)/html && PATH=$(abs_top_builddir):$(PATH) PERL5LIB=$(abs_top_builddir):$(PERL5LIB) \ + gtkdoc-mkhtml --path="$(srcdir)" $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) $(MKHTML_OPTIONS) + test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html ) + @echo 'gtk-doc: Fixing cross-references' +- @PATH=$(top_builddir):$(PATH) PERL5LIB=$(top_builddir):$(PERL5LIB) && cd $(srcdir) && \ ++ @cd $(srcdir) && PATH=$(abs_top_builddir):$(PATH) PERL5LIB=$(abs_top_builddir):$(PERL5LIB) \ + gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) + touch html-build.stamp + +diff --git a/tests/gtkdoctest.sh b/tests/gtkdoctest.sh +index 2b92d57..694c4c5 100755 +--- a/tests/gtkdoctest.sh ++++ b/tests/gtkdoctest.sh +@@ -3,7 +3,7 @@ + suite=$1 + dir=`dirname $0` + +-PATH=`pwd`:$PATH PERL5LIB=`pwd`:$PERL5LIB && cd $dir/$suite/docs && gtkdoc-check ++cd $dir/$suite/docs && gtkdoc-check + + # xmllint --noout --nonet --schema ../devhelp2.xsd ./bugs/docs/html/tester.devhelp2 + # +-- +1.6.1.3 + diff --git a/dev-util/gtk-doc/gtk-doc-1.10-r1.ebuild b/dev-util/gtk-doc/gtk-doc-1.11.ebuild index fb997deeedcb..b2d9dfc6e80e 100644 --- a/dev-util/gtk-doc/gtk-doc-1.10-r1.ebuild +++ b/dev-util/gtk-doc/gtk-doc-1.11.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 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.10-r1.ebuild,v 1.7 2008/06/15 22:21:12 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.11.ebuild,v 1.1 2009/05/04 00:29:10 leio Exp $ inherit eutils elisp-common gnome2 @@ -9,40 +9,45 @@ 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 ~sparc-fbsd x86 ~x86-fbsd" -IUSE="doc emacs" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="debug doc emacs" 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.1.2 + ~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 )" DEPEND="${RDEPEND} - =dev-util/gtk-doc-am-${PV}* + ~dev-util/gtk-doc-am-${PV} >=dev-util/pkgconfig-0.19 - >=app-text/scrollkeeper-0.3.5" + >=app-text/scrollkeeper-0.3.14 + >=app-text/gnome-doc-utils-0.3.2" SITEFILE=61${PN}-gentoo.el DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO" -# Revisit this in next version. Might be related to upstream bug 521784 and/or 485806 -RESTRICT="test" - src_unpack() { gnome2_src_unpack # Remove global Emacs keybindings. - epatch "${FILESDIR}"/${PN}-1.8-emacs-keybindings.patch + epatch "${FILESDIR}/${PN}-1.8-emacs-keybindings.patch" # Don't install gtk-doc.m4; it's in gtk-doc-am now - epatch "${FILESDIR}"/${PN}-1.10-no-m4.patch + epatch "${FILESDIR}/${PN}-1.10-no-m4.patch" + + # Fix index-id generation for child and style properties. Upstream #562064 + epatch "${FILESDIR}/${P}-fix-index-id-gen.patch" + # Upstream test run fixes when no gtk-doc installed yet + epatch "${FILESDIR}/${P}-tests-fixes.patch" + # Upstream patch for fixing quoting of filenames with spaces, bug #263372 + epatch "${FILESDIR}/${P}-quote-filenames-with-space.patch" } src_compile() { diff --git a/dev-util/gtk-doc/gtk-doc-1.8-r2.ebuild b/dev-util/gtk-doc/gtk-doc-1.8-r2.ebuild deleted file mode 100644 index d12821ced1bd..000000000000 --- a/dev-util/gtk-doc/gtk-doc-1.8-r2.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2008 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.8-r2.ebuild,v 1.4 2008/06/15 22:21:12 eva Exp $ - -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 ~sparc-fbsd x86 ~x86-fbsd" -IUSE="doc emacs" - -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.1.2 - app-text/docbook-xsl-stylesheets - ~app-text/docbook-sgml-dtd-3.0 - >=app-text/docbook-dsssl-stylesheets-1.40 - emacs? ( virtual/emacs )" - -DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.19 - >=app-text/scrollkeeper-0.3.5 - !dev-util/gtk-doc-am" - -SITEFILE=61${PN}-gentoo.el - -DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO" - -src_unpack() { - gnome2_src_unpack - - # Remove global Emacs keybindings. - epatch "${FILESDIR}"/${P}-emacs-keybindings.patch -} - -src_compile() { - gnome2_src_compile - - use emacs && elisp-compile tools/gtk-doc.el -} - -src_install() { - gnome2_src_install - - 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 -} |