summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2003-10-03 06:45:15 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2003-10-03 06:45:15 +0000
commitb59a73968ab7942ff94ea43e1a5f403dd7b7df59 (patch)
tree66f7c037a901465374c2e8547163dae1669d5832 /app-editors
parentNew revision of ESR's comparator utility (diff)
downloadgentoo-2-b59a73968ab7942ff94ea43e1a5f403dd7b7df59.tar.gz
gentoo-2-b59a73968ab7942ff94ea43e1a5f403dd7b7df59.tar.bz2
gentoo-2-b59a73968ab7942ff94ea43e1a5f403dd7b7df59.zip
New ebuild. Closes bug #27654
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/katoob/ChangeLog9
-rw-r--r--app-editors/katoob/Manifest2
-rw-r--r--app-editors/katoob/files/digest-katoob-0.3.51
-rw-r--r--app-editors/katoob/files/katoob-0.3.5-misc_fixes.patch45
-rw-r--r--app-editors/katoob/katoob-0.3.5.ebuild40
-rw-r--r--app-editors/katoob/metadata.xml5
6 files changed, 101 insertions, 1 deletions
diff --git a/app-editors/katoob/ChangeLog b/app-editors/katoob/ChangeLog
index 704303997958..f9416be9d22a 100644
--- a/app-editors/katoob/ChangeLog
+++ b/app-editors/katoob/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-editors/katoob
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/katoob/ChangeLog,v 1.2 2003/02/12 03:47:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/katoob/ChangeLog,v 1.3 2003/10/03 06:45:15 leonardop Exp $
+
+*katoob-0.3.5 (03 Oct 2003)
+
+ 03 Oct 2003; L. Boshell <leonardop@gentoo.org> katoob-0.3.5.ebuild :
+ New ebuild for latest katoob version. Includes a patch to fix some
+ compilation issues. Added metadata.xml. Thanks go to Ahmed F. and
+ Mohammed Sameer (katoob author) for his contributions on bug #27654.
*katoob-0.2.1 (20 Aug 2002)
diff --git a/app-editors/katoob/Manifest b/app-editors/katoob/Manifest
index 37d366ae9a5e..9024a0798941 100644
--- a/app-editors/katoob/Manifest
+++ b/app-editors/katoob/Manifest
@@ -1,3 +1,5 @@
MD5 c1f28e13bcd50d7b73d8cf187e6c50d1 ChangeLog 397
MD5 b9f2f102c0749e1ab690a641b0fb5aca katoob-0.2.1.ebuild 766
+MD5 05f244bd76a1d07e8b25e07c6c64c2c7 katoob-0.3.5.ebuild 856
MD5 7f9effad0494558c54b0a34098c7221f files/digest-katoob-0.2.1 64
+MD5 c88a179c14d6675ab576bdc563e9b093 files/digest-katoob-0.3.5 64
diff --git a/app-editors/katoob/files/digest-katoob-0.3.5 b/app-editors/katoob/files/digest-katoob-0.3.5
new file mode 100644
index 000000000000..62fc89034a0b
--- /dev/null
+++ b/app-editors/katoob/files/digest-katoob-0.3.5
@@ -0,0 +1 @@
+MD5 a05723c7aee914c51226270aa3d61ff9 katoob-0.3.5.tar.gz 427297
diff --git a/app-editors/katoob/files/katoob-0.3.5-misc_fixes.patch b/app-editors/katoob/files/katoob-0.3.5-misc_fixes.patch
new file mode 100644
index 000000000000..14dbfc567dea
--- /dev/null
+++ b/app-editors/katoob/files/katoob-0.3.5-misc_fixes.patch
@@ -0,0 +1,45 @@
+diff -NurB katoob-0.3.5-orig/src/katoobdocument.c katoob-0.3.5/src/katoobdocument.c
+--- katoob-0.3.5-orig/src/katoobdocument.c 2003-10-02 06:22:00.000000000 -0500
++++ katoob-0.3.5/src/katoobdocument.c 2003-10-02 06:31:50.000000000 -0500
+@@ -2836,10 +2836,12 @@
+ (GTK_TEXT_VIEW
+ (doc->priv->textview)->buffer),
+ FALSE);
++#ifdef HAVE_SPELL
+ if (config->spell_check)
+ {
+ katoob_document_enable_spell_checker (doc);
+ }
++#endif
+
+ katoob_document_set_bidi (doc, config->text_dir);
+ return;
+@@ -3027,7 +3029,9 @@
+ break;
+ }
+ }
++#ifdef HAVE_SPELL
+ katoob_document_disable_spell_checker (doc);
++#endif
+ katoob_document_set_bidi (doc, KATOOB_BIDI_LTR);
+ }
+
+diff -NurB katoob-0.3.5-orig/src/Makefile.in katoob-0.3.5/src/Makefile.in
+--- katoob-0.3.5-orig/src/Makefile.in 2003-10-02 06:22:00.000000000 -0500
++++ katoob-0.3.5/src/Makefile.in 2003-10-02 06:23:29.000000000 -0500
+@@ -134,11 +134,11 @@
+ EXTRA_DIST = katoobmarshalers.list
+
+ bin_PROGRAMS = katoob
+-INCLUDES = $(SPELL_CFLAGS) $(KATOOB_CFLAGS) $(HIGHLIGHT_CFLAGS) -I./fribidi/ \
+- $(PANGOFT2_CFLAGS)
++INCLUDES = $(PANGOFT2_CFLAGS) $(SPELL_CFLAGS) $(KATOOB_CFLAGS) \
++ $(HIGHLIGHT_CFLAGS) -I./fribidi/
+
+-katoob_LDADD = -L./fribidi -lfribidi $(SPELL_LIBS) $(KATOOB_LIBS) \
+- $(PANGOFT2_LIBS) $(HIGHLIGHT_LIBS) $(spell_cxx)
++katoob_LDADD = -L./fribidi -lfribidi $(PANGOFT2_LIBS) $(SPELL_LIBS) \
++ $(KATOOB_LIBS) $(HIGHLIGHT_LIBS) $(spell_cxx)
+
+
+ katoob_DEPENDENCIES = fribidi/libfribidi.la
diff --git a/app-editors/katoob/katoob-0.3.5.ebuild b/app-editors/katoob/katoob-0.3.5.ebuild
new file mode 100644
index 000000000000..2197793a1e9c
--- /dev/null
+++ b/app-editors/katoob/katoob-0.3.5.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/katoob/katoob-0.3.5.ebuild,v 1.1 2003/10/03 06:45:15 leonardop Exp $
+
+DESCRIPTION="Small text editor based on the GTK+ library 2.0"
+HOMEPAGE="http://www.arabeyes.org/project.php?proj=katoob"
+SRC_URI="mirror://sourceforge/arabeyes/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+SLOT="0"
+IUSE="debug spell"
+
+DEPEND=">=x11-libs/gtk+-2
+ x11-libs/gtksourceview"
+RDEPEND="spell? ( app-text/aspell )"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-misc_fixes.patch
+}
+
+src_compile() {
+ local myconf="--enable-highlight"
+
+ use debug && myconf="${myconf} --enable-debug"
+ use spell && myconf="${myconf} --enable-spell"
+
+ econf ${myconf}
+ emake || die "Compilation failed"
+}
+
+src_install() {
+ einstall
+ dodoc AUTHORS ChangeLog COPYING GPL.ar NEWS README RELEASE_NOTES \
+ THANKS TODO
+}
+
diff --git a/app-editors/katoob/metadata.xml b/app-editors/katoob/metadata.xml
new file mode 100644
index 000000000000..da6fd63d0085
--- /dev/null
+++ b/app-editors/katoob/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnome</herd>
+</pkgmetadata>