summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-01-25 10:04:57 +0000
committerSamuli Suominen <drac@gentoo.org>2008-01-25 10:04:57 +0000
commit3dd4c2a6fd5e5cafe85d9857520df01bb0d8e390 (patch)
treeb12d8f45bd2983c267a26e985bbee88484ec5a62 /app-editors
parentadd x11-themes/gtk-engines-mist to p.mask for removal (bug #204489) (diff)
downloadgentoo-2-3dd4c2a6fd5e5cafe85d9857520df01bb0d8e390.tar.gz
gentoo-2-3dd4c2a6fd5e5cafe85d9857520df01bb0d8e390.tar.bz2
gentoo-2-3dd4c2a6fd5e5cafe85d9857520df01bb0d8e390.zip
Version bump. Stop installing stripped binary. Include string.h where strlen is used, was hidden by forced -w in CFLAGS.
(Portage version: 2.1.4)
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/tea/ChangeLog10
-rw-r--r--app-editors/tea/files/digest-tea-17.5.43
-rw-r--r--app-editors/tea/files/tea-17.5.4-forced-cflags-and-compiler-warnings.patch39
-rw-r--r--app-editors/tea/tea-17.5.4.ebuild69
4 files changed, 120 insertions, 1 deletions
diff --git a/app-editors/tea/ChangeLog b/app-editors/tea/ChangeLog
index f821331bbd8d..e94e9b5d774e 100644
--- a/app-editors/tea/ChangeLog
+++ b/app-editors/tea/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-editors/tea
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/tea/ChangeLog,v 1.29 2008/01/07 19:59:59 welp Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/tea/ChangeLog,v 1.30 2008/01/25 10:04:56 drac Exp $
+
+*tea-17.5.4 (25 Jan 2008)
+
+ 25 Jan 2008; Samuli Suominen <drac@gentoo.org>
+ +files/tea-17.5.4-forced-cflags-and-compiler-warnings.patch,
+ +tea-17.5.4.ebuild:
+ Version bump. Stop installing stripped binary. Include string.h where strlen
+ is used, was hidden by forced -w in CFLAGS.
*tea-17.5.1 (07 Jan 2008)
diff --git a/app-editors/tea/files/digest-tea-17.5.4 b/app-editors/tea/files/digest-tea-17.5.4
new file mode 100644
index 000000000000..020ac11ffbb1
--- /dev/null
+++ b/app-editors/tea/files/digest-tea-17.5.4
@@ -0,0 +1,3 @@
+MD5 c3ded6abd0ded587dd8b42d8f1f1643a tea-17.5.4.tar.bz2 454905
+RMD160 a2d689247f09a144b70954b771a521de6f952d1b tea-17.5.4.tar.bz2 454905
+SHA256 99fdd3eb6ed1dd2f74f491262f585565ae60d2eb8e34fafe7fc10ac4228b6185 tea-17.5.4.tar.bz2 454905
diff --git a/app-editors/tea/files/tea-17.5.4-forced-cflags-and-compiler-warnings.patch b/app-editors/tea/files/tea-17.5.4-forced-cflags-and-compiler-warnings.patch
new file mode 100644
index 000000000000..9a6d7a7b278e
--- /dev/null
+++ b/app-editors/tea/files/tea-17.5.4-forced-cflags-and-compiler-warnings.patch
@@ -0,0 +1,39 @@
+diff -ur tea-17.5.4.orig/configure.in tea-17.5.4/configure.in
+--- tea-17.5.4.orig/configure.in 2008-01-12 15:20:33.000000000 +0200
++++ tea-17.5.4/configure.in 2008-01-25 12:00:38.000000000 +0200
+@@ -55,9 +55,9 @@
+ CFLAGS="$CFLAGS -DDARWIN -pipe"
+ else
+ if test -n "$enable_debug"; then
+- CFLAGS="$CFLAGS -w -pipe"
++ CFLAGS="$CFLAGS -g"
+ else
+- CFLAGS="$CFLAGS -w -s -pipe"
++ CFLAGS="$CFLAGS"
+ fi
+ fi
+
+diff -ur tea-17.5.4.orig/src/tea_options.c tea-17.5.4/src/tea_options.c
+--- tea-17.5.4.orig/src/tea_options.c 2008-01-11 16:05:42.000000000 +0200
++++ tea-17.5.4/src/tea_options.c 2008-01-25 11:32:36.000000000 +0200
+@@ -16,6 +16,8 @@
+ * *
+ ***************************************************************************/
+
++#include <string.h>
++
+ #ifdef HAVE_CONFIG_H
+ # include <config.h>
+ #endif
+diff -ur tea-17.5.4.orig/src/tea_spell.c tea-17.5.4/src/tea_spell.c
+--- tea-17.5.4.orig/src/tea_spell.c 2007-10-12 13:42:57.000000000 +0300
++++ tea-17.5.4/src/tea_spell.c 2008-01-25 11:32:17.000000000 +0200
+@@ -15,6 +15,8 @@
+ * *
+ ***************************************************************************/
+
++#include <string.h>
++
+ #ifdef HAVE_CONFIG_H
+ # include <config.h>
+ #endif
diff --git a/app-editors/tea/tea-17.5.4.ebuild b/app-editors/tea/tea-17.5.4.ebuild
new file mode 100644
index 000000000000..75f900ebf71a
--- /dev/null
+++ b/app-editors/tea/tea-17.5.4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/tea/tea-17.5.4.ebuild,v 1.1 2008/01/25 10:04:56 drac Exp $
+
+inherit autotools eutils
+
+DESCRIPTION="Small, lightweight GTK+ text editor"
+HOMEPAGE="http://tea-editor.sourceforge.net"
+SRC_URI="mirror://sourceforge/tea-editor/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~x86 ~x86-fbsd"
+IUSE="enchant gnome hacking ipv6 spell"
+
+RDEPEND=">=x11-libs/gtk+-2
+ x11-libs/libX11
+ gnome? ( >=x11-libs/gtksourceview-2
+ gnome-base/gnome-vfs )"
+DEPEND="${RDEPEND}
+ spell? ( app-text/aspell )
+ enchant? ( app-text/enchant )
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-forced-cflags-and-compiler-warnings.patch
+ eautoconf
+}
+
+src_compile() {
+ local myconf
+
+ if use hacking; then
+ myconf="${myconf} --enable-hacking"
+ fi
+ if ! use gnome; then
+ myconf="${myconf} --enable-legacy"
+ fi
+ if use enchant; then
+ myconf="${myconf} --enable-enchant"
+ fi
+
+ econf \
+ $(use_enable ipv6) \
+ ${myconf} || die "econf failed!"
+
+ emake || die "emake failed!"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed!"
+
+ make_desktop_entry tea Tea /usr/share/tea/pixmaps/tea_icon_v2.png Development
+
+# insinto /usr/share/doc/tea/
+# doins AUTHORS COPYING NEWS README TODO ChangeLog doc/*
+
+# insinto /usr/share/pixmaps/
+# doins pixmaps/*
+}
+
+pkg_postinst() {
+ if use spell ; then
+ elog "To get full spellchecking functuality, ensure that you install"
+ elog "the relevant language pack(s)"
+ fi
+}