* [gentoo-commits] proj/gnome:master commit in: app-text/gtkspell/, app-text/gtkspell/files/3.0.0_pre20110814/
@ 2011-10-12 22:17 Alexandre Restovtsev
0 siblings, 0 replies; only message in thread
From: Alexandre Restovtsev @ 2011-10-12 22:17 UTC (permalink / raw
To: gentoo-commits
commit: 489558827608dcf721386f35bb3cf209c3de8e3e
Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Wed Oct 12 22:00:34 2011 +0000
Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Wed Oct 12 22:00:34 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=48955882
app-text/gtkspell: add 3.0.0_pre20110814
Add gtk3 version of gtkspell by applying upstream hg patches to the old
2.0.16 tarball. Needed for spell checking support in gtranslator.
---
.../3.0.0_pre20110814/0001-bump-versions.patch | 39 +++++
.../0002-use-dev-as-the-unreleased-version.patch | 31 ++++
.../0003-gtk-doc-1.17-sections.patch | 41 +++++
.../0004-use-gtk_bin_get_child.patch | 24 +++
.../0005-major-version-bump-to-3.0.0+dev.patch | 160 ++++++++++++++++++++
.../files/3.0.0_pre20110814/gtkspell-3.0.pc.in | 13 ++
.../files/3.0.0_pre20110814/gtkspell3-docs.sgml | 26 +++
.../files/3.0.0_pre20110814/gtkspell3-sections.txt | 23 +++
.../gtkspell/gtkspell-3.0.0_pre20110814.ebuild | 57 +++++++
9 files changed, 414 insertions(+), 0 deletions(-)
diff --git a/app-text/gtkspell/files/3.0.0_pre20110814/0001-bump-versions.patch b/app-text/gtkspell/files/3.0.0_pre20110814/0001-bump-versions.patch
new file mode 100644
index 0000000..701ef86
--- /dev/null
+++ b/app-text/gtkspell/files/3.0.0_pre20110814/0001-bump-versions.patch
@@ -0,0 +1,39 @@
+
+# HG changeset patch
+# User datallah
+# Date 1256267920 0
+# Node ID 4bc5268ecca31e480fe37e4fd9c47f3aa45d13d8
+# Parent 260df328de5de42e5dc186a8b383b688a4329106
+bump versions
+
+diff -r 260df328de5d -r 4bc5268ecca3 ChangeLog
+--- a/ChangeLog Fri Oct 23 02:54:23 2009 +0000
++++ b/ChangeLog Fri Oct 23 03:18:40 2009 +0000
+@@ -1,3 +1,5 @@
++version 2.0.16+cvs (????-??-??):
++
+ version 2.0.16 (2009-10-22):
+ * Additional and updated translations (see po/ChangeLog).
+ * Fix Bug #2431005 Language codes that contain "C" (e.g. "cs_CZ")
+diff -r 260df328de5d -r 4bc5268ecca3 configure.ac
+--- a/configure.ac Fri Oct 23 02:54:23 2009 +0000
++++ b/configure.ac Fri Oct 23 03:18:40 2009 +0000
+@@ -1,7 +1,7 @@
+ dnl Process this file with autoconf to produce a configure script.
+
+ AC_PREREQ(2.57)
+-AC_INIT([gtkspell],[2.0.16],[gtkspell-devel@lists.sourceforge.net])
++AC_INIT([gtkspell],[2.0.16+cvs],[gtkspell-devel@lists.sourceforge.net])
+ dnl N.B. After 0.40, please change to `0.40+cvs' instead of `0.41cvs'.
+ dnl Rationale: (i) placate simple version comparison software such as
+ dnl `dpkg --compare-versions'. (ii) We don't always know what the next
+diff -r 260df328de5d -r 4bc5268ecca3 po/ChangeLog
+--- a/po/ChangeLog Fri Oct 23 02:54:23 2009 +0000
++++ b/po/ChangeLog Fri Oct 23 03:18:40 2009 +0000
+@@ -1,3 +1,5 @@
++version 2.0.16+cvs:
++
+ version 2.0.16:
+ * Afrikaans translation added (Dwayne Bailey)
+ * Albanian translation added (Besnik Bleta)
+
diff --git a/app-text/gtkspell/files/3.0.0_pre20110814/0002-use-dev-as-the-unreleased-version.patch b/app-text/gtkspell/files/3.0.0_pre20110814/0002-use-dev-as-the-unreleased-version.patch
new file mode 100644
index 0000000..937d315
--- /dev/null
+++ b/app-text/gtkspell/files/3.0.0_pre20110814/0002-use-dev-as-the-unreleased-version.patch
@@ -0,0 +1,31 @@
+
+# HG changeset patch
+# User Daniel Atallah <datallah@users.sf.net>
+# Date 1313371632 14400
+# Node ID 3a74f971c6875f88649c8f0fcbaba8fbb8bf1d11
+# Parent ade24f79936d8bdf798ee31eb7682efec4178932
+Use "dev" as the unreleased version suffix instead of "cvs".
+
+diff -r ade24f79936d -r 3a74f971c687 configure.ac
+--- a/configure.ac Sun Aug 14 21:26:28 2011 -0400
++++ b/configure.ac Sun Aug 14 21:27:12 2011 -0400
+@@ -1,8 +1,8 @@
+ dnl Process this file with autoconf to produce a configure script.
+
+ AC_PREREQ(2.57)
+-AC_INIT([gtkspell],[2.0.16+cvs],[gtkspell-devel@lists.sourceforge.net])
+-dnl N.B. After 0.40, please change to `0.40+cvs' instead of `0.41cvs'.
++AC_INIT([gtkspell],[2.0.16+dev],[gtkspell-devel@lists.sourceforge.net])
++dnl N.B. After 0.40, please change to `0.40+dev' instead of `0.41dev'.
+ dnl Rationale: (i) placate simple version comparison software such as
+ dnl `dpkg --compare-versions'. (ii) We don't always know what the next
+ dnl version is going to be called until about the time we release it
+@@ -32,7 +32,6 @@
+ # [AC_MSG_WARN([Enabling word-breaking workarounds since pango < 1.8.0])])
+
+ # gtk-doc check:
+-# gtk-doc check:
+ # from http://cvs.gnome.org/lxr/source/gtk-doc/examples/configure.in
+ AC_ARG_WITH(html-dir, AC_HELP_STRING([--with-html-dir=PATH],[path to installed docs]))
+
+
diff --git a/app-text/gtkspell/files/3.0.0_pre20110814/0003-gtk-doc-1.17-sections.patch b/app-text/gtkspell/files/3.0.0_pre20110814/0003-gtk-doc-1.17-sections.patch
new file mode 100644
index 0000000..f2d7949
--- /dev/null
+++ b/app-text/gtkspell/files/3.0.0_pre20110814/0003-gtk-doc-1.17-sections.patch
@@ -0,0 +1,41 @@
+
+# HG changeset patch
+# User Daniel Atallah <datallah@users.sf.net>
+# Date 1313371966 14400
+# Node ID 56a41f3309b4c6b9a2ffed4c1ac19597ab6c1177
+# Parent 11db87592868771847fd7c64fd5573c11b51baf8
+The version of gtk-doc that I have (1.17) added these new sections
+
+diff -r 11db87592868 -r 56a41f3309b4 docs/tmpl/deprecated.sgml
+--- a/docs/tmpl/deprecated.sgml Sun Aug 14 21:29:26 2011 -0400
++++ b/docs/tmpl/deprecated.sgml Sun Aug 14 21:32:46 2011 -0400
+@@ -17,11 +17,15 @@
+ <!-- ##### SECTION Stability_Level ##### -->
+
+
++<!-- ##### SECTION Image ##### -->
++
++
+ <!-- ##### FUNCTION gtkspell_init ##### -->
+ <para>
+
+ </para>
+
++@void:
+ @Returns:
+
+
+diff -r 11db87592868 -r 56a41f3309b4 docs/tmpl/gtkspell.sgml
+--- a/docs/tmpl/gtkspell.sgml Sun Aug 14 21:29:26 2011 -0400
++++ b/docs/tmpl/gtkspell.sgml Sun Aug 14 21:32:46 2011 -0400
+@@ -17,6 +17,9 @@
+ <!-- ##### SECTION Stability_Level ##### -->
+
+
++<!-- ##### SECTION Image ##### -->
++
++
+ <!-- ##### STRUCT GtkSpell ##### -->
+ <para>
+ The opaque GtkSpell object. It is created with gtkspell_new_attach() and
+
diff --git a/app-text/gtkspell/files/3.0.0_pre20110814/0004-use-gtk_bin_get_child.patch b/app-text/gtkspell/files/3.0.0_pre20110814/0004-use-gtk_bin_get_child.patch
new file mode 100644
index 0000000..2d0ad09
--- /dev/null
+++ b/app-text/gtkspell/files/3.0.0_pre20110814/0004-use-gtk_bin_get_child.patch
@@ -0,0 +1,24 @@
+
+# HG changeset patch
+# User Peter Bloomfield <peterbloomfield@bellsouth.net>
+# Date 1313373015 14400
+# Node ID 1f70e6de755c13c5c2e555935725c1dafd258d6a
+# Parent 56a41f3309b4c6b9a2ffed4c1ac19597ab6c1177
+Use gtk_bin_get_child instead of accessing the struct member directly
+
+This is the only code change needed to compile with GTK3. There are some build
+changes needed too, but those will happen in a soon-to-be-created branch.
+
+diff -r 56a41f3309b4 -r 1f70e6de755c gtkspell/gtkspell.c
+--- a/gtkspell/gtkspell.c Sun Aug 14 21:32:46 2011 -0400
++++ b/gtkspell/gtkspell.c Sun Aug 14 21:50:15 2011 -0400
+@@ -310,7 +310,7 @@
+
+ get_word_extents_from_mark(spell->buffer, &start, &end, spell->mark_click);
+ oldword = gtk_text_buffer_get_text(spell->buffer, &start, &end, FALSE);
+- newword = gtk_label_get_text(GTK_LABEL(GTK_BIN(menuitem)->child));
++ newword = gtk_label_get_text(GTK_LABEL(gtk_bin_get_child(GTK_BIN(menuitem))));
+
+ if (debug) {
+ g_print("old word: '%s'\n", oldword);
+
diff --git a/app-text/gtkspell/files/3.0.0_pre20110814/0005-major-version-bump-to-3.0.0+dev.patch b/app-text/gtkspell/files/3.0.0_pre20110814/0005-major-version-bump-to-3.0.0+dev.patch
new file mode 100644
index 0000000..8f53648
--- /dev/null
+++ b/app-text/gtkspell/files/3.0.0_pre20110814/0005-major-version-bump-to-3.0.0+dev.patch
@@ -0,0 +1,160 @@
+
+# HG changeset patch
+# User Daniel Atallah <datallah@users.sf.net>
+# Date 1313379074 14400
+# Node ID e5e95e6208f9db92a59b7db78de55ab55a80cc6c
+# Parent 1f70e6de755c13c5c2e555935725c1dafd258d6a
+Major version bump to 3.0.0+dev to support GTK3.
+
+Most of this is based on the work of Peter Bloomfield and Ken Vandine.
+This will install alongside gtkspell 2.x.
+
+[Alexandre Rostovtsev <tetromino@gmail.com>: adjust for epatch compat]
+
+diff -r 1f70e6de755c -r e5e95e6208f9 ChangeLog
+--- a/ChangeLog Sun Aug 14 21:50:15 2011 -0400
++++ b/ChangeLog Sun Aug 14 23:31:14 2011 -0400
+@@ -1,4 +1,5 @@
+-version 2.0.16+cvs (????-??-??):
++version 3.0.0+dev (????-??-??):
++ * New major version to support GTK+ 3
+
+ version 2.0.16 (2009-10-22):
+ * Additional and updated translations (see po/ChangeLog).
+diff -r 1f70e6de755c -r e5e95e6208f9 Makefile.am
+--- a/Makefile.am Sun Aug 14 21:50:15 2011 -0400
++++ b/Makefile.am Sun Aug 14 23:31:14 2011 -0400
+@@ -1,8 +1,8 @@
+ SUBDIRS=gtkspell examples docs po
+
+ pkgconfigdir=$(libdir)/pkgconfig
+-pkgconfig_DATA=gtkspell-2.0.pc
+-DISTCLEANFILES=gtkspell-2.0.pc
++pkgconfig_DATA=gtkspell-3.0.pc
++DISTCLEANFILES=gtkspell-3.0.pc
+
+ dist-hook:
+ $(MAKE) -C "$(srcdir)/po" "$(GETTEXT_PACKAGE).pot"
+diff -r 1f70e6de755c -r e5e95e6208f9 README
+--- a/README Sun Aug 14 21:50:15 2011 -0400
++++ b/README Sun Aug 14 23:31:14 2011 -0400
+@@ -9,7 +9,7 @@
+ suggested replacements.
+
+ GtkSpell is a library, to be used by your software.
+-GtkSpell depends on GTK+ 2.0 (of course), and also on Enchant
++GtkSpell 3 depends on GTK+ 3.0 (of course), and also on Enchant
+ library, which can be found at http://www.abisource.com/projects/enchant/ .
+
+ For more information, see http://gtkspell.sf.net .
+diff -r 1f70e6de755c -r e5e95e6208f9 configure.ac
+--- a/configure.ac Sun Aug 14 21:50:15 2011 -0400
++++ b/configure.ac Sun Aug 14 23:31:14 2011 -0400
+@@ -1,7 +1,7 @@
+ dnl Process this file with autoconf to produce a configure script.
+
+ AC_PREREQ(2.57)
+-AC_INIT([gtkspell],[2.0.16+dev],[gtkspell-devel@lists.sourceforge.net])
++AC_INIT([gtkspell],[3.0.0+dev],[gtkspell-devel@lists.sourceforge.net])
+ dnl N.B. After 0.40, please change to `0.40+dev' instead of `0.41dev'.
+ dnl Rationale: (i) placate simple version comparison software such as
+ dnl `dpkg --compare-versions'. (ii) We don't always know what the next
+@@ -15,7 +15,7 @@
+ SPELLER_LIB=-lenchant
+
+ AC_SUBST(SPELLER_LIB)
+-GTKSPELL_PACKAGES=gtk+-2.0
++GTKSPELL_PACKAGES=gtk+-3.0
+ AC_SUBST(GTKSPELL_PACKAGES)
+ PKG_CHECK_MODULES(GTKSPELL, $GTKSPELL_PACKAGES enchant >= 0.4.0 )
+ AC_SUBST(GTKSPELL_CFLAGS)
+@@ -76,7 +76,7 @@
+ # gettext
+ ALL_LINGUAS="af be cs da de el eo es eu fi fr ga gl hu hy id it ja ky lt lv mn ms nb nl pl pt pt_BR rm ro ru rw sk sl sq sr sv th tr uk vi wa zh_CN zh_HK zh_TW"
+ AM_GLIB_GNU_GETTEXT
+-GETTEXT_PACKAGE=$PACKAGE
++GETTEXT_PACKAGE=gtkspell3
+ AC_SUBST(GETTEXT_PACKAGE)
+ AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["${GETTEXT_PACKAGE}"], [gettext domain])
+ IT_PROG_INTLTOOL([0.35.0])
+@@ -89,7 +89,7 @@
+
+ dnl AM_MAINTAINER_MODE
+
+-AC_CONFIG_FILES(Makefile gtkspell/Makefile examples/Makefile gtkspell-2.0.pc gtkspell.spec docs/Makefile po/Makefile.in)
++AC_CONFIG_FILES(Makefile gtkspell/Makefile examples/Makefile gtkspell-3.0.pc gtkspell.spec docs/Makefile po/Makefile.in)
+
+ GTK_DOC_CHECK(1.0)
+
+diff -r 1f70e6de755c -r e5e95e6208f9 docs/Makefile.am
+--- a/docs/Makefile.am Sun Aug 14 21:50:15 2011 -0400
++++ b/docs/Makefile.am Sun Aug 14 23:31:14 2011 -0400
+@@ -9,7 +9,7 @@
+ # of using the various options.
+
+ # The name of the module, e.g. 'glib'.
+-DOC_MODULE=gtkspell
++DOC_MODULE=gtkspell3
+
+ # Uncomment for versioned docs and specify the version of the module, e.g. '2'.
+ #DOC_MODULE_VERSION=2
+diff -r 1f70e6de755c -r e5e95e6208f9 examples/Makefile.am
+--- a/examples/Makefile.am Sun Aug 14 21:50:15 2011 -0400
++++ b/examples/Makefile.am Sun Aug 14 23:31:14 2011 -0400
+@@ -1,6 +1,6 @@
+ noinst_PROGRAMS = simple advanced
+ AM_CFLAGS = @GTKSPELL_CFLAGS@ -I$(top_builddir)
+ INCLUDES = -I$(top_srcdir)
+-LDADD = @GTKSPELL_LIBS@ $(top_builddir)/gtkspell/libgtkspell.la
++LDADD = @GTKSPELL_LIBS@ $(top_builddir)/gtkspell/libgtkspell-3.la
+ simple_SOURCES = simple.c
+ advanced_SOURCES = advanced.c
+diff -r 1f70e6de755c -r e5e95e6208f9 gtkspell.spec.in
+--- a/gtkspell.spec.in Sun Aug 14 21:50:15 2011 -0400
++++ b/gtkspell.spec.in Sun Aug 14 23:31:14 2011 -0400
+@@ -7,7 +7,7 @@
+ URL: http://gtkspell.sf.net/
+ BuildRoot: %{_tmppath}/%{name}-root
+ Requires: /sbin/ldconfig
+-Summary: GTK2 Spell Checker Interface Library.
++Summary: GTK3 Spell Checker Interface Library.
+ %description
+ GtkSpell provides MSWord/MacOSX-style highlighting of misspelled words
+ in a GtkTextView widget. Right-clicking a misspelled word pops up a
+@@ -51,7 +51,7 @@
+ %{_libdir}/*.la
+ %{_libdir}/*.so
+ %{_libdir}/pkgconfig/*
+-%{_includedir}/gtkspell-2.0
++%{_includedir}/gtkspell-3.0
+
+ %changelog
+ * Sat Oct 26 2002 Alex Converse
+diff -r 1f70e6de755c -r e5e95e6208f9 gtkspell/Makefile.am
+--- a/gtkspell/Makefile.am Sun Aug 14 21:50:15 2011 -0400
++++ b/gtkspell/Makefile.am Sun Aug 14 23:31:14 2011 -0400
+@@ -1,6 +1,6 @@
+-lib_LTLIBRARIES=libgtkspell.la
++lib_LTLIBRARIES=libgtkspell-3.la
+ AM_CFLAGS=@GTKSPELL_CFLAGS@ -DG_LOG_DOMAIN=\"gtkspell\" -DLOCALEDIR=\""$(datadir)/locale"\"
+-libgtkspell_la_LIBADD=@GTKSPELL_LIBS@ @SPELLER_LIB@
+-libgtkspell_la_includedir=$(includedir)/gtkspell-2.0/gtkspell
+-libgtkspell_la_include_HEADERS=gtkspell.h
+-libgtkspell_la_SOURCES=gtkspell.c deprecated.c gtkspell.h
++libgtkspell_3_la_LIBADD=@GTKSPELL_LIBS@ @SPELLER_LIB@
++libgtkspell_3_la_includedir=$(includedir)/gtkspell-3.0/gtkspell
++libgtkspell_3_la_include_HEADERS=gtkspell.h
++libgtkspell_3_la_SOURCES=gtkspell.c deprecated.c gtkspell.h
+diff -r 1f70e6de755c -r e5e95e6208f9 gtkspell/gtkspell.c
+--- a/gtkspell/gtkspell.c Sun Aug 14 21:50:15 2011 -0400
++++ b/gtkspell/gtkspell.c Sun Aug 14 23:31:14 2011 -0400
+@@ -11,7 +11,7 @@
+ #include "../config.h"
+ #include "gtkspell.h"
+
+-#define _(String) dgettext (PACKAGE, String)
++#define _(String) dgettext (GETTEXT_PACKAGE, String)
+
+ #define GTKSPELL_MISSPELLED_TAG "gtkspell-misspelled"
+
+
diff --git a/app-text/gtkspell/files/3.0.0_pre20110814/gtkspell-3.0.pc.in b/app-text/gtkspell/files/3.0.0_pre20110814/gtkspell-3.0.pc.in
new file mode 100644
index 0000000..2160894
--- /dev/null
+++ b/app-text/gtkspell/files/3.0.0_pre20110814/gtkspell-3.0.pc.in
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GTKSpell
+Description: GTK spelling library
+Version: @VERSION@
+Requires: @GTKSPELL_PACKAGES@
+Libs: -L${libdir} -lgtkspell-3
+Libs.private: @SPELLER_LIB@
+Cflags: -I${includedir}/gtkspell-3.0
+
diff --git a/app-text/gtkspell/files/3.0.0_pre20110814/gtkspell3-docs.sgml b/app-text/gtkspell/files/3.0.0_pre20110814/gtkspell3-docs.sgml
new file mode 100644
index 0000000..69736e8
--- /dev/null
+++ b/app-text/gtkspell/files/3.0.0_pre20110814/gtkspell3-docs.sgml
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!ENTITY gtkspell-gtkspell SYSTEM "xml/gtkspell.xml">
+<!ENTITY gtkspell-tutorial SYSTEM "tutorial.sgml">
+]>
+<!-- vim: set ts=8 sw=2 : -->
+<book id="index">
+ <bookinfo>
+ <title>GtkSpell Manual</title>
+ <author><firstname>Evan</firstname><surname>Martin</surname></author>
+ </bookinfo>
+
+ <part id="tutorial">
+ <title>Tutorial</title>
+ <partintro><para>GtkSpell is pretty simple to use. This tutorial
+ walks through the basic steps to incorporate GtkSpell into an application.
+ </para></partintro>
+ >kspell-tutorial;
+ </part>
+
+ <part id="reference">
+ <title>Function Reference</title>
+ >kspell-gtkspell;
+ </part>
+</book>
diff --git a/app-text/gtkspell/files/3.0.0_pre20110814/gtkspell3-sections.txt b/app-text/gtkspell/files/3.0.0_pre20110814/gtkspell3-sections.txt
new file mode 100644
index 0000000..65eb76d
--- /dev/null
+++ b/app-text/gtkspell/files/3.0.0_pre20110814/gtkspell3-sections.txt
@@ -0,0 +1,23 @@
+<INCLUDE>gtkspell/gtkspell.h</INCLUDE>
+
+<SECTION>
+<FILE>gtkspell</FILE>
+GtkSpell
+gtkspell_new_attach
+gtkspell_set_language
+gtkspell_recheck_all
+gtkspell_get_from_text_view
+gtkspell_detach
+GTKSPELL_ERROR
+GtkSpellError
+<SUBSECTION Private>
+gtkspell_error_quark
+</SECTION>
+
+<SECTION>
+<FILE>deprecated</FILE>
+gtkspell_init
+gtkspell_attach
+GTKSPELL_ERROR_PSPELL
+</SECTION>
+
diff --git a/app-text/gtkspell/gtkspell-3.0.0_pre20110814.ebuild b/app-text/gtkspell/gtkspell-3.0.0_pre20110814.ebuild
new file mode 100644
index 0000000..47c2755
--- /dev/null
+++ b/app-text/gtkspell/gtkspell-3.0.0_pre20110814.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/gtkspell/gtkspell-2.0.16.ebuild,v 1.9 2011/09/18 09:41:22 ssuominen Exp $
+
+EAPI="4"
+inherit autotools eutils
+
+DESCRIPTION="Spell checking widget for GTK"
+HOMEPAGE="http://gtkspell.sourceforge.net/"
+# gtkspell doesn't use sourceforge mirroring system it seems.
+SRC_URI="http://${PN}.sourceforge.net/download/${PN}-2.0.16.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
+IUSE="" #doc
+
+RDEPEND=">=app-text/enchant-1.1.6
+ x11-libs/gtk+:3
+ >=x11-libs/pango-1.8.0"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ >=dev-util/intltool-0.35.0
+
+ >=dev-util/gtk-doc-1.17
+ app-text/docbook-xml-dtd:4.2"
+# doc? ( >=dev-util/gtk-doc-1.17 app-text/docbook-xml-dtd:4.2 )
+
+DOCS=( AUTHORS ChangeLog README ) # NEWS file is empty
+S="${WORKDIR}/${PN}-2.0.16"
+
+src_prepare() {
+ # Apply upstream hg patches for gtk3 support
+ rm -f docs/gtkspell-{docs.sgml,sections.txt} gtkspell-2.0.pc.in || die "rm failed"
+ cp "${FILESDIR}/${PV}/gtkspell3-"{docs.sgml,sections.txt} docs || die "cp failed"
+ cp "${FILESDIR}/${PV}/gtkspell-3.0.pc.in" . || die "cp failed"
+ epatch "${FILESDIR}/${PV}"/*.patch
+
+ # Fix intltoolize broken file, see upstream #577133
+ sed -i -e "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" po/Makefile.in.in || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-static \
+ --enable-gtk-doc
+# $(use_enable doc gtk-doc)
+ # Must force-rebuild gtk-doc after the gtk3 patch, since the pre-built docs
+ # are for the gtk2 version.
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-12 22:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12 22:17 [gentoo-commits] proj/gnome:master commit in: app-text/gtkspell/, app-text/gtkspell/files/3.0.0_pre20110814/ Alexandre Restovtsev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox